Class: UnixCrypt::SHA512
Class Method Summary collapse
Methods inherited from SHABase
Methods inherited from Base
Class Method Details
.byte_indexes ⇒ Object
155 156 157 158 |
# File 'lib/unix_crypt.rb', line 155 def self.byte_indexes [[0, 21, 42], [22, 43, 1], [44, 2, 23], [3, 24, 45], [25, 46, 4], [47, 5, 26], [6, 27, 48], [28, 49, 7], [50, 8, 29], [9, 30, 51], [31, 52, 10], [53, 11, 32], [12, 33, 54], [34, 55, 13], [56, 14, 35], [15, 36, 57], [37, 58, 16], [59, 17, 38], [18, 39, 60], [40, 61, 19], [62, 20, 41], [nil, nil, 63]] end |
.digest ⇒ Object
152 |
# File 'lib/unix_crypt.rb', line 152 def self.digest; Digest::SHA512; end |
.identifier ⇒ Object
154 |
# File 'lib/unix_crypt.rb', line 154 def self.identifier; 6; end |
.length ⇒ Object
153 |
# File 'lib/unix_crypt.rb', line 153 def self.length; 64; end |