The basic crypt algorithm
[Source]
# File lib/htauth/crypt.rb, line 8 8: def initialize(params = {}) 9: @salt = params[:salt] || params['salt'] || gen_salt 10: end
# File lib/htauth/crypt.rb, line 16 16: def encode(password) 17: password.crypt(@salt) 18: end
# File lib/htauth/crypt.rb, line 12 12: def prefix 13: "" 14: end
[Validate]