Cipher
Functions
Decrypts the given ciphertext and returns the resulting plaintext as a ByteArray.
Decrypts the given ciphertext and returns the resulting plaintext as a ByteString.
Decrypts the given ciphertext and returns the resulting plaintext as a ByteArray.
Decrypts the given ciphertext and returns the resulting plaintext as a ByteString.
Returns a RawSource that decrypts data as it is read from the given ciphertext source. The resulting source produces plaintext on reads.
Encrypts the given plaintext and returns the resulting ciphertext as a ByteString.
Encrypts the given plaintext and returns the resulting ciphertext as a ByteString.
Returns a RawSink that encrypts data as it is written, sending the resulting ciphertext to ciphertext. Write plaintext to the returned sink, and ciphertext will be forwarded to ciphertext.