class UnixCrypt::DES

Public Class Methods

hash(*args) click to toggle source
# File lib/unix_crypt/des.rb, line 2
def self.hash(*args)
  raise "Unimplemented for DES"
end

Protected Class Methods

construct_password(password, salt, rounds) click to toggle source
# File lib/unix_crypt/des.rb, line 7
def self.construct_password(password, salt, rounds)
  password.crypt(salt)
end
default_salt_length() click to toggle source
# File lib/unix_crypt/des.rb, line 11
def self.default_salt_length; 2; end
max_salt_length() click to toggle source
# File lib/unix_crypt/des.rb, line 12
def self.max_salt_length; 2; end