Skip to main content

rind 0.1.1 copy "rind: ^0.1.1" to clipboard
rind: ^0.1.1 copied to clipboard

Fast, misuse-resistant cryptography for Dart and Flutter, through FFI to rind, a pure-Rust library: AEADs, hashes, HMAC, HKDF, PBKDF2, X25519, Ed25519, ECDSA, ECDH, RSA, and ML-KEM.

0.1.1 #

  • The unauthenticated ciphers: AES-CBC (AesCbcEncryptingKey, AesCbcDecryptingKey, CbcIv), AES-CTR (AesCtr), and ChaCha20 (ChaCha20), sized by CipherAlgorithm.
  • AES-GCM under IVs of any length but zero (GcmKey, GcmIv), and RSA-PSS with a salt length of the caller's choosing (RsaPssSigningAlgorithm, which RsaKeyPair.sign and RsaKeyPair.publicKey now take as an RsaSigningScheme, and RsaVerificationAlgorithm.pssSha256 and its SHA-384 and SHA-512 kin).
  • rind wipes a key's native memory when Dart frees the key.
  • No call throws UnsupportedError for a missing CPU feature: rind runs on every CPU of each target it supports.
  • An RSA PublicKey whose modulus is below its algorithm's floor parses, and verify throws RindError.keyRejected.

0.1.0 #

  • rind's AEADs, digests, HMAC, HKDF, PBKDF2, key agreement, signatures, ML-KEM-768, and RSA-OAEP, through a prebuilt library the build hook downloads and checks against its pinned SHA-256, or built from source with the build_from_source user-define.
0
likes
140
points
476
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Fast, misuse-resistant cryptography for Dart and Flutter, through FFI to rind, a pure-Rust library: AEADs, hashes, HMAC, HKDF, PBKDF2, X25519, Ed25519, ECDSA, ECDH, RSA, and ML-KEM.

Repository (GitHub)
View/report issues
Contributing

Topics

#cryptography #crypto #ffi #encryption

License

unknown (license)

Dependencies

code_assets, crypto, ffi, hooks

More

Packages that depend on rind