diff options
author | markm <markm@FreeBSD.org> | 2003-06-02 19:29:27 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2003-06-02 19:29:27 +0000 |
commit | ec27a748079eea5188cc0b53a46b236429761fb1 (patch) | |
tree | 8e6b976dc658b3a9d034ea4211cf590ed8f6af57 /lib/libcrypt/crypt.c | |
parent | c9e0f045e69296620fe503e1cdd62d75d4a1f218 (diff) | |
download | FreeBSD-src-ec27a748079eea5188cc0b53a46b236429761fb1.zip FreeBSD-src-ec27a748079eea5188cc0b53a46b236429761fb1.tar.gz |
Add a new hash type. This "NT-hash" is compatible with the password
hashing scheme used in Microsoft's NT machines. IT IS NOT SECURE!
DON'T USE IT! This is for the use of competent sysadmins only!
Submitted by: Michael Bretterklieber
Diffstat (limited to 'lib/libcrypt/crypt.c')
-rw-r--r-- | lib/libcrypt/crypt.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libcrypt/crypt.c b/lib/libcrypt/crypt.c index a41ee85..a6b91f5 100644 --- a/lib/libcrypt/crypt.c +++ b/lib/libcrypt/crypt.c @@ -58,6 +58,11 @@ static const struct { }, #endif { + "nth", + crypt_nthash, + "$3$" + }, + { NULL, NULL, NULL |