Module: Rex::Crypto::Rc4
- Defined in:
- lib/rex/crypto/rc4.rb
Class Method Summary collapse
-
.rc4(key, value) ⇒ Object
Returns a decrypted or encrypted RC4 string.
Class Method Details
.rc4(key, value) ⇒ Object
Returns a decrypted or encrypted RC4 string.
13 14 15 16 17 18 |
# File 'lib/rex/crypto/rc4.rb', line 13 def self.rc4(key, value) rc4 = RC4.new(key) # This can also be used to decrypt rc4.encrypt(value) end |