Module: Origami::Encryption::EncryptedDocument
- Defined in:
- lib/origami/encryption.rb
Instance Attribute Summary collapse
-
#encryption_handler ⇒ Object
Returns the value of attribute encryption_handler.
-
#encryption_key ⇒ Object
Returns the value of attribute encryption_key.
Instance Method Summary collapse
-
#encryption_cipher(name) ⇒ Object
Get the encryption cipher from the crypt filter name.
-
#stream_encryption_cipher ⇒ Object
Get the default stream encryption cipher.
-
#string_encryption_cipher ⇒ Object
Get the default string encryption cipher.
Instance Attribute Details
#encryption_handler ⇒ Object
Returns the value of attribute encryption_handler.
245 246 247 |
# File 'lib/origami/encryption.rb', line 245 def encryption_handler @encryption_handler end |
#encryption_key ⇒ Object
Returns the value of attribute encryption_key.
244 245 246 |
# File 'lib/origami/encryption.rb', line 244 def encryption_key @encryption_key end |
Instance Method Details
#encryption_cipher(name) ⇒ Object
Get the encryption cipher from the crypt filter name.
248 249 250 |
# File 'lib/origami/encryption.rb', line 248 def encryption_cipher(name) @encryption_handler.encryption_cipher(name) end |
#stream_encryption_cipher ⇒ Object
Get the default stream encryption cipher.
258 259 260 |
# File 'lib/origami/encryption.rb', line 258 def stream_encryption_cipher @encryption_handler.stream_encryption_cipher end |
#string_encryption_cipher ⇒ Object
Get the default string encryption cipher.
253 254 255 |
# File 'lib/origami/encryption.rb', line 253 def string_encryption_cipher @encryption_handler.string_encryption_cipher end |