Method: CryptoToolchain::BlackBoxes::MT19937StreamCipher#encrypt
- Defined in:
- lib/crypto_toolchain/black_boxes/mt_19937_stream_cipher.rb
#encrypt(str = plaintext) ⇒ Object
25 26 27 |
# File 'lib/crypto_toolchain/black_boxes/mt_19937_stream_cipher.rb', line 25 def encrypt(str = plaintext) str ^ keystream end |