cryptography
cryptography copied to clipboard
Cryptography for Flutter developers: encryption, digital signatures, key agreement, etc.
Is it possible to have the algorithm.encrypt() method not do padding? For example, if I don't want to read in a large file like 1GB+ and would rather cycle through...
I am looking for a Noise Protocol implementation and was led to this repo. In commit https://github.com/dint-dev/cryptography/commit/7049fd20d6466a737bd7f3b0de1923b608429a1d the Noise implementation is deleted hinting at a new repo. But I can't...
There is a missing return in the decrypt function in `cryptography_flutter`, which makes the data decrypted natively ignored.
The log is: .2/macos/Classes/CryptographyFlutterPlugin.swift:21:101: error: cannot call value of non-function type 'FlutterBinaryMessenger' let channel = FlutterMethodChannel(name: "cryptography_flutter", binaryMessenger: registrar.messenger()) ^ ~~ Command CompileSwiftSources failed with a nonzero exit code Command...
Taking an example encryption algorithm and mode: ```dart AesCtr.with128bits( macAlgorithm: Hmac.sha256(), ); ``` There is **no way** to `encrypt` a cleartext **synchronously**. This is because both generating the [`newSecretKey()`](https://pub.dev/documentation/cryptography/latest/cryptography/Cipher/newSecretKey.html) as...
Enabling cryptography_flutter I'm not able to compile due to the following gradle error. ``` FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':cryptography_flutter'....
This properly fixes the Ed25519 and X25519 JWK support and the EC public key JWK as well. Has unit tests. See #73 Is a breaking change since the `SimpleKeyPairData` constructor...
Updated docs for decrypt function. Previously it was called encrypt function for both encryption and decryption.