pc-dart
pc-dart copied to clipboard
Pointy Castle - Dart Derived Bouncy Castle APIs
I implemented an `scrypt` based password hashing digest, but it turned out to be quite slow (around 2.5 seconds on the device and tests). **Key length:** 32 **Salt length:** 16...
Is there any EC engine for encrypting data with elliptic curve keys? I couldn’t find anything in the api reference. Thanks for any help.
Hi, Bucket issue for release 3.2.0. MW
Hi, Please try it and let us know how you go. MW
As discussed in #102 I added an implementation of `SecureRandom` based on darts own [Random](https://api.dart.dev/stable/dart-math/Random-class.html). I saw that pointycastle already features a [SecureRandomBase](https://github.com/bcgit/pc-dart/blob/6a206c91aa094abc4ab9ad7b6298008f99772647/lib/src/impl/secure_random_base.dart) which does all random operations based on...
Hi, Shouldn't the condition be rather **less or equal** here? https://github.com/bcgit/pc-dart/blob/7aebcf232f047bb3a4f549ca0b53f14da40d90b8/lib/asn1/asn1_utils.dart#L17 Similarly as in _decodeLength()_ method below.
Argon2 is the closest thing to a standard in the password hashing space. It should be an option that we provide. Implementation Link: https://github.com/bcgit/bc-java/blob/master/core/src/main/java/org/bouncycastle/crypto/generators/Argon2BytesGenerator.java
Hi, Version 3.1.1 has been released. MW
We could implement an abstract class `ByteBasedSecureRandom` that extends [SecureRandom](https://pub.dev/documentation/pointycastle/latest/api/SecureRandom-class.html) and implements all of it functions based on `nextBytes`. Then, it is easy to extend this `ByteBasedSecureRandom` with a custom...