Skip to content

Commit 193f76e

Browse files
author
blackhedd
committed
documentation
1 parent 6f2d527 commit 193f76e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/net/ldap/psw.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ class Password
3434
class << self
3535

3636
# Generate a password-hash suitable for inclusion in an LDAP attribute.
37+
# Pass a hash type (currently supported: :md5 and :sha) and a plaintext
38+
# password. This function will return a hashed representation.
3739
# STUB: This is here to fulfill the requirements of an RFC, which one?
3840
# TODO, gotta do salted-sha and (maybe) salted-md5.
3941
# Should we provide sha1 as a synonym for sha1? I vote no because then

0 commit comments

Comments
 (0)