Skip to content

Upgrading cryptography 1 to 2

Unknown1.4.1 → 2.9.0New1Changed2Other2

UnknownUpgrade verdict

DepDelta hasn't looked for the notes of 20 of 21 releases yet, so breaking changes can't be ruled out.

  • DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
  • Their commits are listed with this comparison.
Unknown for releases without notes

Releases without notes may still need changes. Check their commits before upgrading.

Dart SDK requirement changed in 2.8.0: >=2.5.0 <3.0.0 → >=3.3.0 <4.0.0.

Generated by DepDelta from published Dart source. Not mixed with prose notes.

  • added: class BrowserCryptography extends DartCryptography
  • added: ctor BrowserCryptography({super.random})
  • added: method BrowserCryptography.withRandom(Random? random): BrowserCryptography
  • added: static field BrowserCryptography.defaultInstance: final Cryptography
  • added: static field BrowserCryptography.isDisabledForTesting: bool
  • added: static get BrowserCryptography.isRunningInWasm: bool
  • added: static get BrowserCryptography.isSupported: bool
  • removed: class Chacha20Poly1305Aead extends CipherWithAppendedMac
  • removed: class CipherWithAppendedMac implements Cipher
  • removed: class EcJwkPrivateKey extends JwkPrivateKey
  • removed: class EcJwkPublicKey extends JwkPublicKey
  • removed: class HChacha20
  • removed: class JwkPrivateKey: abstract extends PrivateKey
  • removed: class JwkPublicKey: abstract extends PublicKey
  • removed: class MacValidationException implements Exception
  • removed: class Nonce
  • removed: class PrivateKey: abstract
  • removed: class RsaJwkPrivateKey extends JwkPrivateKey
  • removed: class RsaJwkPublicKey extends JwkPublicKey
  • removed: ctor AesGcm()
  • removed: ctor Chacha20Poly1305Aead({ @required this.name, @required Cipher cipher, })
  • removed: ctor CipherWithAppendedMac( this.cipher, this.macAlgorithm, )
  • removed: ctor EcJwkPrivateKey({ @required this.crv, @required this.d, @required this.x, @required this.y, })
  • removed: ctor EcJwkPublicKey({ @required this.crv, @required this.x, @required this.y, })
  • removed: ctor HChacha20()
  • removed: ctor JwkPrivateKey()
  • removed: ctor JwkPublicKey()
  • removed: ctor KeyPair({@required this.privateKey, @required this.publicKey})
  • removed: ctor Nonce(this.bytes)
  • removed: ctor Nonce.randomBytes(int length, {Random random})
  • removed: ctor PrivateKey(List<int> bytes)
  • removed: ctor PrivateKey.constructor()
  • removed: ctor PrivateKey.randomBytes(int length, {Random random})
  • removed: ctor PublicKey.constructor()
  • removed: ctor RsaJwkPrivateKey({ @required this.n, @required this.e, @required this.d, @required this.p, @required this.q, @required this.dp, @required this.dq, @required this.qi, })
  • removed: ctor RsaJwkPublicKey({ @required this.n, @required this.e, })
  • removed: ctor SecretKey.randomBytes(int length, {Random random})
  • removed: field AesGcm.()
  • removed: field Chacha20Poly1305Aead.name: final String
  • removed: field CipherWithAppendedMac.cipher: final Cipher
  • removed: field CipherWithAppendedMac.macAlgorithm: final MacAlgorithm
  • removed: field EcJwkPrivateKey.crv: final String
  • removed: field EcJwkPrivateKey.d: final List<int>
  • removed: field EcJwkPrivateKey.x: final List<int>
  • removed: field EcJwkPrivateKey.y: final List<int>
  • removed: field EcJwkPublicKey.crv: final String
  • removed: field EcJwkPublicKey.x: final List<int>
  • removed: field EcJwkPublicKey.y: final List<int>
  • removed: field Hkdf.hmac: final Hmac
  • removed: field Hmac.hashAlgorithm: final HashAlgorithm
  • removed: field KeyPair.privateKey: final PrivateKey
  • removed: field KeyPair.publicKey: final PublicKey
  • removed: field Nonce.bytes: final List<int>
  • removed: field Pbkdf2.bits: final int
  • removed: field Pbkdf2.iterations: final int
  • removed: field Pbkdf2.macAlgorithm: final MacAlgorithm
  • removed: field RsaJwkPrivateKey.d: final List<int>
  • removed: field RsaJwkPrivateKey.dp: final List<int>
  • removed: field RsaJwkPrivateKey.dq: final List<int>
  • removed: field RsaJwkPrivateKey.e: final List<int>
  • removed: field RsaJwkPrivateKey.n: final List<int>
  • removed: field RsaJwkPrivateKey.p: final List<int>
  • removed: field RsaJwkPrivateKey.q: final List<int>
  • removed: field RsaJwkPrivateKey.qi: final List<int>
  • removed: field RsaJwkPublicKey.e: final List<int>
  • removed: field RsaJwkPublicKey.n: final List<int>
  • removed: field RsaPss.hashAlgorithm: final HashAlgorithm
  • removed: field RsaPss.nonceLength: final int
  • removed: field RsaSsaPkcs1v15.hashAlgorithm: final HashAlgorithm
  • removed: function poly1305SecretKeyFromChacha20(SecretKey secretKey, {@required Nonce nonce}): SecretKey
  • removed: get AesGcm.isAuthenticated: bool
  • removed: get AesGcm.name: String
  • removed: get AesGcm.supportsAad: bool
  • removed: get Chacha20Poly1305Aead.supportsAad: bool
  • removed: get Cipher.isAuthenticated: bool
  • removed: get Cipher.name: String
  • removed: get Cipher.nonceLengthMax: int
  • removed: get Cipher.nonceLengthMin: int
  • removed: get Cipher.secretKeyValidLengths: Set<int>
  • removed: get Cipher.supportsAad: bool
  • removed: get CipherWithAppendedMac.isAuthenticated: bool
  • removed: get CipherWithAppendedMac.name: String
  • removed: get CipherWithAppendedMac.nonceLength: int
  • removed: get CipherWithAppendedMac.nonceLengthMax: int
  • removed: get CipherWithAppendedMac.nonceLengthMin: int
  • removed: get CipherWithAppendedMac.secretKeyLength: int
  • removed: get CipherWithAppendedMac.secretKeyValidLengths: Set<int>
  • removed: get CipherWithAppendedMac.supportsAad: bool
  • removed: get HashAlgorithm.name: String
  • removed: get HashSink.hash: Hash
  • removed: get Hmac.name: String
  • removed: get JwkPublicKey.bytes: List<int>
  • removed: get KeyExchangeAlgorithm.isSeedSupported: bool
  • removed: get KeyExchangeAlgorithm.name: String
  • removed: get KeyExchangeAlgorithm.publicKeyLength: int
  • removed: get KeyPair.hashCode: int
  • removed: get MacAlgorithm.macLengthInBytes: int
  • removed: get MacAlgorithm.name: String
  • removed: get MacSink.mac: Mac
  • removed: get Nonce.hashCode: int
  • removed: get PrivateKey.cachedValues: Map<Object, Object>
  • removed: get PublicKey.bytes: List<int>
  • removed: get PublicKey.cachedValues: Map<Object, Object>
  • removed: get PublicKey.hashCode: int
  • removed: get RsaPss.name: String
  • removed: get RsaPss.publicKeyLength: int
  • removed: get RsaSsaPkcs1v15.name: String
  • removed: get RsaSsaPkcs1v15.publicKeyLength: int
  • removed: get SecretKey.cachedValues: Map<Object, Object>
  • removed: get SignatureAlgorithm.isSeedSupported: bool
  • removed: get SignatureAlgorithm.name: String
  • removed: get SignatureAlgorithm.publicKeyLength: int
  • removed: method AesGcm.decrypt( List<int> cipherText, { @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Future<Uint8List>
  • removed: method AesGcm.decryptSync( List<int> cipherText, { SecretKey secretKey, Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Uint8List
  • removed: method AesGcm.encrypt( List<int> cipherText, { @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Future<Uint8List>
  • removed: method AesGcm.encryptSync( List<int> plainText, { @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Uint8List
  • removed: method AesGcm.getDataInCipherText(List<int> cipherText): List<int>
  • removed: method AesGcm.getMacInCipherText(List<int> cipherText): Mac
  • removed: method AesGcm.newSecretKey({int length}): Future<SecretKey>
  • removed: method Chacha20Poly1305Aead.calculateMac( List<int> cipherText, { @required SecretKey secretKey, @required Nonce nonce, @required List<int> aad, }): Future<Mac>
  • removed: method Chacha20Poly1305Aead.calculateMacSync( List<int> cipherText, { @required SecretKey secretKey, @required Nonce nonce, @required List<int> aad, }): Mac
  • removed: method Chacha20Poly1305Aead.decrypt( List<int> cipherText, { @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Future<Uint8List>
  • removed: method Chacha20Poly1305Aead.decryptSync( List<int> cipherText, { @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Uint8List
  • removed: method Chacha20Poly1305Aead.encrypt( List<int> plainText, { @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Future<Uint8List>
  • removed: method Chacha20Poly1305Aead.encryptSync( List<int> plainText, { @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Uint8List
  • removed: method Cipher.decryptSync( List<int> cipherText, { @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Uint8List
  • removed: method Cipher.decryptToBuffer( List<int> cipherText, { @required List<int> buffer, int bufferStart = …, @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Future<int>
  • removed: method Cipher.encryptSync( List<int> plainText, { @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Uint8List
  • removed: method Cipher.encryptToBuffer( List<int> plainText, { @required List<int> buffer, int bufferStart = …, @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Future<int>
  • removed: method Cipher.getDataInCipherText(List<int> cipherText): List<int>
  • removed: method Cipher.getMacInCipherText(List<int> cipherText): Mac
  • removed: method Cipher.newSecretKeySync({int length}): SecretKey
  • removed: method CipherWithAppendedMac.calculateMac( List<int> cipherText, { @required SecretKey secretKey, @required Nonce nonce, @required List<int> aad, }): Future<Mac>
  • removed: method CipherWithAppendedMac.calculateMacSync( List<int> cipherText, { @required SecretKey secretKey, @required Nonce nonce, @required List<int> aad, }): Mac
  • removed: method CipherWithAppendedMac.decrypt( List<int> cipherText, { @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Future<Uint8List>
  • removed: method CipherWithAppendedMac.decryptSync( List<int> cipherText, { @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Uint8List
  • removed: method CipherWithAppendedMac.decryptToBuffer( List<int> input, { @required List<int> buffer, int bufferStart = …, @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Future<int>
  • removed: method CipherWithAppendedMac.encrypt( List<int> plainText, { @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Future<Uint8List>
  • removed: method CipherWithAppendedMac.encryptSync( List<int> plainText, { @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Uint8List
  • removed: method CipherWithAppendedMac.encryptToBuffer( List<int> input, { @required List<int> buffer, int bufferStart = …, @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Future<int>
  • removed: method CipherWithAppendedMac.getDataInCipherText(List<int> cipherText): List<int>
  • removed: method CipherWithAppendedMac.getMacInCipherText(List<int> cipherText): Mac
  • removed: method CipherWithAppendedMac.newNonce(): Nonce
  • removed: method CipherWithAppendedMac.newSecretKey({int length}): Future<SecretKey>
  • removed: method CipherWithAppendedMac.newSecretKeySync({int length}): SecretKey
  • removed: method CipherWithAppendedMac.toString(): String
  • removed: method EcJwkPrivateKey.toJson(): Map<String, Object>
  • removed: method EcJwkPrivateKey.toPublicKey(): EcJwkPublicKey
  • removed: method EcJwkPublicKey.toJson(): Map<String, Object>
  • removed: method HChacha20.deriveKeySync({ @required SecretKey secretKey, @required Nonce nonce, }): SecretKey
  • removed: method HashAlgorithm.hashSync(List<int> data): Hash
  • removed: method HashAlgorithm.newSink(): HashSink
  • removed: method Hmac.calculateMac( List<int> input, { @required SecretKey secretKey, }): Future<Mac>
  • removed: method Hmac.newSink({@required SecretKey secretKey}): MacSink
  • removed: method JwkPrivateKey.extractSync(): List<int>
  • removed: method JwkPrivateKey.operator ==(other): bool
  • removed: method JwkPrivateKey.toJson(): Map<String, Object>
  • removed: method JwkPrivateKey.toPublicKey(): JwkPublicKey
  • removed: method JwkPublicKey.operator ==(other): bool
  • removed: method JwkPublicKey.toJson(): Map<String, Object>
  • removed: method KeyExchangeAlgorithm.newKeyPairFromSeedSync(PrivateKey seed): KeyPair
  • removed: method KeyExchangeAlgorithm.newKeyPairSync(): KeyPair
  • removed: method KeyExchangeAlgorithm.sharedSecret({ @required PrivateKey localPrivateKey, @required PublicKey remotePublicKey, }): Future<SecretKey>
  • removed: method KeyExchangeAlgorithm.sharedSecretSync({ @required PrivateKey localPrivateKey, @required PublicKey remotePublicKey, }): SecretKey
  • removed: method KeyPair.operator ==(other): bool
  • removed: method KeyPair.toString(): String
  • removed: method MacAlgorithm.calculateMacSync( List<int> data, { @required SecretKey secretKey, }): Mac
  • removed: method MacAlgorithm.newSink({@required SecretKey secretKey}): MacSink
  • removed: method MacValidationException.toString(): String
  • removed: method Nonce.increment([int n = …]): Nonce
  • removed: method Nonce.operator ==(other): bool
  • removed: method Nonce.toString(): String
  • removed: method Pbkdf2.deriveBits( List<int> secretBytes, { @required Nonce nonce, }): Future<Uint8List>
  • removed: method Pbkdf2.deriveBitsSync( List<int> secretBytes, { @required Nonce nonce, }): Uint8List
  • removed: method PrivateKey.extract(): Future<List<int>>
  • removed: method PrivateKey.extractSync(): List<int>
  • removed: method PublicKey.operator ==(other): bool
  • removed: method RsaJwkPrivateKey.extractSync(): List<int>
  • removed: method RsaJwkPrivateKey.toJson(): Map<String, Object>
  • removed: method RsaJwkPrivateKey.toPublicKey(): RsaJwkPublicKey
  • removed: method RsaJwkPublicKey.toJson(): Map<String, Object>
  • removed: method RsaPss.newKeyPairSync({ int modulusLength = …, List<int> publicExponent = …, }): KeyPair
  • removed: method RsaPss.sign(List<int> input, KeyPair keyPair): Future<Signature>
  • removed: method RsaPss.signSync(List<int> input, KeyPair keyPair): Signature
  • removed: method RsaPss.verify(List<int> input, Signature signature): Future<bool>
  • removed: method RsaPss.verifySync(List<int> input, Signature signature): bool
  • removed: method RsaSsaPkcs1v15.newKeyPairSync({ int modulusLength = …, List<int> publicExponent = …, }): KeyPair
  • removed: method RsaSsaPkcs1v15.sign(List<int> input, KeyPair keyPair): Future<Signature>
  • removed: method RsaSsaPkcs1v15.signSync(List<int> input, KeyPair keyPair): Signature
  • removed: method RsaSsaPkcs1v15.verify(List<int> input, Signature signature): Future<bool>
  • removed: method RsaSsaPkcs1v15.verifySync(List<int> input, Signature signature): bool
  • removed: method SecretKey.extractSync(): List<int>
  • removed: method SignatureAlgorithm.newKeyPairFromSeedSync(PrivateKey seed): KeyPair
  • removed: method SignatureAlgorithm.newKeyPairSync(): KeyPair
  • removed: method SignatureAlgorithm.signSync(List<int> input, KeyPair keyPair): Signature
  • removed: method SignatureAlgorithm.verifySync(List<int> input, Signature signature): bool
  • removed: static method EcJwkPrivateKey.from(PrivateKey privateKey): Future<EcJwkPrivateKey>
  • removed: static method EcJwkPrivateKey.fromBytes(List<int> bytes): EcJwkPrivateKey
  • removed: static method EcJwkPrivateKey.fromJson(Map<String, Object> jwk): EcJwkPrivateKey
  • removed: static method EcJwkPrivateKey.fromSync(PrivateKey privateKey): JwkPrivateKey
  • removed: static method EcJwkPublicKey.fromBytes(List<int> bytes): EcJwkPublicKey
  • removed: static method EcJwkPublicKey.fromJson(Map<String, Object> jwk): EcJwkPublicKey
  • removed: static method JwkPrivateKey.fromBytes(List<int> bytes): JwkPrivateKey
  • removed: static method JwkPrivateKey.fromJson(Map<String, Object> json): JwkPrivateKey
  • removed: static method JwkPublicKey.fromBytes(List<int> bytes): JwkPublicKey
  • removed: static method JwkPublicKey.fromJson(Map<String, Object> json): JwkPublicKey
  • removed: static method RsaJwkPrivateKey.fromBytes(List<int> bytes): RsaJwkPrivateKey
  • removed: static method RsaJwkPrivateKey.fromJson(Map<String, Object> jwk): RsaJwkPrivateKey
  • removed: static method RsaJwkPublicKey.fromBytes(List<int> bytes): RsaJwkPublicKey
  • removed: static method RsaJwkPublicKey.fromJson(Map<String, Object> jwk): RsaJwkPublicKey
  • removed: variable aesCbc: const Cipher
  • removed: variable aesCtr: const Cipher
  • removed: variable aesGcm: const Cipher
  • removed: variable blake2b: const HashAlgorithm
  • removed: variable blake2s: const HashAlgorithm
  • removed: variable chacha20: const Cipher
  • removed: variable chacha20Poly1305Aead: const CipherWithAppendedMac
  • removed: variable ecdhP256: const KeyExchangeAlgorithm
  • removed: variable ecdhP384: const KeyExchangeAlgorithm
  • removed: variable ecdhP521: const KeyExchangeAlgorithm
  • removed: variable ecdsaP256Sha256: const SignatureAlgorithm
  • removed: variable ecdsaP384Sha256: const SignatureAlgorithm
  • removed: variable ecdsaP384Sha384: const SignatureAlgorithm
  • removed: variable ecdsaP521Sha256: const SignatureAlgorithm
  • removed: variable ecdsaP521Sha512: const SignatureAlgorithm
  • removed: variable ed25519: const SignatureAlgorithm
  • removed: variable poly1305: const MacAlgorithm
  • removed: variable sha1: const HashAlgorithm
  • removed: variable sha224: const HashAlgorithm
  • removed: variable sha256: const HashAlgorithm
  • removed: variable sha384: const HashAlgorithm
  • removed: variable sha512: const HashAlgorithm
  • removed: variable x25519: const KeyExchangeAlgorithm
  • removed: variable xchacha20: const Cipher
  • removed: variable xchacha20Poly1305Aead: const CipherWithAppendedMac
  • changed: class AesGcm extends AesCipher → class AesGcm: abstract extends Cipher
  • changed: class Hkdf → class Hkdf: abstract extends KdfAlgorithm
  • changed: class Hmac extends MacAlgorithm → class Hmac: abstract extends MacAlgorithm
  • changed: class KeyPair → class KeyPair: abstract
  • changed: class Pbkdf2 → class Pbkdf2: abstract extends KdfAlgorithm
  • changed: class RsaPss extends SignatureAlgorithm → class RsaPss: abstract extends SignatureAlgorithm
  • changed: class RsaSsaPkcs1v15 extends SignatureAlgorithm → class RsaSsaPkcs1v15: abstract extends SignatureAlgorithm
  • changed: class SignatureAlgorithm: abstract → class SignatureAlgorithm<T extends PublicKey>: abstract
  • changed: ctor Cipher() → ctor Cipher({this.random})
  • changed: ctor Hkdf(this.hmac) → ctor Hkdf({required Hmac hmac, required int outputLength})
  • changed: ctor Hmac(this.hashAlgorithm) → ctor Hmac(HashAlgorithm hashAlgorithm)
  • changed: ctor Pbkdf2({ @required this.macAlgorithm, @required this.iterations, @required this.bits, }) → ctor Pbkdf2({ required MacAlgorithm macAlgorithm, required int iterations, required int bits, })
  • changed: ctor PublicKey(List<int> bytes) → ctor PublicKey()
  • changed: ctor RsaPss(this.hashAlgorithm, {this.nonceLength}) → ctor RsaPss( HashAlgorithm hashAlgorithm, { int nonceLengthInBytes = …, })
  • changed: ctor RsaSsaPkcs1v15(this.hashAlgorithm) → ctor RsaSsaPkcs1v15(HashAlgorithm hashAlgorithm)
  • changed: ctor SecretKey(List<int> bytes) → ctor SecretKey(List<int> bytes, {String? debugLabel})
  • changed: ctor Signature(this.bytes, {@required this.publicKey}) → ctor Signature(this.bytes, {required this.publicKey})
  • changed: method Cipher.decrypt( List<int> cipherText, { @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Future<Uint8List> → method Cipher.decrypt( SecretBox secretBox, { required SecretKey secretKey, List<int> aad = …, Uint8List? possibleBuffer, }): Future<List<int>>
  • changed: method Cipher.encrypt( List<int> plainText, { @required SecretKey secretKey, @required Nonce nonce, List<int> aad, int keyStreamIndex = …, }): Future<Uint8List> → method Cipher.encrypt( List<int> clearText, { required SecretKey secretKey, List<int>? nonce, List<int> aad = …, Uint8List? possibleBuffer, }): Future<SecretBox>
  • changed: method Cipher.newNonce(): Nonce → method Cipher.newNonce(): List<int>
  • changed: method Cipher.newSecretKey({int length}): Future<SecretKey> → method Cipher.newSecretKey(): Future<SecretKey>
  • changed: method Hkdf.deriveKey( SecretKey input, { @required int outputLength, Nonce nonce, List<int> info, }): Future<SecretKey> → method Hkdf.deriveKey({ required SecretKey secretKey, List<int> nonce = …, List<int> info = …, }): Future<SecretKeyData>
  • changed: method KeyExchangeAlgorithm.newKeyPairFromSeed(PrivateKey seed): Future<KeyPair> → method KeyExchangeAlgorithm.newKeyPairFromSeed(List<int> seed): Future<KeyPair>
  • changed: method MacAlgorithm.calculateMac( List<int> input, { @required SecretKey secretKey, }): Future<Mac> → method MacAlgorithm.calculateMac( List<int> bytes, { required SecretKey secretKey, List<int> nonce = …, List<int> aad = …, }): Future<Mac>
  • changed: method RsaPss.newKeyPair({ int modulusLength = …, List<int> publicExponent = …, }): Future<KeyPair> → method RsaPss.newKeyPair({ int modulusLength = …, List<int> publicExponent = …, }): Future<RsaKeyPair>
  • changed: method RsaSsaPkcs1v15.newKeyPair({ int modulusLength = …, List<int> publicExponent = …, }): Future<KeyPair> → method RsaSsaPkcs1v15.newKeyPair({ int modulusLength = …, List<int> publicExponent = …, }): Future<RsaKeyPair>
  • changed: method SecretKey.extract(): Future<List<int>> → method SecretKey.extract(): Future<SecretKeyData>
  • changed: method SignatureAlgorithm.newKeyPairFromSeed(PrivateKey seed): Future<KeyPair> → method SignatureAlgorithm.newKeyPairFromSeed(List<int> seed): Future<KeyPair>
  • changed: method SignatureAlgorithm.sign(List<int> input, KeyPair keyPair): Future<Signature> → method SignatureAlgorithm.sign(List<int> message, {required KeyPair keyPair}): Future<Signature>
  • changed: method SignatureAlgorithm.verify(List<int> input, Signature signature): Future<bool> → method SignatureAlgorithm.verify(List<int> message, {required Signature signature}): Future<bool>
  • added: class AesCbc: abstract extends Cipher
  • added: class AesCtr: abstract extends StreamingCipher
  • added: class Argon2id: abstract extends KdfAlgorithm
  • added: class Blake2b: abstract extends HashAlgorithm implements MacAlgorithm
  • added: class Blake2s: abstract extends HashAlgorithm implements MacAlgorithm
  • added: class BrowserCryptography extends DartCryptography
  • added: class ChaChaRandom extends SecureRandom
  • added: class Chacha20: abstract extends StreamingCipher
  • added: class CipherState: abstract
  • added: class CipherWand: abstract extends Wand
  • added: class Cryptography: abstract
  • added: class EcKeyPair: abstract extends KeyPair
  • added: class EcKeyPairData extends KeyPairData implements EcKeyPair
  • added: class EcPublicKey extends PublicKey
  • added: class Ecdh: abstract extends KeyExchangeAlgorithm
  • added: class Ecdsa: abstract extends SignatureAlgorithm
  • added: class Ed25519: abstract extends SignatureAlgorithm
  • added: class Hchacha20: abstract
  • added: class KdfAlgorithm: abstract
  • added: class KeyExchangeWand: abstract extends Wand
  • added: class KeyPairData: abstract extends KeyPair
  • added: class KeyPairType<S extends KeyPairData, P extends PublicKey>
  • added: class PaddingAlgorithm: abstract
  • added: class Poly1305: abstract extends MacAlgorithm
  • added: class RsaKeyPair: abstract extends KeyPair
  • added: class RsaKeyPairData extends KeyPairData implements RsaKeyPair
  • added: class RsaPublicKey extends PublicKey
  • added: class SecretBox
  • added: class SecretBoxAuthenticationError implements Exception
  • added: class SecretBoxPaddingError implements Exception
  • added: class SecretKeyData extends SecretKey
  • added: class SecureRandom: abstract implements Random
  • added: class SensitiveBytes extends ListBase<int>
  • added: class Sha1: abstract extends HashAlgorithm
  • added: class Sha224: abstract extends HashAlgorithm
  • added: class Sha256: abstract extends HashAlgorithm
  • added: class Sha384: abstract extends HashAlgorithm
  • added: class Sha512: abstract extends HashAlgorithm
  • added: class SignatureWand: abstract extends Wand
  • added: class SimpleKeyPair: abstract extends KeyPair
  • added: class SimpleKeyPairData extends KeyPairData implements SimpleKeyPair
  • added: class SimplePublicKey extends PublicKey implements Comparable<SimplePublicKey>
  • added: class StreamingCipher: abstract extends Cipher
  • added: class Wand: abstract
  • added: class X25519: abstract extends KeyExchangeAlgorithm
  • added: class Xchacha20: abstract extends StreamingCipher
  • added: ctor AesCbc.constructor({ super.random, })
  • added: ctor AesCbc.with128bits({ required MacAlgorithm macAlgorithm, PaddingAlgorithm paddingAlgorithm = …, })
  • added: ctor AesCbc.with192bits({ required MacAlgorithm macAlgorithm, PaddingAlgorithm paddingAlgorithm = …, })
  • added: ctor AesCbc.with256bits({ required MacAlgorithm macAlgorithm, PaddingAlgorithm paddingAlgorithm = …, })
  • added: ctor AesCtr.constructor({super.random})
  • added: ctor AesCtr.with128bits({ required MacAlgorithm macAlgorithm, })
  • added: ctor AesCtr.with192bits({ required MacAlgorithm macAlgorithm, })
  • added: ctor AesCtr.with256bits({ required MacAlgorithm macAlgorithm, })
  • added: ctor AesGcm.constructor({super.random})
  • added: ctor AesGcm.with128bits({ int nonceLength = …, })
  • added: ctor AesGcm.with192bits({ int nonceLength = …, })
  • added: ctor AesGcm.with256bits({ int nonceLength = …, })
  • added: ctor Argon2id({ required int parallelism, required int memory, required int iterations, required int hashLength, })
  • added: ctor Argon2id.constructor()
  • added: ctor Blake2b({ int hashLengthInBytes = …, })
  • added: ctor Blake2b.constructor({ this.hashLengthInBytes = …, })
  • added: ctor Blake2s({ int hashLengthInBytes = …, })
  • added: ctor Blake2s.constructor({ this.hashLengthInBytes = …, })
  • added: ctor BrowserCryptography({super.random})
  • added: ctor ChaChaRandom({ this.rounds = …, this.maxBlocksBeforeReseed = …, this.maxDurationBeforeReseed = …, })
  • added: ctor ChaChaRandom.forTesting({ int seed = …, })
  • added: ctor Chacha20({required MacAlgorithm macAlgorithm})
  • added: ctor Chacha20.constructor({super.random})
  • added: ctor Chacha20.poly1305Aead()
  • added: ctor CipherWand.constructor()
  • added: ctor Cryptography()
  • added: ctor EcKeyPair.constructor()
  • added: ctor EcKeyPairData({ required List<int> d, required this.x, required this.y, required super.type, this.debugLabel, })
  • added: ctor EcPublicKey({required this.x, required this.y, required this.type})
  • added: ctor Ecdh.constructor()
  • added: ctor Ecdh.p256({required int length})
  • added: ctor Ecdh.p384({required int length})
  • added: ctor Ecdh.p521({required int length})
  • added: ctor Ecdsa.constructor()
  • added: ctor Ecdsa.p256(HashAlgorithm hashAlgorithm)
  • added: ctor Ecdsa.p384(HashAlgorithm hashAlgorithm)
  • added: ctor Ecdsa.p521(HashAlgorithm hashAlgorithm)
  • added: ctor Ed25519()
  • added: ctor Ed25519.constructor({Random? random})
  • added: ctor Hchacha20()
  • added: ctor Hchacha20.constructor()
  • added: ctor Hkdf.constructor()
  • added: ctor Hmac.blake2b()
  • added: ctor Hmac.blake2s()
  • added: ctor Hmac.constructor()
  • added: ctor Hmac.sha1()
  • added: ctor Hmac.sha224()
  • added: ctor Hmac.sha256()
  • added: ctor Hmac.sha384()
  • added: ctor Hmac.sha512()
  • added: ctor KdfAlgorithm()
  • added: ctor KeyExchangeWand.constructor()
  • added: ctor KeyPairData({required this.type})
  • added: ctor PaddingAlgorithm()
  • added: ctor Pbkdf2.constructor()
  • added: ctor Pbkdf2.hmacSha256({ required int iterations, required int bits, })
  • added: ctor Poly1305()
  • added: ctor Poly1305.constructor()
  • added: ctor RsaKeyPair()
  • added: ctor RsaKeyPair.constructor()
  • added: ctor RsaKeyPairData({ required this.n, required this.e, required this.d, required this.p, required this.q, this.dp, this.dq, this.qi, })
  • added: ctor RsaPss.constructor()
  • added: ctor RsaPss.sha256({ int nonceLengthInBytes = …, })
  • added: ctor RsaPss.sha512({ int nonceLengthInBytes = …, })
  • added: ctor RsaPublicKey({ required this.e, required this.n, })
  • added: ctor RsaSsaPkcs1v15.constructor()
  • added: ctor RsaSsaPkcs1v15.sha256()
  • added: ctor RsaSsaPkcs1v15.sha512()
  • added: ctor SecretBox( this.cipherText, { required this.nonce, required this.mac, })
  • added: ctor SecretBoxAuthenticationError({ @Deprecated('Do not use') SecretBox? secretBox, this.message = …, })
  • added: ctor SecretBoxPaddingError({String? message})
  • added: ctor SecretKey.lazy(Future<SecretKeyData> Function() f)
  • added: ctor SecretKeyData( List<int> bytes, { bool overwriteWhenDestroyed = …, String? debugLabel, })
  • added: ctor SecretKeyData.random({ required int length, Uint8List? bytes, Random? random, String? debugLabel, })
  • added: ctor SecretKeyData.randomWithBuffer( Uint8List bytes, { Random? random, bool overwriteWhenDestroyed = …, String? debugLabel, })
  • added: ctor SecureRandom.constructor()
  • added: ctor SecureRandom.forTesting({ int seed = …, })
  • added: ctor SensitiveBytes(this._bytes, {this.overwriteWhenDestroyed = …})
  • added: ctor Sha1()
  • added: ctor Sha1.constructor()
  • added: ctor Sha224()
  • added: ctor Sha224.constructor()
  • added: ctor Sha256()
  • added: ctor Sha256.constructor()
  • added: ctor Sha384()
  • added: ctor Sha384.constructor()
  • added: ctor Sha512()
  • added: ctor Sha512.constructor()
  • added: ctor SignatureWand.constructor()
  • added: ctor SimpleKeyPair.constructor()
  • added: ctor SimpleKeyPair.lazy(Future<SimpleKeyPair> Function() f)
  • added: ctor SimpleKeyPairData( List<int> bytes, { required this.publicKey, required super.type, this.debugLabel, })
  • added: ctor SimplePublicKey(this.bytes, {required this.type})
  • added: ctor StreamingCipher({super.random})
  • added: ctor X25519()
  • added: ctor X25519.constructor({Random? random})
  • added: ctor Xchacha20({required MacAlgorithm macAlgorithm})
  • added: ctor Xchacha20.constructor({super.random})
  • added: ctor Xchacha20.poly1305Aead()
  • added: field Blake2b.hashLengthInBytes: final int
  • added: field Blake2s.hashLengthInBytes: final int
  • added: field ChaChaRandom.maxBlocksBeforeReseed: final int
  • added: field ChaChaRandom.maxDurationBeforeReseed: final Duration?
  • added: field ChaChaRandom.rounds: final int
  • added: field Cipher.random: final Random?
  • added: field EcKeyPairData.debugLabel: final String?
  • added: field EcKeyPairData.publicKey: final EcPublicKey
  • added: field EcKeyPairData.x: final List<int>
  • added: field EcKeyPairData.y: final List<int>
  • added: field EcPublicKey.type: final KeyPairType
  • added: field EcPublicKey.x: final List<int>
  • added: field EcPublicKey.y: final List<int>
  • added: field KeyPairData.type: final KeyPairType
  • added: field KeyPairType.ellipticBits: final int
  • added: field KeyPairType.name: final String
  • added: field KeyPairType.privateKeyLength: final int
  • added: field KeyPairType.publicKeyLength: final int
  • added: field KeyPairType.webCryptoCurve: final String?
  • added: field RsaKeyPairData.d: final List<int>
  • added: field RsaKeyPairData.dp: final List<int>?
  • added: field RsaKeyPairData.dq: final List<int>?
  • added: field RsaKeyPairData.e: final List<int>
  • added: field RsaKeyPairData.n: final List<int>
  • added: field RsaKeyPairData.p: final List<int>
  • added: field RsaKeyPairData.publicKey: final RsaPublicKey
  • added: field RsaKeyPairData.q: final List<int>
  • added: field RsaKeyPairData.qi: final List<int>?
  • added: field RsaPublicKey.e: final List<int>
  • added: field RsaPublicKey.n: final List<int>
  • added: field SecretBox.cipherText: final List<int>
  • added: field SecretBox.mac: final Mac
  • added: field SecretBox.nonce: final List<int>
  • added: field SecretBoxAuthenticationError.message: final String
  • added: field SecretBoxPaddingError.message: final String
  • added: field SecretKeyData.debugLabel: final String?
  • added: field SensitiveBytes.[]: void operator
  • added: field SensitiveBytes.overwriteWhenDestroyed: final bool
  • added: field SimpleKeyPairData.debugLabel: final String?
  • added: field SimpleKeyPairData.publicKey: final SimplePublicKey
  • added: field SimplePublicKey.bytes: final List<int>
  • added: field SimplePublicKey.type: final KeyPairType
  • added: get AesCbc.hashCode: int
  • added: get AesCbc.nonceLength: int
  • added: get AesCbc.paddingAlgorithm: PaddingAlgorithm
  • added: get AesCtr.counterBits: int
  • added: get AesCtr.hashCode: int
  • added: get AesCtr.nonceLength: int
  • added: get AesGcm.hashCode: int
  • added: get AesGcm.macAlgorithm: MacAlgorithm
  • added: get Argon2id.hashCode: int
  • added: get Argon2id.hashLength: int
  • added: get Argon2id.iterations: int
  • added: get Argon2id.memory: int
  • added: get Argon2id.parallelism: int
  • added: get Argon2id.version: int
  • added: get Blake2b.blockLengthInBytes: int
  • added: get Blake2b.hashCode: int
  • added: get Blake2b.keyStreamUsed: int
  • added: get Blake2b.macLength: int
  • added: get Blake2b.supportsAad: bool
  • added: get Blake2b.supportsKeyStreamIndex: bool
  • added: get Blake2s.blockLengthInBytes: int
  • added: get Blake2s.hashCode: int
  • added: get Blake2s.keyStreamUsed: int
  • added: get Blake2s.macLength: int
  • added: get Blake2s.supportsAad: bool
  • added: get Blake2s.supportsKeyStreamIndex: bool
  • added: get ChaChaRandom.isSecure: bool
  • added: get ChaChaRandom.reseedCount: int
  • added: get Chacha20.hashCode: int
  • added: get Chacha20.nonceLength: int
  • added: get Chacha20.secretKeyLength: int
  • added: get Cipher.hashCode: int
  • added: get Cipher.macAlgorithm: MacAlgorithm
  • added: get CipherState.cipher: Cipher
  • added: get CipherState.mac: Mac
  • added: get EcKeyPairData.d: List<int>
  • added: get EcKeyPairData.hashCode: int
  • added: get EcPublicKey.hashCode: int
  • added: get Ecdsa.hashAlgorithm: HashAlgorithm
  • added: get Ed25519.keyPairType: KeyPairType
  • added: get HashAlgorithm.hashCode: int
  • added: get Hchacha20.hashCode: int
  • added: get Hkdf.hashCode: int
  • added: get Hkdf.hmac: Hmac
  • added: get Hkdf.outputLength: int
  • added: get Hmac.hashAlgorithm: HashAlgorithm
  • added: get Hmac.hashCode: int
  • added: get KeyExchangeAlgorithm.keyPairType: KeyPairType
  • added: get KeyPair.hasBeenDestroyed: bool
  • added: get KeyPairData.publicKey: PublicKey
  • added: get MacAlgorithm.keyStreamUsed: int
  • added: get MacAlgorithm.supportsAad: bool
  • added: get MacAlgorithm.supportsKeyStreamIndex: bool
  • added: get MacSink.isClosed: bool
  • added: get Pbkdf2.bits: int
  • added: get Pbkdf2.hashCode: int
  • added: get Pbkdf2.iterations: int
  • added: get Pbkdf2.macAlgorithm: MacAlgorithm
  • added: get Poly1305.hashCode: int
  • added: get Poly1305.macLength: int
  • added: get PublicKey.type: KeyPairType
  • added: get RsaKeyPairData.hasBeenDestroyed: bool
  • added: get RsaKeyPairData.hashCode: int
  • added: get RsaPss.hashAlgorithm: HashAlgorithm
  • added: get RsaPss.hashCode: int
  • added: get RsaPss.keyPairType: KeyPairType<KeyPairData, PublicKey>
  • added: get RsaPss.nonceLengthInBytes: int
  • added: get RsaPublicKey.hashCode: int
  • added: get RsaPublicKey.type: KeyPairType
  • added: get RsaSsaPkcs1v15.hashAlgorithm: HashAlgorithm
  • added: get RsaSsaPkcs1v15.hashCode: int
  • added: get RsaSsaPkcs1v15.keyPairType: KeyPairType<KeyPairData, PublicKey>
  • added: get SecretBox.hashCode: int
  • added: get SecretBoxAuthenticationError.secretBox: SecretBox
  • added: get SecretKey.allowDecrypt: bool
  • added: get SecretKey.allowEncrypt: bool
  • added: get SecretKey.isDestroyed: bool
  • added: get SecretKey.isExtractable: bool
  • added: get SecretKeyData.bytes: List<int>
  • added: get SecretKeyData.hasBeenDestroyed: bool
  • added: get SecretKeyData.hashCode: int
  • added: get SecureRandom.isSecure: bool
  • added: get SensitiveBytes.hasBeenDestroyed: bool
  • added: get SensitiveBytes.length: int
  • added: get Sha1.blockLengthInBytes: int
  • added: get Sha1.hashCode: int
  • added: get Sha1.hashLengthInBytes: int
  • added: get Sha224.blockLengthInBytes: int
  • added: get Sha224.hashCode: int
  • added: get Sha224.hashLengthInBytes: int
  • added: get Sha256.blockLengthInBytes: int
  • added: get Sha256.hashCode: int
  • added: get Sha256.hashLengthInBytes: int
  • added: get Sha384.blockLengthInBytes: int
  • added: get Sha384.hashCode: int
  • added: get Sha384.hashLengthInBytes: int
  • added: get Sha512.blockLengthInBytes: int
  • added: get Sha512.hashCode: int
  • added: get Sha512.hashLengthInBytes: int
  • added: get SignatureAlgorithm.keyPairType: KeyPairType
  • added: get SimpleKeyPairData.bytes: List<int>
  • added: get SimpleKeyPairData.hasBeenDestroyed: bool
  • added: get SimpleKeyPairData.hashCode: int
  • added: get SimplePublicKey.hashCode: int
  • added: get Wand.hasBeenDestroyed: bool
  • added: get X25519.keyPairType: KeyPairType<KeyPairData, PublicKey>
  • added: get Xchacha20.hashCode: int
  • added: get Xchacha20.nonceLength: int
  • added: get Xchacha20.secretKeyLength: int
  • added: method AesCbc.cipherTextLength(int clearTextLength): int
  • added: method AesCbc.operator ==(other): bool
  • added: method AesCbc.toString(): String
  • added: method AesCbc.toSync(): DartAesCbc
  • added: method AesCtr.checkParameters({ int? length, required SecretKey secretKey, required int nonceLength, int aadLength = …, int keyStreamIndex = …, }): void
  • added: method AesCtr.operator ==(other): bool
  • added: method AesCtr.toString(): String
  • added: method AesCtr.toSync(): DartAesCtr
  • added: method AesGcm.operator ==(other): bool
  • added: method AesGcm.toString(): String
  • added: method AesGcm.toSync(): DartAesGcm
  • added: method Argon2id.deriveKey({ required SecretKey secretKey, required List<int> nonce, List<int> optionalSecret = …, List<int> associatedData = …, }): Future<SecretKey>
  • added: method Argon2id.operator ==(other): bool
  • added: method Argon2id.toString(): String
  • added: method Blake2b.checkParameters({ int? length, required SecretKey secretKey, required int nonceLength, required int aadLength, required int keyStreamIndex, }): void
  • added: method Blake2b.operator ==(other): bool
  • added: method Blake2b.replace({int? hashLength}): Blake2b
  • added: method Blake2b.toString(): String
  • added: method Blake2b.toSync(): DartBlake2b
  • added: method Blake2s.checkParameters({ int? length, required SecretKey secretKey, required int nonceLength, required int aadLength, required int keyStreamIndex, }): void
  • added: method Blake2s.operator ==(other): bool
  • added: method Blake2s.toString(): String
  • added: method Blake2s.toSync(): DartBlake2s
  • added: method BrowserCryptography.withRandom(Random? random): BrowserCryptography
  • added: method ChaChaRandom.nextUint32(): int
  • added: method ChaChaRandom.reset(): void
  • added: method ChaChaRandom.toString(): String
  • added: method Chacha20.operator ==(other): bool
  • added: method Chacha20.toString(): String
  • added: method Chacha20.toSync(): DartChacha20
  • added: method Cipher.checkParameters({ int? length, required SecretKey secretKey, required int nonceLength, int aadLength = …, int keyStreamIndex = …, }): void
  • added: method Cipher.cipherTextLength(int clearTextLength): int
  • added: method Cipher.decryptStream( Stream<List<int>> stream, { required SecretKey secretKey, required List<int> nonce, required FutureOr<Mac> mac, List<int> aad = …, bool allowUseSameBytes = …, }): Stream<List<int>>
  • added: method Cipher.decryptString( SecretBox secretBox, { required SecretKey secretKey, }): Future<String>
  • added: method Cipher.encryptStream( Stream<List<int>> stream, { required SecretKey secretKey, required List<int> nonce, required void Function(Mac mac) onMac, List<int> aad = …, bool allowUseSameBytes = …, }): Stream<List<int>>
  • added: method Cipher.encryptString( String clearText, { required SecretKey secretKey, }): Future<SecretBox>
  • added: method Cipher.newCipherWand(): Future<CipherWand>
  • added: method Cipher.newCipherWandFromSecretKey( SecretKey secretKey, { bool allowEncrypt = …, bool allowDecrypt = …, }): Future<CipherWand>
  • added: method Cipher.newSecretKeyFromBytes(List<int> bytes): Future<SecretKey>
  • added: method Cipher.newState(): CipherState
  • added: method Cipher.operator ==(other): bool
  • added: method Cipher.toSync(): DartCipher
  • added: method CipherState.convert( List<int> input, { required Mac? expectedMac, Uint8List? possibleBuffer, }): Future<List<int>>
  • added: method CipherState.convertChunkSync( List<int> input, { Uint8List? possibleBuffer, }): List<int>
  • added: method CipherState.initialize({ required bool isEncrypting, required SecretKey secretKey, required List<int> nonce, List<int> aad = …, int keyStreamIndex = …, }): Future<void>
  • added: method CipherWand.decrypt( SecretBox secretBox, { List<int> aad = …, Uint8List? possibleBuffer, }): Future<List<int>>
  • added: method CipherWand.decryptString(SecretBox secretBox): Future<String>
  • added: method CipherWand.encrypt( List<int> clearText, { List<int>? nonce, List<int> aad = …, Uint8List? possibleBuffer, }): Future<SecretBox>
  • added: method CipherWand.encryptString(String clearText): Future<SecretBox>
  • added: method Cryptography.aesCbc({ required MacAlgorithm macAlgorithm, PaddingAlgorithm paddingAlgorithm = …, int secretKeyLength = …, }): AesCbc
  • added: method Cryptography.aesCtr({ required MacAlgorithm macAlgorithm, int secretKeyLength = …, int counterBits = …, }): AesCtr
  • added: method Cryptography.aesGcm({ int secretKeyLength = …, int nonceLength = …, }): AesGcm
  • added: method Cryptography.argon2id({ required int memory, required int parallelism, required int iterations, required int hashLength, }): Argon2id
  • added: method Cryptography.blake2b({int hashLengthInBytes = …}): Blake2b
  • added: method Cryptography.blake2s({int hashLengthInBytes = …}): Blake2s
  • added: method Cryptography.chacha20({required MacAlgorithm macAlgorithm}): Chacha20
  • added: method Cryptography.chacha20Poly1305Aead(): Chacha20
  • added: method Cryptography.ecdhP256({required int length}): Ecdh
  • added: method Cryptography.ecdhP384({required int length}): Ecdh
  • added: method Cryptography.ecdhP521({required int length}): Ecdh
  • added: method Cryptography.ecdsaP256(HashAlgorithm hashAlgorithm): Ecdsa
  • added: method Cryptography.ecdsaP384(HashAlgorithm hashAlgorithm): Ecdsa
  • added: method Cryptography.ecdsaP521(HashAlgorithm hashAlgorithm): Ecdsa
  • added: method Cryptography.ed25519(): Ed25519
  • added: method Cryptography.hchacha20(): Hchacha20
  • added: method Cryptography.hkdf({required Hmac hmac, required int outputLength}): Hkdf
  • added: method Cryptography.hmac(HashAlgorithm hashAlgorithm): Hmac
  • added: method Cryptography.pbkdf2({ required MacAlgorithm macAlgorithm, required int iterations, required int bits, }): Pbkdf2
  • added: method Cryptography.poly1305(): Poly1305
  • added: method Cryptography.rsaPss(HashAlgorithm hashAlgorithm, {required int nonceLengthInBytes}): RsaPss
  • added: method Cryptography.rsaSsaPkcs1v15(HashAlgorithm hashAlgorithm): RsaSsaPkcs1v15
  • added: method Cryptography.sha1(): Sha1
  • added: method Cryptography.sha224(): Sha224
  • added: method Cryptography.sha256(): Sha256
  • added: method Cryptography.sha384(): Sha384
  • added: method Cryptography.sha512(): Sha512
  • added: method Cryptography.withRandom(Random random): Cryptography
  • added: method Cryptography.x25519(): X25519
  • added: method Cryptography.xchacha20({required MacAlgorithm macAlgorithm}): Xchacha20
  • added: method Cryptography.xchacha20Poly1305Aead(): Xchacha20
  • added: method EcKeyPair.extract(): Future<EcKeyPairData>
  • added: method EcKeyPair.extractPublicKey(): Future<EcPublicKey>
  • added: method EcKeyPairData.copy(): EcKeyPairData
  • added: method EcKeyPairData.destroy(): void
  • added: method EcKeyPairData.extract(): Future<EcKeyPairData>
  • added: method EcKeyPairData.extractPublicKey(): Future<EcPublicKey>
  • added: method EcKeyPairData.operator ==(other): bool
  • added: method EcKeyPairData.toDer(): Uint8List
  • added: method EcKeyPairData.toString(): String
  • added: method EcPublicKey.operator ==(other): bool
  • added: method EcPublicKey.toDer(): Uint8List
  • added: method EcPublicKey.toString(): String
  • added: method Ecdh.newKeyPair(): Future<EcKeyPair>
  • added: method Ecdh.newKeyPairFromSeed(List<int> seed): Future<EcKeyPair>
  • added: method Ecdh.toString(): String
  • added: method Ecdsa.newKeyPair(): Future<EcKeyPair>
  • added: method Ecdsa.newKeyPairFromSeed(List<int> seed): Future<EcKeyPair>
  • added: method Ecdsa.toString(): String
  • added: method Ed25519.newKeyPair(): Future<SimpleKeyPair>
  • added: method Ed25519.newKeyPairFromSeed(List<int> seed): Future<SimpleKeyPair>
  • added: method Ed25519.toString(): String
  • added: method HashAlgorithm.newHashSink(): HashSink
  • added: method HashAlgorithm.operator ==(other): bool
  • added: method HashAlgorithm.toSync(): DartHashAlgorithm
  • added: method HashSink.hash(): Future<Hash>
  • added: method Hchacha20.deriveKey({ required SecretKey secretKey, required List<int> nonce, }): Future<SecretKey>
  • added: method Hchacha20.operator ==(other): bool
  • added: method Hchacha20.toString(): String
  • added: method Hkdf.operator ==(other): bool
  • added: method Hkdf.toString(): String
  • added: method Hmac.operator ==(other): bool
  • added: method Hmac.toSync(): DartHmac
  • added: method KdfAlgorithm.deriveKey({ required SecretKey secretKey, required List<int> nonce, }): Future<SecretKey>
  • added: method KdfAlgorithm.deriveKeyFromPassword({ required String password, required List<int> nonce, }): Future<SecretKey>
  • added: method KeyExchangeAlgorithm.newKeyExchangeWand(): Future<KeyExchangeWand>
  • added: method KeyExchangeAlgorithm.newKeyExchangeWandFromKeyPair(KeyPair keyPair): Future<KeyExchangeWand>
  • added: method KeyExchangeAlgorithm.sharedSecretKey({ required KeyPair keyPair, required PublicKey remotePublicKey, }): Future<SecretKey>
  • added: method KeyExchangeWand.extractPublicKey(): Future<PublicKey>
  • added: method KeyExchangeWand.sharedSecretKey({ required PublicKey remotePublicKey, }): Future<SecretKey>
  • added: method KeyPair.destroy(): void
  • added: method KeyPair.extract(): Future<KeyPairData>
  • added: method KeyPair.extractPublicKey(): Future<PublicKey>
  • added: method KeyPairData.copy(): KeyPairData
  • added: method KeyPairData.extract(): Future<KeyPairData>
  • added: method KeyPairData.toString(): String
  • added: method KeyPairType.checkPrivateKeyBytesFormat(List<int> bytes): void
  • added: method KeyPairType.checkPublicKeyBytesFormat(List<int> bytes): void
  • added: method KeyPairType.isValidKeyPairData(KeyPairData keyPair): bool
  • added: method KeyPairType.isValidPublicKey(PublicKey publicKey): bool
  • added: method KeyPairType.toString(): String
  • added: method MacAlgorithm.checkParameters({ int? length, required SecretKey secretKey, required int nonceLength, required int aadLength, required int keyStreamIndex, }): void
  • added: method MacAlgorithm.newMacSink({ required SecretKey secretKey, List<int> nonce = …, List<int> aad = …, }): Future<MacSink>
  • added: method MacAlgorithm.toString(): String
  • added: method MacAlgorithm.toSync(): DartMacAlgorithm
  • added: method MacSink.close(): void
  • added: method MacSink.mac(): Future<Mac>
  • added: method PaddingAlgorithm.getBlockPadding(int blockLength, Uint8List bytes): int
  • added: method PaddingAlgorithm.paddingLength(int blockLength, int dataLength): int
  • added: method PaddingAlgorithm.setBlockPadding( int blockLength, Uint8List bytes, int start, ): void
  • added: method Pbkdf2.operator ==(other): bool
  • added: method Pbkdf2.toString(): String
  • added: method Pbkdf2.toSync(): DartPbkdf2
  • added: method Poly1305.operator ==(other): bool
  • added: method Poly1305.toSync(): DartPoly1305
  • added: method RsaKeyPair.extract(): Future<RsaKeyPairData>
  • added: method RsaKeyPair.extractPublicKey(): Future<RsaPublicKey>
  • added: method RsaKeyPairData.copy(): RsaKeyPairData
  • added: method RsaKeyPairData.extract(): Future<RsaKeyPairData>
  • added: method RsaKeyPairData.extractPublicKey(): Future<RsaPublicKey>
  • added: method RsaKeyPairData.operator ==(other): bool
  • added: method RsaKeyPairData.toString(): String
  • added: method RsaPss.operator ==(other): bool
  • added: method RsaPss.toString(): String
  • added: method RsaPublicKey.operator ==(other): bool
  • added: method RsaPublicKey.toString(): String
  • added: method RsaSsaPkcs1v15.operator ==(other): bool
  • added: method RsaSsaPkcs1v15.toString(): String
  • added: method SecretBox.checkMac({ required MacAlgorithm macAlgorithm, required SecretKey secretKey, required List<int> aad, }): Future<void>
  • added: method SecretBox.concatenation({bool nonce = …, bool mac = …}): Uint8List
  • added: method SecretBox.operator ==(other): bool
  • added: method SecretBox.toString(): String
  • added: method SecretBoxAuthenticationError.toString(): String
  • added: method SecretBoxPaddingError.toString(): String
  • added: method SecretKey.destroy(): void
  • added: method SecretKey.extractBytes(): Future<List<int>>
  • added: method SecretKeyData.copy(): SecretKeyData
  • added: method SecretKeyData.destroy(): void
  • added: method SecretKeyData.extract(): Future<SecretKeyData>
  • added: method SecretKeyData.operator ==(other): bool
  • added: method SecretKeyData.toString(): String
  • added: method SecureRandom.nextBool(): bool
  • added: method SecureRandom.nextDouble(): double
  • added: method SecureRandom.nextInt(int max): int
  • added: method SecureRandom.nextUint32(): int
  • added: method SecureRandom.nextUint52([int? max]): int
  • added: method SecureRandom.reset(): void
  • added: method SensitiveBytes.destroy(): void
  • added: method SensitiveBytes.operator [](int index): int
  • added: method SensitiveBytes.toList({bool growable = …}): List<int>
  • added: method Sha1.operator ==(other): bool
  • added: method Sha1.toSync(): DartHashAlgorithm
  • added: method Sha224.operator ==(other): bool
  • added: method Sha224.toSync(): DartHashAlgorithm
  • added: method Sha256.operator ==(other): bool
  • added: method Sha256.toSync(): DartHashAlgorithm
  • added: method Sha384.operator ==(other): bool
  • added: method Sha384.toSync(): DartHashAlgorithm
  • added: method Sha512.operator ==(other): bool
  • added: method Sha512.toSync(): DartHashAlgorithm
  • added: method SignatureAlgorithm.newSignatureWand(): Future<SignatureWand>
  • added: method SignatureAlgorithm.newSignatureWandFromKeyPair(KeyPair keyPair): Future<SignatureWand>
  • added: method SignatureAlgorithm.newSignatureWandFromSeed(List<int> seed): Future<SignatureWand>
  • added: method SignatureAlgorithm.signString(String message, {required KeyPair keyPair}): Future<Signature>
  • added: method SignatureAlgorithm.verifyString(String message, {required Signature signature}): Future<bool>
  • added: method SignatureWand.extractPublicKeyUsedForSignatures(): Future<PublicKey>
  • added: method SignatureWand.sign(List<int> message): Future<Signature>
  • added: method SignatureWand.signString(String message): Future<Signature>
  • added: method SimpleKeyPair.extract(): Future<SimpleKeyPairData>
  • added: method SimpleKeyPair.extractPrivateKeyBytes(): Future<List<int>>
  • added: method SimpleKeyPair.extractPublicKey(): Future<SimplePublicKey>
  • added: method SimpleKeyPairData.copy(): SimpleKeyPairData
  • added: method SimpleKeyPairData.destroy(): void
  • added: method SimpleKeyPairData.extract(): Future<SimpleKeyPairData>
  • added: method SimpleKeyPairData.extractPrivateKeyBytes(): Future<List<int>>
  • added: method SimpleKeyPairData.extractPublicKey(): Future<SimplePublicKey>
  • added: method SimpleKeyPairData.operator ==(other): bool
  • added: method SimpleKeyPairData.toString(): String
  • added: method SimplePublicKey.compareTo(SimplePublicKey other): int
  • added: method SimplePublicKey.operator ==(other): bool
  • added: method SimplePublicKey.toString(): String
  • added: method StreamingCipher.decrypt( SecretBox secretBox, { required SecretKey secretKey, List<int> aad = …, int keyStreamIndex = …, Uint8List? possibleBuffer, }): Future<List<int>>
  • added: method StreamingCipher.encrypt( List<int> clearText, { required SecretKey secretKey, List<int>? nonce, List<int> aad = …, int keyStreamIndex = …, Uint8List? possibleBuffer, }): Future<SecretBox>
  • added: method Wand.destroy(): Future<void>
  • added: method Wand.toString(): String
  • added: method X25519.newKeyPair(): Future<SimpleKeyPair>
  • added: method X25519.newKeyPairFromSeed(List<int> seed): Future<SimpleKeyPair>
  • added: method X25519.toString(): String
  • added: method Xchacha20.operator ==(other): bool
  • added: method Xchacha20.toString(): String
  • added: method Xchacha20.toSync(): DartXchacha20
  • added: set SensitiveBytes.length(int newLength)
  • added: static field AesCbc.blockLengthInBytes: const
  • added: static field AesCtr.defaultCounterBits: const int
  • added: static field AesGcm.aesGcmMac: const MacAlgorithm
  • added: static field AesGcm.defaultNonceLength: const int
  • added: static field Blake2b.defaultHashLengthInBytes: const int
  • added: static field Blake2s.defaultHashLengthInBytes: const int
  • added: static field BrowserCryptography.defaultInstance: final Cryptography
  • added: static field BrowserCryptography.isDisabledForTesting: bool
  • added: static field ChaChaRandom.defaultMaxBlocksBeforeReseed: const int
  • added: static field ChaChaRandom.defaultMaxDurationBeforeReseed: const Duration
  • added: static field ChaChaRandom.defaultRounds: const int
  • added: static field Cryptography.defaultInstance: final Cryptography
  • added: static field KeyPairType.): const KeyPairType
  • added: static field KeyPairType.ed25519: const KeyPairType
  • added: static field KeyPairType.p256: const KeyPairType
  • added: static field KeyPairType.p256k: const KeyPairType
  • added: static field KeyPairType.p384: const KeyPairType
  • added: static field KeyPairType.p521: const KeyPairType
  • added: static field KeyPairType.rsa: const KeyPairType
  • added: static field KeyPairType.x25519: const KeyPairType
  • added: static field Mac.empty: const Mac
  • added: static field MacAlgorithm.empty: const MacAlgorithm
  • added: static field PaddingAlgorithm.pkcs7: const PaddingAlgorithm
  • added: static field PaddingAlgorithm.zero: const PaddingAlgorithm
  • added: static field RsaPss.defaultNonceLengthInBytes: const int
  • added: static field SecureRandom.defaultRandom: final Random
  • added: static field SecureRandom.fast: final SecureRandom
  • added: static field SecureRandom.system: final Random
  • added: static get BrowserCryptography.isRunningInWasm: bool
  • added: static get BrowserCryptography.isSupported: bool
  • added: static get Cryptography.instance: Cryptography
  • added: static get SecureRandom.safe: Random
  • added: static method Cryptography.freezeInstance(Cryptography cryptography): void
  • added: static method EcKeyPairData.parseDer(Uint8List der, {required KeyPairType type}): EcKeyPairData
  • added: static method EcPublicKey.parseDer(List<int> der, {required KeyPairType type}): EcPublicKey
  • added: static method Ed25519.checkSignatureLength(int length): void
  • added: static method SecretBox.fromConcatenation( List<int> data, { required int nonceLength, required int macLength, bool copy = …, }): SecretBox
  • added: static set Cryptography.instance(Cryptography cryptography)
  • added: class DartAesCbc extends AesCbc with DartAesMixin
  • added: class DartAesCtr extends AesCtr with DartAesMixin, DartCipherWithStateMixin
  • added: class DartAesGcm extends AesGcm with DartAesMixin
  • added: class DartArgon2State: abstract
  • added: class DartArgon2id extends Argon2id
  • added: class DartBlake2b extends Blake2b with DartHashAlgorithmMixin, DartMacAlgorithmMixin
  • added: class DartBlake2s extends Blake2s with DartHashAlgorithmMixin, DartMacAlgorithmMixin
  • added: class DartChacha20 extends Chacha20 with DartStreamingCipherMixin, DartCipherWithStateMixin
  • added: class DartChacha20Poly1305AeadMacAlgorithm extends MacAlgorithm with DartMacAlgorithmMixin
  • added: class DartChacha20Poly1305AeadMacAlgorithmSink extends DartPoly1305Sink
  • added: class DartChacha20State extends DartCipherState
  • added: class DartCipher: abstract implements Cipher
  • added: class DartCipherState: abstract extends CipherState
  • added: class DartCryptography extends Cryptography
  • added: class DartEcdh extends Ecdh
  • added: class DartEcdsa extends Ecdsa
  • added: class DartEd25519 extends Ed25519
  • added: class DartGcm extends MacAlgorithm with DartMacAlgorithmMixin
  • added: class DartHChacha20 extends Hchacha20
  • added: class DartHashAlgorithm: abstract extends HashAlgorithm
  • added: class DartHashSink: abstract extends HashSink
  • added: class DartHkdf extends Hkdf
  • added: class DartHmac extends Hmac with DartMacAlgorithmMixin
  • added: class DartMacAlgorithm: abstract extends MacAlgorithm
  • added: class DartPbkdf2 extends Pbkdf2
  • added: class DartPoly1305 extends Poly1305 with DartMacAlgorithmMixin
  • added: class DartPoly1305Sink extends MacSink with DartMacSinkMixin
  • added: class DartRsaPss extends RsaPss
  • added: class DartRsaSsaPkcs1v15 extends RsaSsaPkcs1v15
  • added: class DartSha1 extends Sha1 with DartHashAlgorithmMixin, PackageCryptoHashMixin
  • added: class DartSha224 extends Sha224 with DartHashAlgorithmMixin
  • added: class DartSha256 extends Sha256 with DartHashAlgorithmMixin
  • added: class DartSha384 extends Sha384 with DartHashAlgorithmMixin, PackageCryptoHashMixin
  • added: class DartSha512 extends Sha512 with DartHashAlgorithmMixin, PackageCryptoHashMixin
  • added: class DartX25519 extends X25519 with DartKeyExchangeAlgorithmMixin
  • added: class DartXchacha20 extends Xchacha20 with DartCipherMixin, DartCipherWithStateMixin
  • added: ctor DartAesCbc({ required this.macAlgorithm, this.paddingAlgorithm = …, this.secretKeyLength = …, super.random, })
  • added: ctor DartAesCbc.with128bits({ required MacAlgorithm macAlgorithm, PaddingAlgorithm paddingAlgorithm = …, })
  • added: ctor DartAesCbc.with192bits({ required MacAlgorithm macAlgorithm, PaddingAlgorithm paddingAlgorithm = …, })
  • added: ctor DartAesCbc.with256bits({ required MacAlgorithm macAlgorithm, PaddingAlgorithm paddingAlgorithm = …, })
  • added: ctor DartAesCtr({ required this.macAlgorithm, this.secretKeyLength = …, this.counterBits = …, super.random, })
  • added: ctor DartAesCtr.with128bits({ required MacAlgorithm macAlgorithm, int counterBits = …, })
  • added: ctor DartAesCtr.with192bits({ required MacAlgorithm macAlgorithm, int counterBits = …, })
  • added: ctor DartAesCtr.with256bits({ required MacAlgorithm macAlgorithm, int counterBits = …, })
  • added: ctor DartAesGcm({ this.secretKeyLength = …, this.nonceLength = …, super.random, })
  • added: ctor DartAesGcm.with128bits({ int nonceLength = …, })
  • added: ctor DartAesGcm.with192bits({ int nonceLength = …, })
  • added: ctor DartAesGcm.with256bits({ int nonceLength = …, })
  • added: ctor DartArgon2State({ required DartArgon2Mode mode, required int parallelism, required int memory, required int iterations, required int hashLength, int? maxIsolates, int? minBlocksPerSliceForEachIsolate, int? blocksPerProcessingChunk, int version, ByteBuffer? buffer, })
  • added: ctor DartArgon2State.constructor({ this.version = …, required this.mode, required this.parallelism, required this.memory, required this.iterations, required this.hashLength, this.maxIsolates, this.minBlocksPerSliceForEachIsolate, this.blocksPerProcessingChunk, })
  • added: ctor DartArgon2id({ required this.parallelism, required this.memory, required this.iterations, required this.hashLength, this.maxIsolates, this.minBlocksPerSliceForEachIsolate, this.blocksPerProcessingChunk, })
  • added: ctor DartBlake2b({ super.hashLengthInBytes = …, })
  • added: ctor DartBlake2s({ super.hashLengthInBytes = …, })
  • added: ctor DartChacha20({ required this.macAlgorithm, super.random, })
  • added: ctor DartChacha20.poly1305Aead({ super.random, })
  • added: ctor DartChacha20Poly1305AeadMacAlgorithm({ @Deprecated('Do not use') Chacha20? chacha20, @Deprecated('Do not use') Poly1305? poly1305, @Deprecated('Do not use') bool useStaticBuffer = …, })
  • added: ctor DartChacha20State({ required super.cipher, })
  • added: ctor DartCipherState({ required this.cipher, })
  • added: ctor DartCryptography({ Random? random, })
  • added: ctor DartEcdh.p256({Random? random})
  • added: ctor DartEcdh.p384({Random? random})
  • added: ctor DartEcdh.p521({Random? random})
  • added: ctor DartEcdsa.p256( HashAlgorithm hashAlgorithm, { Random? random, })
  • added: ctor DartEcdsa.p384( HashAlgorithm hashAlgorithm, { Random? random, })
  • added: ctor DartEcdsa.p521( HashAlgorithm hashAlgorithm, { Random? random, })
  • added: ctor DartEd25519({ Sha512? sha512, super.random, })
  • added: ctor DartGcm()
  • added: ctor DartHChacha20()
  • added: ctor DartHkdf({required this.hmac, required this.outputLength})
  • added: ctor DartHmac(this.hashAlgorithm)
  • added: ctor DartHmac.blake2b()
  • added: ctor DartHmac.blake2s()
  • added: ctor DartHmac.sha1()
  • added: ctor DartHmac.sha224()
  • added: ctor DartHmac.sha256()
  • added: ctor DartHmac.sha384()
  • added: ctor DartHmac.sha512()
  • added: ctor DartPbkdf2({ required this.macAlgorithm, required this.iterations, required this.bits, this.pauseFrequency = …, this.pausePeriod = …, })
  • added: ctor DartPoly1305()
  • added: ctor DartPoly1305Sink()
  • added: ctor DartRsaPss( this.hashAlgorithm, { this.nonceLengthInBytes = …, Random? random, })
  • added: ctor DartRsaSsaPkcs1v15( this.hashAlgorithm, { Random? random, })
  • added: ctor DartSha1()
  • added: ctor DartSha224()
  • added: ctor DartSha256()
  • added: ctor DartSha384()
  • added: ctor DartSha512()
  • added: ctor DartX25519({super.random})
  • added: ctor DartXchacha20({ required this.macAlgorithm, super.random, })
  • added: ctor DartXchacha20.poly1305Aead({ super.random, })
  • added: enum DartArgon2Mode
  • added: field DartAesCbc.macAlgorithm: final MacAlgorithm
  • added: field DartAesCbc.paddingAlgorithm: final PaddingAlgorithm
  • added: field DartAesCbc.secretKeyLength: final int
  • added: field DartAesCtr.counterBits: final int
  • added: field DartAesCtr.macAlgorithm: final MacAlgorithm
  • added: field DartAesCtr.secretKeyLength: final int
  • added: field DartAesGcm.nonceLength: final int
  • added: field DartAesGcm.secretKeyLength: final int
  • added: field DartArgon2State.()
  • added: field DartArgon2State.blockCount: late final int
  • added: field DartArgon2State.blocksPerProcessingChunk: final int?
  • added: field DartArgon2State.hashLength: final int
  • added: field DartArgon2State.iterations: final int
  • added: field DartArgon2State.maxIsolates: final int?
  • added: field DartArgon2State.memory: final int
  • added: field DartArgon2State.minBlocksPerSliceForEachIsolate: final int?
  • added: field DartArgon2State.mode: final DartArgon2Mode
  • added: field DartArgon2State.parallelism: final int
  • added: field DartArgon2State.version: final int
  • added: field DartArgon2id.blocksPerProcessingChunk: final int?
  • added: field DartArgon2id.hashLength: final int
  • added: field DartArgon2id.iterations: final int
  • added: field DartArgon2id.maxIsolates: final int?
  • added: field DartArgon2id.memory: final int
  • added: field DartArgon2id.minBlocksPerSliceForEachIsolate: final int?
  • added: field DartArgon2id.parallelism: final int
  • added: field DartChacha20.macAlgorithm: final MacAlgorithm
  • added: field DartChacha20State.block: late final Uint8List
  • added: field DartChacha20State.blockAsUint32List: final Uint32List
  • added: field DartCipherState.cipher: final Cipher
  • added: field DartCipherState.keyStreamIndex: int
  • added: field DartEcdh.keyPairType: final KeyPairType
  • added: field DartEcdsa.hashAlgorithm: final HashAlgorithm
  • added: field DartEcdsa.keyPairType: final KeyPairType
  • added: field DartHkdf.hmac: final Hmac
  • added: field DartHkdf.outputLength: final int
  • added: field DartHmac.hashAlgorithm: final HashAlgorithm
  • added: field DartPbkdf2.bits: final int
  • added: field DartPbkdf2.iterations: final int
  • added: field DartPbkdf2.macAlgorithm: final MacAlgorithm
  • added: field DartPbkdf2.pauseFrequency: final int
  • added: field DartPbkdf2.pausePeriod: final Duration
  • added: field DartRsaPss.hashAlgorithm: final HashAlgorithm
  • added: field DartRsaPss.nonceLengthInBytes: final int
  • added: field DartRsaSsaPkcs1v15.hashAlgorithm: final HashAlgorithm
  • added: field DartX25519.()
  • added: field DartXchacha20.macAlgorithm: final MacAlgorithm
  • added: get DartArgon2Mode.code: int
  • added: get DartArgon2State.blocksPerLane: int
  • added: get DartArgon2State.blocksPerSegment: int
  • added: get DartArgon2State.isBufferUsed: bool
  • added: get DartArgon2State.isolateCount: int
  • added: get DartArgon2id.hashCode: int
  • added: get DartChacha20Poly1305AeadMacAlgorithm.hashCode: int
  • added: get DartChacha20Poly1305AeadMacAlgorithm.keyStreamUsed: int
  • added: get DartChacha20Poly1305AeadMacAlgorithm.macLength: int
  • added: get DartChacha20Poly1305AeadMacAlgorithm.supportsAad: bool
  • added: get DartCipherState.block: Uint8List
  • added: get DartCipherState.blockAsUint32List: Uint32List
  • added: get DartCipherState.mac: Mac
  • added: get DartCipherState.macSink: MacSink
  • added: get DartCipherWithStateMixin.optimalChunkSize: int
  • added: get DartGcm.macLength: int
  • added: get DartGcm.supportsAad: bool
  • added: get DartHashSink.hashBytes: Uint8List
  • added: get DartHashSink.isClosed: bool
  • added: get DartHashSink.length: int
  • added: get DartMacSinkMixin.macBytes: Uint8List
  • added: get DartPoly1305Sink.isClosed: bool
  • added: get DartPoly1305Sink.length: int
  • added: get DartPoly1305Sink.macBytes: Uint8List
  • added: get DartSha1.impl: other.Hash
  • added: get DartSha384.impl: other.Hash
  • added: get DartSha512.impl: other.Hash
  • added: get DartXchacha20.nonceLength: int
  • added: get DartXchacha20.secretKeyLength: int
  • added: member DartArgon2Mode.argon2d
  • added: member DartArgon2Mode.argon2i
  • added: member DartArgon2Mode.argon2id
  • added: method DartAesCbc.decrypt( SecretBox secretBox, { required SecretKey secretKey, List<int> aad = …, int keyStreamIndex = …, Uint8List? possibleBuffer, }): Future<List<int>>
  • added: method DartAesCbc.encrypt( List<int> clearText, { required SecretKey secretKey, List<int>? nonce, List<int> aad = …, int keyStreamIndex = …, Uint8List? possibleBuffer, }): Future<SecretBox>
  • added: method DartAesCbc.toSync(): DartAesCbc
  • added: method DartAesCtr.newState(): DartCipherState
  • added: method DartAesCtr.toSync(): DartAesCtr
  • added: method DartAesGcm.decrypt( SecretBox secretBox, { required SecretKey secretKey, List<int> aad = …, Uint8List? possibleBuffer, }): Future<List<int>>
  • added: method DartAesGcm.decryptSync( SecretBox secretBox, { required SecretKeyData secretKeyData, List<int> aad = …, }): List<int>
  • added: method DartAesGcm.encrypt( List<int> clearText, { required SecretKey secretKey, List<int>? nonce, List<int> aad = …, Uint8List? possibleBuffer, }): Future<SecretBox>
  • added: method DartAesGcm.encryptSync( List<int> clearText, { required SecretKeyData secretKeyData, List<int>? nonce, List<int> aad = …, }): SecretBox
  • added: method DartAesGcm.toSync(): DartAesGcm
  • added: method DartArgon2State.deriveKeyBytes({ required List<int> password, List<int> nonce = …, List<int> optionalSecret = …, List<int> associatedData = …, }): Future<List<int>>
  • added: method DartArgon2State.deriveKeyBytesFromPrehashingDigest(Uint8List h0): Future<List<int>>
  • added: method DartArgon2State.gb(Uint32List data, int a, int b, int c, int d): void
  • added: method DartArgon2State.getBlock({ required int lane, required int slice, required int index, }): Uint32List
  • added: method DartArgon2State.getByteBuffer(): ByteBuffer
  • added: method DartArgon2State.initialize({ required Uint8List h0, }): void
  • added: method DartArgon2State.iterate(): Future<void>
  • added: method DartArgon2State.permutation( Uint32List data, int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7, ): void
  • added: method DartArgon2State.preHashingDigest({ required List<int> password, required List<int> nonce, required List<int> optionalSecret, required List<int> associatedData, }): Uint8List
  • added: method DartArgon2State.processBlock({ required Uint32List output, required Uint32List input0, required Uint32List input1, required bool isXorred, }): void
  • added: method DartArgon2State.processSegment({ required int iteration, required int slice, required int lane, }): Future<void>
  • added: method DartArgon2State.referredBlockIndex({ required int iteration, required int slice, required int lane, required int index, required int j1, required int j2, })
  • added: method DartArgon2State.referredBlockIndexZZ( int j1, int candidatesLength, ): int
  • added: method DartArgon2State.tryReleaseMemory(): void
  • added: method DartArgon2State.variableLengthHash({ required Uint8List output, required Uint8List input, }): void
  • added: method DartArgon2id.deriveKey({ required SecretKey secretKey, required List<int> nonce, List<int> optionalSecret = …, List<int> associatedData = …, }): Future<SecretKey>
  • added: method DartArgon2id.newState(): DartArgon2State
  • added: method DartArgon2id.operator ==(other): bool
  • added: method DartBlake2b.newHashSink(): Blake2bSink
  • added: method DartBlake2b.newMacSinkSync({ required SecretKeyData secretKeyData, List<int> nonce = …, List<int> aad = …, }): Blake2bSink
  • added: method DartBlake2b.replace({int? hashLength}): DartBlake2b
  • added: method DartBlake2b.toSync(): DartBlake2b
  • added: method DartBlake2s.newHashSink({SecretKeyData? secretKey}): DartHashSink
  • added: method DartBlake2s.newMacSinkSync({ required SecretKeyData secretKeyData, List<int> nonce = …, List<int> aad = …, }): DartMacSinkMixin
  • added: method DartBlake2s.toSync(): DartBlake2s
  • added: method DartChacha20.newState(): DartCipherState
  • added: method DartChacha20.toSync(): DartChacha20
  • added: method DartChacha20Poly1305AeadMacAlgorithm.newMacSinkSync({ required SecretKeyData secretKeyData, List<int> nonce = …, List<int> aad = …, }): DartMacSinkMixin
  • added: method DartChacha20Poly1305AeadMacAlgorithm.operator ==(other): bool
  • added: method DartChacha20Poly1305AeadMacAlgorithm.toSync(): DartChacha20Poly1305AeadMacAlgorithm
  • added: method DartChacha20Poly1305AeadMacAlgorithmSink.afterData(): void
  • added: method DartChacha20Poly1305AeadMacAlgorithmSink.beforeData({ required SecretKeyData secretKey, required List<int> nonce, List<int> aad = …, }): void
  • added: method DartChacha20Poly1305AeadMacAlgorithmSink.deriveSecretKey({ required SecretKeyData secretKey, required List<int> nonce, }): SecretKeyData
  • added: method DartChacha20Poly1305AeadMacAlgorithmSink.initializeSync({ required SecretKeyData secretKey, required List<int> nonce, List<int> aad = …, }): void
  • added: method DartChacha20State.beforeData({ required SecretKeyData secretKey, required List<int> nonce, List<int> aad = …, }): void
  • added: method DartChacha20State.setBlock(int blockIndex): void
  • added: method DartCipher.toSync(): DartCipher
  • added: method DartCipherMixin.newSecretKey(): Future<SecretKey>
  • added: method DartCipherMixin.newSecretKeySync(): SecretKey
  • added: method DartCipherState.beforeClose(): List<int>
  • added: method DartCipherState.beforeData({ required SecretKeyData secretKey, required List<int> nonce, List<int> aad = …, }): void
  • added: method DartCipherState.convert( List<int> input, { Uint8List? possibleBuffer, Mac? expectedMac, int? chunkSize, }): Future<List<int>>
  • added: method DartCipherState.convertChunkSync( List<int> input, { Uint8List? possibleBuffer, }): List<int>
  • added: method DartCipherState.convertSync( List<int> input, { Uint8List? possibleBuffer, Mac? expectedMac, }): List<int>
  • added: method DartCipherState.deriveKeySync({ required SecretKeyData secretKey, required List<int> nonce, }): SecretKeyData
  • added: method DartCipherState.deriveNonce({ required SecretKeyData secretKey, required List<int> nonce, }): List<int>
  • added: method DartCipherState.initialize({ required bool isEncrypting, required SecretKey secretKey, required List<int> nonce, List<int> aad = …, int keyStreamIndex = …, }): Future<void>
  • added: method DartCipherState.initializeSync({ required bool isEncrypting, required SecretKey secretKey, required List<int> nonce, List<int> aad = …, int keyStreamIndex = …, }): void
  • added: method DartCipherState.setBlock(int blockIndex): void
  • added: method DartCipherWithStateMixin.decrypt( SecretBox secretBox, { required SecretKey secretKey, List<int> aad = …, int keyStreamIndex = …, int? chunkSize, Uint8List? possibleBuffer, }): Future<List<int>>
  • added: method DartCipherWithStateMixin.decryptSync( SecretBox secretBox, { required SecretKeyData secretKey, List<int> aad = …, int keyStreamIndex = …, Uint8List? possibleBuffer, }): List<int>
  • added: method DartCipherWithStateMixin.encrypt( List<int> clearText, { required SecretKey secretKey, List<int>? nonce, List<int> aad = …, int keyStreamIndex = …, int? chunkSize, Uint8List? possibleBuffer, }): Future<SecretBox>
  • added: method DartCipherWithStateMixin.encryptSync( List<int> clearText, { required SecretKeyData secretKey, List<int>? nonce, List<int> aad = …, int keyStreamIndex = …, Uint8List? possibleBuffer, }): SecretBox
  • added: method DartCipherWithStateMixin.newState(): DartCipherState
  • added: method DartCryptography.aesCbc({ required MacAlgorithm macAlgorithm, PaddingAlgorithm paddingAlgorithm = …, int secretKeyLength = …, }): AesCbc
  • added: method DartCryptography.aesCtr({ required MacAlgorithm macAlgorithm, int secretKeyLength = …, int counterBits = …, }): AesCtr
  • added: method DartCryptography.aesGcm({ int secretKeyLength = …, int nonceLength = …, }): AesGcm
  • added: method DartCryptography.argon2id({ required int memory, required int parallelism, required int iterations, required int hashLength, }): Argon2id
  • added: method DartCryptography.blake2b({int hashLengthInBytes = …}): Blake2b
  • added: method DartCryptography.blake2s({int hashLengthInBytes = …}): Blake2s
  • added: method DartCryptography.chacha20({required MacAlgorithm macAlgorithm}): Chacha20
  • added: method DartCryptography.chacha20Poly1305Aead(): Chacha20
  • added: method DartCryptography.ecdhP256({required int length}): Ecdh
  • added: method DartCryptography.ecdhP384({required int length}): Ecdh
  • added: method DartCryptography.ecdhP521({required int length}): Ecdh
  • added: method DartCryptography.ecdsaP256(HashAlgorithm hashAlgorithm): Ecdsa
  • added: method DartCryptography.ecdsaP384(HashAlgorithm hashAlgorithm): Ecdsa
  • added: method DartCryptography.ecdsaP521(HashAlgorithm hashAlgorithm): Ecdsa
  • added: method DartCryptography.ed25519(): Ed25519
  • added: method DartCryptography.hchacha20(): Hchacha20
  • added: method DartCryptography.hkdf({required Hmac hmac, required int outputLength}): Hkdf
  • added: method DartCryptography.hmac(HashAlgorithm hashAlgorithm): Hmac
  • added: method DartCryptography.pbkdf2({ required MacAlgorithm macAlgorithm, required int iterations, required int bits, }): Pbkdf2
  • added: method DartCryptography.poly1305(): Poly1305
  • added: method DartCryptography.rsaPss( HashAlgorithm hashAlgorithm, { required int nonceLengthInBytes, }): RsaPss
  • added: method DartCryptography.rsaSsaPkcs1v15(HashAlgorithm hashAlgorithm): RsaSsaPkcs1v15
  • added: method DartCryptography.sha1(): Sha1
  • added: method DartCryptography.sha224(): Sha224
  • added: method DartCryptography.sha256(): Sha256
  • added: method DartCryptography.sha384(): Sha384
  • added: method DartCryptography.sha512(): Sha512
  • added: method DartCryptography.withRandom(Random? random): DartCryptography
  • added: method DartCryptography.x25519(): X25519
  • added: method DartCryptography.xchacha20({required MacAlgorithm macAlgorithm}): Xchacha20
  • added: method DartCryptography.xchacha20Poly1305Aead(): Xchacha20
  • added: method DartEcdh.newKeyPair(): Future<EcKeyPair>
  • added: method DartEcdh.newKeyPairFromSeed(List<int> seed): Future<EcKeyPair>
  • added: method DartEcdh.sharedSecretKey({ required KeyPair keyPair, required PublicKey remotePublicKey, }): Future<SecretKey>
  • added: method DartEcdsa.newKeyPair(): Future<EcKeyPair>
  • added: method DartEcdsa.newKeyPairFromSeed(List<int> seed): Future<EcKeyPair>
  • added: method DartEcdsa.sign( List<int> message, { required KeyPair keyPair, PublicKey? publicKey, }): Future<Signature>
  • added: method DartEcdsa.verify( List<int> message, { required Signature signature, }): Future<bool>
  • added: method DartEd25519.newKeyPairFromSeed(List<int> seed): Future<SimpleKeyPair>
  • added: method DartEd25519.sign( List<int> message, { required KeyPair keyPair, PublicKey? publicKey, }): Future<Signature>
  • added: method DartEd25519.verify(List<int> message, {required Signature signature}): Future<bool>
  • added: method DartGcm.calculateMac( List<int> bytes, { required SecretKey secretKey, List<int> nonce = …, List<int> aad = …, }): Future<Mac>
  • added: method DartGcm.newMacSinkSync( {required SecretKeyData secretKeyData, List<int> nonce = …, List<int> aad = …}): DartMacSinkMixin
  • added: method DartGcm.toString(): String
  • added: method DartGcm.toSync(): DartGcm
  • added: method DartHChacha20.deriveKey({ required SecretKey secretKey, required List<int> nonce, }): Future<SecretKey>
  • added: method DartHChacha20.deriveKeySync({ required SecretKeyData secretKeyData, required List<int> nonce, }): SecretKeyData
  • added: method DartHashAlgorithm.hashSync(List<int> data): Hash
  • added: method DartHashAlgorithm.newHashSink(): DartHashSink
  • added: method DartHashAlgorithm.toSync(): DartHashAlgorithm
  • added: method DartHashAlgorithmMixin.hash(List<int> input): Future<Hash>
  • added: method DartHashAlgorithmMixin.hashSync(List<int> data): Hash
  • added: method DartHashAlgorithmMixin.newHashSink(): DartHashSink
  • added: method DartHashSink.add(List<int> chunk): void
  • added: method DartHashSink.addSlice(List<int> chunk, int start, int end, bool isLast): void
  • added: method DartHashSink.close(): void
  • added: method DartHashSink.hash(): Future<Hash>
  • added: method DartHashSink.hashSync(): Hash
  • added: method DartHashSink.reset(): void
  • added: method DartHkdf.deriveKey({ required SecretKey secretKey, List<int> nonce = …, List<int> info = …, }): Future<SecretKeyData>
  • added: method DartHmac.newMacSinkSync({ required SecretKeyData secretKeyData, List<int> nonce = …, List<int> aad = …, }): DartMacSinkMixin
  • added: method DartHmac.toSync(): DartHmac
  • added: method DartKeyExchangeAlgorithmMixin.sharedSecretKey({ required KeyPair keyPair, required PublicKey remotePublicKey, }): Future<SecretKey>
  • added: method DartKeyExchangeAlgorithmMixin.sharedSecretSync({ required KeyPairData keyPairData, required PublicKey remotePublicKey, }): SecretKey
  • added: method DartMacAlgorithm.calculateMacSync( List<int> cipherText, { required SecretKeyData secretKeyData, required List<int> nonce, List<int> aad = …, }): Mac
  • added: method DartMacAlgorithm.newMacSinkSync({ required SecretKeyData secretKeyData, List<int> nonce = …, List<int> aad = …, }): DartMacSinkMixin
  • added: method DartMacAlgorithmMixin.afterData(): void
  • added: method DartMacAlgorithmMixin.beforeData({ required SecretKeyData secretKey, required List<int> nonce, List<int> aad = …, }): void
  • added: method DartMacAlgorithmMixin.calculateMac( List<int> bytes, { required SecretKey secretKey, List<int> nonce = …, List<int> aad = …, }): Future<Mac>
  • added: method DartMacAlgorithmMixin.calculateMacSync( List<int> bytes, { required SecretKeyData secretKeyData, required List<int> nonce, List<int> aad = …, }): Mac
  • added: method DartMacAlgorithmMixin.newMacSink({ required SecretKey secretKey, List<int> nonce = …, List<int> aad = …, }): Future<DartMacSinkMixin>
  • added: method DartMacAlgorithmMixin.newMacSinkSync({ required SecretKeyData secretKeyData, List<int> nonce = …, List<int> aad = …, }): DartMacSinkMixin
  • added: method DartMacSinkMixin.initializeSync({ required SecretKeyData secretKey, required List<int> nonce, List<int> aad = …, }): void
  • added: method DartMacSinkMixin.mac(): Future<Mac>
  • added: method DartMacSinkMixin.macSync(): Mac
  • added: method DartPbkdf2.deriveKey({ required SecretKey secretKey, required List<int> nonce, }): Future<SecretKey>
  • added: method DartPoly1305.newMacSinkSync({ required SecretKeyData secretKeyData, List<int> nonce = …, List<int> aad = …, }): DartPoly1305Sink
  • added: method DartPoly1305.toSync(): DartPoly1305
  • added: method DartPoly1305Sink.addSlice(List<int> chunk, int start, int end, bool isLast): void
  • added: method DartPoly1305Sink.afterData(): void
  • added: method DartPoly1305Sink.beforeData({ required SecretKeyData secretKey, required List<int> nonce, required List<int> aad, }): void
  • added: method DartPoly1305Sink.close(): void
  • added: method DartPoly1305Sink.initializeSync({ required SecretKeyData secretKey, required List<int> nonce, List<int> aad = …, }): void
  • added: method DartPoly1305Sink.macSync(): Mac
  • added: method DartRsaPss.newKeyPair( {int modulusLength = …, List<int> publicExponent = …}): Future<RsaKeyPair>
  • added: method DartRsaPss.sign(List<int> message, {required KeyPair keyPair}): Future<Signature>
  • added: method DartRsaPss.verify(List<int> message, {required Signature signature}): Future<bool>
  • added: method DartRsaSsaPkcs1v15.newKeyPair({ int modulusLength = …, List<int> publicExponent = …, }): Future<RsaKeyPair>
  • added: method DartRsaSsaPkcs1v15.sign(List<int> message, {required KeyPair keyPair}): Future<Signature>
  • added: method DartRsaSsaPkcs1v15.verify(List<int> message, {required Signature signature}): Future<bool>
  • added: method DartSha224.newHashSink(): DartHashSink
  • added: method DartSha256.newHashSink(): DartHashSink
  • added: method DartSignatureAlgorithmMixin.sign( List<int> input, { required KeyPair keyPair, }): Future<Signature>
  • added: method DartSignatureAlgorithmMixin.signSync( List<int> input, { required KeyPairData keyPairData, }): Signature
  • added: method DartSignatureAlgorithmMixin.verify( List<int> input, { required Signature signature, }): Future<bool>
  • added: method DartSignatureAlgorithmMixin.verifySync( List<int> input, { required Signature signature, }): bool
  • added: method DartStreamingCipherMixin.decrypt( SecretBox secretBox, { required SecretKey secretKey, List<int> aad = …, int keyStreamIndex = …, Uint8List? possibleBuffer, }): Future<List<int>>
  • added: method DartStreamingCipherMixin.decryptSync( SecretBox secretBox, { required SecretKeyData secretKey, List<int> aad = …, int keyStreamIndex = …, }): List<int>
  • added: method DartStreamingCipherMixin.encrypt( List<int> clearText, { required SecretKey secretKey, List<int>? nonce, List<int> aad = …, int keyStreamIndex = …, Uint8List? possibleBuffer, }): Future<SecretBox>
  • added: method DartStreamingCipherMixin.encryptSync( List<int> clearText, { required SecretKeyData secretKey, List<int>? nonce, List<int> aad = …, int keyStreamIndex = …, }): SecretBox
  • added: method DartStreamingCipherMixin.newSecretKey(): Future<SecretKey>
  • added: method DartStreamingCipherMixin.newSecretKeySync(): SecretKey
  • added: method DartX25519.newKeyPairFromSeed(List<int> seed): Future<SimpleKeyPair>
  • added: method DartX25519.sharedSecretSync({ required KeyPairData keyPairData, required PublicKey remotePublicKey, }): SecretKey
  • added: method DartXchacha20.newState(): DartCipherState
  • added: mixin DartCipherMixin implements DartCipher
  • added: mixin DartCipherWithStateMixin implements StreamingCipher
  • added: mixin DartHashAlgorithmMixin implements DartHashAlgorithm
  • added: mixin DartKeyExchangeAlgorithmMixin implements KeyExchangeAlgorithm
  • added: mixin DartMacAlgorithmMixin implements DartMacAlgorithm
  • added: mixin DartMacSinkMixin implements MacSink
  • added: mixin DartSignatureAlgorithmMixin implements SignatureAlgorithm
  • added: mixin DartStreamingCipherMixin implements StreamingCipher, DartCipher
  • added: static field DartCipherState.defaultChunkSize: const int
  • added: static field DartCryptography.defaultInstance: final DartCryptography
  • added: static field DartXchacha20.poly1305AeadMacAlgorithm: const MacAlgorithm
  • added: static method DartChacha20.chachaRounds( Uint32List state, int si, Uint32List initialState, { required int rounds, bool addAndXor = …, }): void
  • added: static method DartChacha20.initializeChacha( Uint32List state, { required List<int> key, required List<int> nonce, int keyStreamIndex = …, }): void
  • added: static method DartPoly1305Sink.process({ required ByteData block, required Uint16List a, required Uint16List s, required Uint16List r, required Uint32List tmp, required int blockLength, required bool isLast, }): void
  • added: static method DartX25519.modifiedPrivateKeyBytes(List<int> seed): Uint8List
  • added: class DelegatingCipher: abstract implements Cipher
  • added: class DelegatingCryptography: abstract implements Cryptography
  • added: class DelegatingEcdh: abstract extends DelegatingKeyExchangeAlgorithm implements Ecdh
  • added: class DelegatingEcdsa: abstract extends DelegatingSignatureAlgorithm implements Ecdsa
  • added: class DelegatingEd25519: abstract extends DelegatingSignatureAlgorithm implements Ed25519
  • added: class DelegatingKeyExchangeAlgorithm: abstract extends KeyExchangeAlgorithm
  • added: class DelegatingRsaPss: abstract extends DelegatingSignatureAlgorithm implements RsaPss
  • added: class DelegatingSignatureAlgorithm: abstract extends SignatureAlgorithm
  • added: class DelegatingStreamingCipher: abstract extends DelegatingCipher implements StreamingCipher
  • added: ctor DelegatingCryptography()
  • added: ctor DelegatingEcdh()
  • added: ctor DelegatingEcdsa()
  • added: ctor DelegatingEd25519()
  • added: ctor DelegatingKeyExchangeAlgorithm()
  • added: ctor DelegatingRsaPss()
  • added: ctor DelegatingSignatureAlgorithm()
  • added: function bytesIncrementBigEndian(Uint8List bytes, int n): void
  • added: function fillBytesWithSecureRandom(Uint8List bytes, {Random? random}): void
  • added: function randomBytes(int length, {Random? random}): Uint8List
  • added: function randomBytesAsHexString(int length, {Random? random}): String
  • added: get DelegatingCipher.fallback: Cipher
  • added: get DelegatingCipher.macAlgorithm: MacAlgorithm
  • added: get DelegatingCipher.nonceLength: int
  • added: get DelegatingCipher.secretKeyLength: int
  • added: get DelegatingCryptography.fallback: Cryptography
  • added: get DelegatingEcdh.fallback: Ecdh
  • added: get DelegatingEcdh.keyPairType: KeyPairType<KeyPairData, PublicKey>
  • added: get DelegatingEcdsa.fallback: Ecdsa
  • added: get DelegatingEcdsa.hashAlgorithm: HashAlgorithm
  • added: get DelegatingEd25519.fallback: Ed25519
  • added: get DelegatingKeyExchangeAlgorithm.fallback: KeyExchangeAlgorithm
  • added: get DelegatingKeyExchangeAlgorithm.keyPairType: KeyPairType<KeyPairData, PublicKey>
  • added: get DelegatingRsaPss.fallback: RsaPss
  • added: get DelegatingRsaPss.hashAlgorithm: HashAlgorithm
  • added: get DelegatingRsaPss.nonceLengthInBytes: int
  • added: get DelegatingSignatureAlgorithm.fallback: SignatureAlgorithm
  • added: get DelegatingSignatureAlgorithm.keyPairType: KeyPairType<KeyPairData, PublicKey>
  • added: get DelegatingStreamingCipher.fallback: StreamingCipher
  • added: method DelegatingCipher.cipherTextLength(int clearTextLength): int
  • added: method DelegatingCipher.decrypt( SecretBox secretBox, { required SecretKey secretKey, List<int> aad = …, Uint8List? possibleBuffer, }): Future<List<int>>
  • added: method DelegatingCipher.encrypt( List<int> clearText, { required SecretKey secretKey, List<int>? nonce, List<int> aad = …, Uint8List? possibleBuffer, }): Future<SecretBox>
  • added: method DelegatingCipher.newNonce(): List<int>
  • added: method DelegatingCipher.newSecretKey(): Future<SecretKey>
  • added: method DelegatingCipher.newSecretKeyFromBytes(List<int> bytes): Future<SecretKey>
  • added: method DelegatingCryptography.aesCbc({ required MacAlgorithm macAlgorithm, PaddingAlgorithm paddingAlgorithm = …, int secretKeyLength = …, }): AesCbc
  • added: method DelegatingCryptography.aesCtr({ required MacAlgorithm macAlgorithm, int secretKeyLength = …, int counterBits = …, }): AesCtr
  • added: method DelegatingCryptography.aesGcm({int secretKeyLength = …, int nonceLength = …}): AesGcm
  • added: method DelegatingCryptography.argon2id({ required int memory, required int parallelism, required int iterations, required int hashLength, }): Argon2id
  • added: method DelegatingCryptography.blake2b({int hashLengthInBytes = …}): Blake2b
  • added: method DelegatingCryptography.blake2s({int hashLengthInBytes = …}): Blake2s
  • added: method DelegatingCryptography.chacha20({required MacAlgorithm macAlgorithm}): Chacha20
  • added: method DelegatingCryptography.chacha20Poly1305Aead(): Chacha20
  • added: method DelegatingCryptography.ecdhP256({required int length}): Ecdh
  • added: method DelegatingCryptography.ecdhP384({required int length}): Ecdh
  • added: method DelegatingCryptography.ecdhP521({required int length}): Ecdh
  • added: method DelegatingCryptography.ecdsaP256(HashAlgorithm hashAlgorithm): Ecdsa
  • added: method DelegatingCryptography.ecdsaP384(HashAlgorithm hashAlgorithm): Ecdsa
  • added: method DelegatingCryptography.ecdsaP521(HashAlgorithm hashAlgorithm): Ecdsa
  • added: method DelegatingCryptography.ed25519(): Ed25519
  • added: method DelegatingCryptography.hchacha20(): Hchacha20
  • added: method DelegatingCryptography.hkdf({required Hmac hmac, required int outputLength}): Hkdf
  • added: method DelegatingCryptography.hmac(HashAlgorithm hashAlgorithm): Hmac
  • added: method DelegatingCryptography.pbkdf2( {required MacAlgorithm macAlgorithm, required int iterations, required int bits}): Pbkdf2
  • added: method DelegatingCryptography.poly1305(): Poly1305
  • added: method DelegatingCryptography.rsaPss(HashAlgorithm hashAlgorithm, {required int nonceLengthInBytes}): RsaPss
  • added: method DelegatingCryptography.rsaSsaPkcs1v15(HashAlgorithm hashAlgorithm): RsaSsaPkcs1v15
  • added: method DelegatingCryptography.sha1(): Sha1
  • added: method DelegatingCryptography.sha224(): Sha224
  • added: method DelegatingCryptography.sha256(): Sha256
  • added: method DelegatingCryptography.sha384(): Sha384
  • added: method DelegatingCryptography.sha512(): Sha512
  • added: method DelegatingCryptography.x25519(): X25519
  • added: method DelegatingCryptography.xchacha20({required MacAlgorithm macAlgorithm}): Xchacha20
  • added: method DelegatingCryptography.xchacha20Poly1305Aead(): Xchacha20
  • added: method DelegatingEcdh.newKeyPair(): Future<EcKeyPair>
  • added: method DelegatingEcdh.newKeyPairFromSeed(List<int> seed): Future<EcKeyPair>
  • added: method DelegatingEcdsa.newKeyPair(): Future<EcKeyPair>
  • added: method DelegatingEcdsa.newKeyPairFromSeed(List<int> seed): Future<EcKeyPair>
  • added: method DelegatingEd25519.newKeyPair(): Future<SimpleKeyPair>
  • added: method DelegatingEd25519.newKeyPairFromSeed(List<int> seed): Future<SimpleKeyPair>
  • added: method DelegatingKeyExchangeAlgorithm.newKeyPair(): Future<KeyPair>
  • added: method DelegatingKeyExchangeAlgorithm.sharedSecretKey({ required KeyPair keyPair, required PublicKey remotePublicKey, }): Future<SecretKey>
  • added: method DelegatingRsaPss.newKeyPair({ int modulusLength = …, List<int> publicExponent = …, }): Future<RsaKeyPair>
  • added: method DelegatingSignatureAlgorithm.newKeyPair(): Future<KeyPair>
  • added: method DelegatingSignatureAlgorithm.newKeyPairFromSeed(List<int> seed): Future<KeyPair>
  • added: method DelegatingSignatureAlgorithm.sign(List<int> message, {required KeyPair keyPair}): Future<Signature>
  • added: method DelegatingSignatureAlgorithm.verify(List<int> message, {required Signature signature}): Future<bool>
  • added: method DelegatingStreamingCipher.decrypt( SecretBox secretBox, { required SecretKey secretKey, List<int> aad = …, int keyStreamIndex = …, Uint8List? possibleBuffer, }): Future<List<int>>
  • added: method DelegatingStreamingCipher.encrypt( List<int> clearText, { required SecretKey secretKey, List<int>? nonce, List<int> aad = …, int keyStreamIndex = …, Uint8List? possibleBuffer, }): Future<SecretBox>
  • added: variable constantTimeBytesEquality: const Equality<List<int>>