encrypt_file_loader library
Classes
- AesCbcSecretKey
- AES secret key for symmetric encryption and decryption using AES in Cipher Block Chaining mode (CBC-mode), as described in NIST SP800-38A.
- AesCtrSecretKey
- AES secret key for symmetric encryption and decryption using AES in Counter mode (CTR-mode), as described in NIST SP800-38A.
- AesGcmSecretKey
- CryptoType
- A type of encryption based on Web Crypto. see: https://pub.dev/packages/webcrypto
- DecryptResult
- Decrypted result from db
- EcdhPrivateKey
- EcdhPublicKey
- EcdsaPrivateKey
- EcdsaPublicKey
- EncryptFileLoader
- EncryptFileLoader is a class that loads, caches, and decrypts.
- Hash
- A cryptographic hash algorithm implementation.
- HkdfSecretKey
- HKDF secret key (or password) for key derivation.
- HmacSecretKey
- Key for signing/verifying with HMAC.
-
KeyPair<
S, T> - A key-pair as returned from key generation.
- Pbkdf2SecretKey
- PBKDF2 secret key (or password) for key derivation.
- RsaOaepPrivateKey
- RSAES-OAEP private key for decryption of messages.
- RsaOaepPublicKey
- RSAES-OAEP public key for decryption of messages.
- RsaPssPrivateKey
- RSASSA-PSS private key for signing messages.
- RsaPssPublicKey
- RSASSA-PSS public key for verifying signatures.
- RsassaPkcs1V15PrivateKey
- RSASSA-PKCS1-v1_5 private key for signing messages.
- RsassaPkcs1V15PublicKey
- RSASSA-PKCS1-v1_5 public key for signing messages.
Enums
- EllipticCurve
- Elliptic curves supported by ECDSA and ECDH.
- LoadResult
- Result pattern on EncryptFileLoader.load
Functions
-
fillRandomBytes(
TypedData destination) → void -
Fill
destination
with cryptographically random values.
Exceptions / Errors
- OperationError
- Thrown when an operation failed for an operation-specific reason.