rsa library Null safety
Helper functions for asymmetric keys in RSA
Functions
-
decrypt(
CryptoRSAPrivateKey key, Uint8List ciphertext) → Uint8List -
decryptAsync(
CryptoRSAPrivateKey key, Uint8List ciphertext) → Future< Uint8List> -
encrypt(
CryptoRSAPublicKey key, Uint8List plaintext) → Uint8List -
encryptAsync(
CryptoRSAPublicKey key, Uint8List plaintext) → Future< Uint8List> -
encryptBulk(
CryptoRSAPublicKey key, Map< String, Uint8List> req) → Future<Map< String, Uint8List> > -
generate(
) → RsaKeyPair - Generates a RsaKeyPair a secureRandom
-
generateAsync(
) → Future< RsaKeyPair> -
processInBlocks(
AsymmetricBlockCipher engine, Uint8List input) → Uint8List -
secureRandom(
) → FortunaRandom -
sign(
CryptoRSAPrivateKey key, Uint8List message) → Uint8List -
signAsync(
CryptoRSAPrivateKey key, Uint8List message) → Future< Uint8List> -
signBulk(
CryptoRSAPrivateKey key, Map< String, Uint8List> req) → Future<Map< String, Uint8List> > -
verify(
CryptoRSAPublicKey key, Uint8List message, Uint8List signature) → bool -
verifyAll(
CryptoRSAPublicKey key, Map< Uint8List, Uint8List> req) → Future<bool> -
verifyAsync(
CryptoRSAPublicKey key, Uint8List message, Uint8List signature) → Future< bool>
Typedefs
-
RsaKeyPair
= AsymmetricKeyPair<
CryptoRSAPublicKey, CryptoRSAPrivateKey>