moonbitstack/mooncrypt/spec does not have a README file
pub(open) trait Aead {
fn seal(Self, nonce~ : BytesView, plain~ : BytesView, aad~ : BytesView) -> Bytes
fn open(Self, nonce~ : BytesView, cipher~ : BytesView, aad~ : BytesView) -> Bytes raise Broken
}pub(open) trait Block {
fn block(Self) -> Int
fn encrypt(Self, BytesView) -> Bytes
fn decrypt(Self, BytesView) -> Bytes
fn encrypt_blocks(Self, BytesView) -> Bytes
fn decrypt_blocks(Self, BytesView) -> Bytes
}pub(open) trait Hash {
fn write(Self, BytesView) -> Unit
fn finish(Self) -> Bytes
fn reset(Self) -> Unit
fn size(Self) -> Int
fn block(Self) -> Int
}pub(open) trait Kem {
fn shared(Self) -> Int
fn encapsulation(Self) -> Int
fn ciphertext(Self) -> Int
}pub(open) trait Mac {
fn write(Self, BytesView) -> Unit
fn finish(Self) -> Bytes
fn size(Self) -> Int
}pub(open) trait Signer {
fn sign(Self, BytesView) -> Bytes
}pub(open) trait Verifier {
fn verify(Self, BytesView, BytesView) -> Bool
}fn eq(a : BytesView, b : BytesView) -> Boolfn wipe(buf : FixedArray[Byte]) -> UnitInstall
Download zipCryptographic algorithms for MoonBit, one per package.