Sha256: c770772b5b0b31ffc6b9c863310f47d977b63f755aa1d6471a0926266f30fd8c
Contents?: true
Size: 308 Bytes
Versions: 1
Compression:
Stored size: 308 Bytes
Contents
# -*- coding: binary -*- module Rex module Text # Returns a decrypted or encrypted RC4 string. # # @param key [String] Secret key. # @param [String] def self.rc4(key, value) rc4 = RC4.new(key) # This can also be used to decrypt rc4.encrypt(value) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rex-text-0.2.18 | lib/rex/text/rc4.rb |