crypto :: Cipher :: defaultinit
# Base class to modelize cryptographic ciphers
abstract class Cipher
# Encrypted data
var ciphertext = new Bytes.empty is writable
# Unencrypted data
var plaintext = new Bytes.empty is writable
# Encrypt plaintext and populate `self.ciphertext`
fun encrypt is abstract
# Decrypt ciphertext and populate `self.plaintext`
fun decrypt is abstract
end
lib/crypto/xor_ciphers.nit:50,1--65,3