def both

bend-osdev-crypto@0.1.0.0 · check.bend:152

import bend-osdev-crypto@0.1.0.0/check.bend as Check
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-crypto@0.1.0.0/crypto.bend as Cr

152# encryption, then decryption back: "<ciphertext> <plaintext again>"
153def both(e: Result<&2, &2, Cr.CrError, B.Octets>, d: Result<&2, &2, Cr.CrError, B.Octets>) -> String:
154  cat(show(e), cat(" ", show(d)))

Uses (6)

Used by (9)