Class: Kodo::Algorithms::Sha1
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
#count, #max_length, #name, #seed
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Kodo::Algorithms::Base
Instance Method Details
#create ⇒ Object
4 5 6 7 8 9 |
# File 'lib/kodo/algorithms/sha1.rb', line 4 def create for i in 1..@count do seed = DEFAULT_SEED_LIBRARY.base64 puts Digest::SHA1.hexdigest(seed) end end |