# File lib/active_ldap/user_password.rb, line 86 def generate(length) salt = "" length.times {salt << CHARS[rand(CHARS.length)]} salt end