Methods

Class Index [+]

Quicksearch

ActiveLdap::UserPassword::Salt

Constants

CHARS

Public Instance Methods

generate(length) click to toggle source
    # File lib/active_ldap/user_password.rb, line 85
85:       def generate(length)
86:         salt = ""
87:         length.times {salt << CHARS[rand(CHARS.length)]}
88:         salt
89:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.