Skip to main content
added 163 characters in body
Source Link
onemouth
  • 2.3k
  • 17
  • 33

openssl passwd -1 implements UNIX crypt(3) algorithm. The implementation (md5crypt) resides in apps/passwd.c. As a result, the implementation code is not part of thea OpenSSL digest library function. As the function comment says:

MD5-based password algorithm (should probably be available as a library function; then the static buffer would not be acceptable).

So you will not find it in OpenSSLOpenSSL::Digest.

However, you may find other libraries useful, such as unix-crypt.

openssl passwd -1 implements UNIX crypt(3) algorithm. The implementation (md5crypt) resides in apps/passwd.c. As a result, the implementation code is not part of the OpenSSL digest library. So you will not find it in OpenSSL::Digest.

However, you may find other libraries useful, such as unix-crypt.

openssl passwd -1 implements UNIX crypt(3) algorithm. The implementation (md5crypt) resides in apps/passwd.c. As a result, the implementation code is not a OpenSSL library function. As the function comment says:

MD5-based password algorithm (should probably be available as a library function; then the static buffer would not be acceptable).

So you will not find it in OpenSSL::Digest.

However, you may find other libraries useful, such as unix-crypt.

Source Link
onemouth
  • 2.3k
  • 17
  • 33

openssl passwd -1 implements UNIX crypt(3) algorithm. The implementation (md5crypt) resides in apps/passwd.c. As a result, the implementation code is not part of the OpenSSL digest library. So you will not find it in OpenSSL::Digest.

However, you may find other libraries useful, such as unix-crypt.