Module: Rex::Crypto
- Defined in:
- lib/rex/crypto.rb,
lib/rex/crypto/rc4.rb,
lib/rex/crypto/aes256.rb,
lib/rex/crypto/chacha20.rb
Defined Under Namespace
Modules: Aes256, Rc4 Classes: Chacha20
Class Method Summary collapse
-
.decrypt_aes256(iv, key, value) ⇒ String
deprecated
Deprecated.
Access via Rex::Crypto::Aes256
-
.encrypt_aes256(iv, key, value) ⇒ String
deprecated
Deprecated.
Access via Rex::Crypto::Aes256
-
.rc4(key, value) ⇒ Object
deprecated
Deprecated.
Access via Rex::Crypto::Rc4
Class Method Details
.decrypt_aes256(iv, key, value) ⇒ String
Deprecated.
Access via Rex::Crypto::Aes256
Returns a decrypted string using AES256-CBC.
18 19 20 |
# File 'lib/rex/crypto.rb', line 18 def self.decrypt_aes256(iv, key, value) Aes256.decrypt_aes256(iv, key, value) end |
.encrypt_aes256(iv, key, value) ⇒ String
Deprecated.
Access via Rex::Crypto::Aes256
Returns an encrypted string using AES256-CBC.
8 9 10 |
# File 'lib/rex/crypto.rb', line 8 def self.encrypt_aes256(iv, key, value) Aes256.encrypt_aes256(iv, key, value) end |