justinwongcn/moonpgp/cipher does not have a README file
fn aead_chunk_size(chunk_octet : Int) -> Int64 raisefn aead_open(bc : &BlockCipher, mode : AeadMode, header5 : BytesView, iv : BytesView, chunk_octet : Int, cipher : BytesView) -> Bytes raisefn aead_seal(bc : &BlockCipher, mode : AeadMode, header5 : BytesView, iv : BytesView, chunk_octet : Int, plain : BytesView) -> Bytes raisefn aes_key_unwrap(kek : BytesView, ciphertext : BytesView) -> Bytes raisefn aes_key_wrap(kek : BytesView, plaintext : BytesView) -> Bytes raisefn eax_decrypt(bc : &BlockCipher, nonce : BytesView, ad : BytesView, cipher : BytesView) -> Bytes raisefn eax_encrypt(bc : &BlockCipher, nonce : BytesView, ad : BytesView, plain : BytesView) -> Bytes raisetest {
// RFC 9580 §5.13.3 mode/IV/tag sizes.
inspect(@cipher.Eax.iv_length(), content="16")
inspect(@cipher.Eax.tag_length(), content="16")
}fn gcm_decrypt(bc : &BlockCipher, iv : BytesView, ad : BytesView, cipher : BytesView) -> Bytes raisefn ocb_decrypt(bc : &BlockCipher, nonce : BytesView, ad : BytesView, cipher : BytesView) -> Bytes raisefn ocb_encrypt(bc : &BlockCipher, nonce : BytesView, ad : BytesView, plain : BytesView, tag_len? : Int) -> Bytes raisefn openpgp_cfb_encrypt_resync(bc : &BlockCipher, prefix : BytesView, data : BytesView) -> Bytes raisefn random_prefix(bs : Int) -> Bytes raisefn seipd_v2_kdf(session_key : BytesView, salt : BytesView, key_len : Int, mode : AeadMode, header5 : BytesView) -> (Bytes, Bytes) raisefn seipd_v2_open(bc : &BlockCipher, mode : AeadMode, header5 : BytesView, iv : BytesView, chunk_octet : Int, cipher : BytesView) -> Bytes raisefn seipd_v2_seal(bc : &BlockCipher, mode : AeadMode, header5 : BytesView, iv : BytesView, chunk_octet : Int, plain : BytesView) -> Bytes raiseInstall
Download zipPure-MoonBit OpenPGP implementation (RFC 4880/9580): email encryption, decryption, signing and verification, interoperable with GnuPG and gopenpgp.