Class Net::LDAP::Password
In: lib/net/ldap/password.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.

[Validate]