Class Net::LDAP::Password
In: lib/net/ldap/psw.rb
Parent: Object

Methods

generate  

Public Class methods

Generate a password-hash suitable for inclusion in an LDAP attribute. Pass a hash type (currently supported: :md5 and :sha) and a plaintext password. This function will return a hashed representation.

STUB: This is here to fulfill the requirements of an RFC, which one?

TODO, gotta do salted-sha and (maybe) salted-md5. Should we provide sha1 as a synonym for sha1? I vote no because then should you also provide ssha1 for symmetry?

[Validate]