Class: UnixCrypt::SHA256
Class Method Summary collapse
Methods inherited from SHABase
Methods inherited from Base
Class Method Details
.byte_indexes ⇒ Object
118 119 120 |
# File 'lib/unix_crypt.rb', line 118 def self.byte_indexes [[0, 10, 20], [21, 1, 11], [12, 22, 2], [3, 13, 23], [24, 4, 14], [15, 25, 5], [6, 16, 26], [27, 7, 17], [18, 28, 8], [9, 19, 29], [nil, 31, 30]] end |
.digest ⇒ Object
114 |
# File 'lib/unix_crypt.rb', line 114 def self.digest; Digest::SHA256; end |
.identifier ⇒ Object
116 |
# File 'lib/unix_crypt.rb', line 116 def self.identifier; 5; end |
.length ⇒ Object
115 |
# File 'lib/unix_crypt.rb', line 115 def self.length; 32; end |