Class: GitBlur::KeyGen::RandomKeyGen
- Inherits:
-
KeyGenerator
- Object
- KeyGenerator
- GitBlur::KeyGen::RandomKeyGen
- Defined in:
- lib/git-blur/keygen.rb
Instance Attribute Summary
Attributes inherited from KeyGenerator
Instance Method Summary collapse
Methods inherited from KeyGenerator
Constructor Details
This class inherits a constructor from GitBlur::KeyGen::KeyGenerator
Instance Method Details
#generate_keys ⇒ Object
52 53 54 55 56 57 58 |
# File 'lib/git-blur/keygen.rb', line 52 def generate_keys @cipher_list.each do |cname| c = OpenSSL::Cipher.new( cname ) @cipher_keys[ cname ] = c.random_key end @cipher_keys end |