Check.err: def of bend-osdev-legacy-ciphers@0.1.0.0 Import: import bend-osdev-legacy-ciphers@0.1.0.0/check.bend as Check Lines 29-36 of bend-osdev-legacy-ciphers@0.1.0.0/check.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/check.bend&start_line=29&end_line=36 import Base import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L def err(e: L.LcError) -> String: match e: case L.LcBadKeyLength{n}: "bad key " ++ Nat.show(n) case L.LcBadIvLength{n}: "bad iv " ++ Nat.show(n) case L.LcNotBlockMultiple{n}: "not whole blocks " ++ Nat.show(n) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.show https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend&name=LcError