[j-nsp] Format of SHA1 Passwords
Chip Marshall
chip at 2bithacker.net
Tue Dec 3 11:46:43 EST 2013
On 2013-12-03, Chris Morrow <morrowc at ops-netman.net> sent:
> > I get things like "$sha1$19418$aoTClyGU$cix8MhZsXwG6OrwUgeHAoOA8f.AX"
> > where it appears to have the format, some number, what I think is
> > the salt, and then the hash.
> >
> > Anyone know how these things are calculated?
>
> we do this calculation.... I believe your intended format is:
> $1$salt$hash
>
> or that seems to be what our code does.
That's for MD5 passwords. I have a requirement to use SHA-1.
--
Chip Marshall <chip at 2bithacker.net>
http://2bithacker.net/
More information about the juniper-nsp
mailing list