Method: Botan::Cipher.encryption
- Defined in:
- lib/botan/cipher.rb
.encryption(algo) ⇒ Botan::Cipher
Creates a new cipher instance for encryption.
42 43 44 |
# File 'lib/botan/cipher.rb', line 42 def self.encryption(algo) Cipher.new(algo, encrypt: true) end |