crypto library
Classes
- Algorithm
- The interface for all algorithms.
- AsymmetricBlockCipher
- The interface for asymmetric block ciphers.
- AsymmetricKey
- A marker interface for asymmetric keys.
-
AsymmetricKeyPair<
B extends PublicKey, V extends PrivateKey> - A pair of asymmetric keys (a public one and a private one).
-
AsymmetricKeyParameter<
T extends AsymmetricKey> - A CipherParameters that holds an asymmetric key.
- BaseAsymmetricBlockCipher
- BlockCipher
- The interface for block ciphers.
- CBCBlockCipher
- CipherParameters
- The base class for all cipher parameters.
- DESedeEngine
- DESEngine
- Digest
- The interface for digests (hash functions).
- KeyParameter
- A CipherParameters that holds a key.
- MD5Digest
- OpenSshEd25519Converter
- OpenSshEd25519KeyPair
- PaddedBlockCipherImpl
-
ParametersWithIV<
T extends CipherParameters> - ParametersWithRandom
- PKCS7Padding
- PlatformCrypto
- PrivateKey
- A marker interface for private keys.
-
PrivateKeyParameter<
T extends PrivateKey> - PublicKey
- A marker interface for public keys.
-
PublicKeyParameter<
T extends PublicKey> - RsaPkcs1v15
- Utility for RSA PKCS#1 v1.5 sign/verify using platform hashing.
- RSASignature
- SecureRandom
- The interface for secure random number generators.
- SHA1Digest
- SHA256Digest
- Signature
- The base class for all signatures.
- SignatureAdapter
- Adapter único para assinatura/verificação assimétrica.
- Signer
- The interface for signers.
Functions
-
base64DecodeToBytes(
String value) → Uint8List -
base64DecodeUtf8(
String value) → String -
base64EncodeBytes(
Uint8List bytes) → String -
base64EncodeUtf8(
String value) → String -
bytesToHex(
Uint8List bytes) → String -
createPlatformCrypto(
) → PlatformCrypto -
digestBytes(
String algorithm, Uint8List data) → Future< Uint8List> -
hmacSha1(
Uint8List key, Uint8List data) → Uint8List -
sha256Bytes(
Uint8List data) → Future< Uint8List>