Class: OpenSSL::Cipher
- Defined in:
- lib/framework/autocomplete/OpenSSL.rb,
lib/extensions/openssl/openssl/cipher.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Cipher
Class Method Summary collapse
Instance Method Summary collapse
- #block_size ⇒ Object
- #decrypt(rest) ⇒ Object
- #encrypt(rest) ⇒ Object
- #final ⇒ Object
- #iv=(req) ⇒ Object
- #iv_len ⇒ Object
- #key=(req) ⇒ Object
- #key_len ⇒ Object
- #key_len=(req) ⇒ Object
- #name ⇒ Object
- #padding=(req) ⇒ Object
- #pkcs5_keyivgen(rest) ⇒ Object
-
#random_iv ⇒ Object
Generate, set, and return a random iv.
-
#random_key ⇒ Object
Generate, set, and return a random key.
- #reset ⇒ Object
- #update(rest) ⇒ Object
Class Method Details
.ciphers ⇒ Object
116 117 |
# File 'lib/framework/autocomplete/OpenSSL.rb', line 116 def self.ciphers end |
Instance Method Details
#block_size ⇒ Object
142 143 |
# File 'lib/framework/autocomplete/OpenSSL.rb', line 142 def block_size end |
#decrypt(rest) ⇒ Object
122 123 |
# File 'lib/framework/autocomplete/OpenSSL.rb', line 122 def decrypt(rest) end |
#encrypt(rest) ⇒ Object
120 121 |
# File 'lib/framework/autocomplete/OpenSSL.rb', line 120 def encrypt(rest) end |
#final ⇒ Object
128 129 |
# File 'lib/framework/autocomplete/OpenSSL.rb', line 128 def final end |
#iv=(req) ⇒ Object
138 139 |
# File 'lib/framework/autocomplete/OpenSSL.rb', line 138 def iv=(req) end |
#iv_len ⇒ Object
140 141 |
# File 'lib/framework/autocomplete/OpenSSL.rb', line 140 def iv_len end |
#key=(req) ⇒ Object
132 133 |
# File 'lib/framework/autocomplete/OpenSSL.rb', line 132 def key=(req) end |
#key_len ⇒ Object
136 137 |
# File 'lib/framework/autocomplete/OpenSSL.rb', line 136 def key_len end |
#key_len=(req) ⇒ Object
134 135 |
# File 'lib/framework/autocomplete/OpenSSL.rb', line 134 def key_len=(req) end |
#name ⇒ Object
130 131 |
# File 'lib/framework/autocomplete/OpenSSL.rb', line 130 def name end |
#padding=(req) ⇒ Object
144 145 |
# File 'lib/framework/autocomplete/OpenSSL.rb', line 144 def padding=(req) end |
#pkcs5_keyivgen(rest) ⇒ Object
124 125 |
# File 'lib/framework/autocomplete/OpenSSL.rb', line 124 def pkcs5_keyivgen(rest) end |
#random_iv ⇒ Object
Generate, set, and return a random iv. You must call cipher.encrypt or cipher.decrypt before calling this method.
54 55 |
# File 'lib/extensions/openssl/openssl/cipher.rb', line 54 def random_iv end |
#random_key ⇒ Object
Generate, set, and return a random key. You must call cipher.encrypt or cipher.decrypt before calling this method.
46 47 |
# File 'lib/extensions/openssl/openssl/cipher.rb', line 46 def random_key end |
#reset ⇒ Object
118 119 |
# File 'lib/framework/autocomplete/OpenSSL.rb', line 118 def reset end |
#update(rest) ⇒ Object
126 127 |
# File 'lib/framework/autocomplete/OpenSSL.rb', line 126 def update(rest) end |