Class: Kodo::Algorithms::Base64
- Defined in:
- lib/kodo/algorithms/base64.rb
Constant Summary
Constants inherited from Base
Kodo::Algorithms::Base::DEFAULT_SEED_LIBRARY
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 |
# File 'lib/kodo/algorithms/base64.rb', line 4 def create for i in 1..@count do puts SecureRandom.urlsafe_base64(nil, true) end end |