Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: nse crypto
From: David Fifield <david () bamsoftware com>
Date: Sat, 12 Mar 2011 18:09:08 -0800

On Sat, Mar 12, 2011 at 05:56:30PM +0200, Toni Ruottu wrote:
Here is a new version that uses the brute library. I did not notice
any speed ups, but using the library seems a good idea anyway, as it
makes this work similarly to other scripts.

Awesome, good work. I've committed it. By the way, Toni, the style of
this script is looking really good.

You might be able to replace the ip6tobin function with the standard
function ipOps.ip_to_bin.

I don't understand why switching to the brute library doesn't speed it
up. Using multiple threads should allow costly operations like network
roundtrips to happen in parallel. At first I thought it might be the key
derivation function, involving 1,000 rounds of SHA-256, but it hardly
affects the CPU in my quick test.
take close to a second.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault