Module: EDB::Cryptography
- Defined in:
- lib/edb/cryptography.rb,
lib/edb/cryptography/aes_256_cbc.rb
Defined Under Namespace
Modules: AES_256_CBC
Class Method Summary collapse
Class Method Details
.decrypt(method, file) ⇒ Object
34 35 36 37 |
# File 'lib/edb/cryptography.rb', line 34 def decrypt(method, file) this_module = to_module(method) this_module.decrypt(file) end |
.encrypt(method, file) ⇒ Object
29 30 31 32 |
# File 'lib/edb/cryptography.rb', line 29 def encrypt(method, file) this_module = to_module(method) this_module.encrypt(file) end |