def serpent

bend-osdev-legacy-ciphers@0.1.0.0 · check.bend:104

import bend-osdev-legacy-ciphers@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-legacy-ciphers@0.1.0.0/serpent.bend as P

104def serpent(k: B.Octets, b: B.Octets) -> String:
105  both(~P.LcSerpentKey, ~P.LcSerpent.encrypt, ~P.LcSerpent.decrypt, key(~P.LcSerpentKey, P.LcSerpent.key(k), P.LcSerpentKey{Nil{}}), b128(b))

Uses (10)

Used by (1)