pc-dart icon indicating copy to clipboard operation
pc-dart copied to clipboard

Pointy Castle - Dart Derived Bouncy Castle APIs

Results 84 pc-dart issues
Sort by recently updated
recently updated
newest added

hi, im using RSA (2048) encryption. after creating public and private keys, i create a PEM from both of them. when i check the public key created - its not...

In [ASN1 Encoding Tutorial](https://github.com/bcgit/pc-dart/blob/master/tutorials/asn1.md#encoding-asn1) there is an example. When run the return of ```topLevelSeq.encodedBytes``` is null. From what I understand and tested you need to execute ```topLevelSeq.encode();``` first but then...

This is my work on the dart port of bouncycastles EAX. Let me know if there are any changes to be made :)

Hi! I need help verifying an EC signature which is a base64 string with the public key that is also a base64 string. Something like: Signature: MEUCIBYmubxYx/Q5CWiKwbfxgZs8KXaB+KEW59izRU8IPbROAiEA3YPVuD2TxpJeQ8gZLUfFfNgrr96orTjTwEXy4mQQqqI= Public Key: -----BEGIN...

Why is using the private key to encrypt with RSA-OAEP not allowed? I needed to sign some data with RSA-OAEP and SHA-256 but this feature is not allowed. Is this...

I am unsure if I am doing it wrong or something, but on the web using the function below to generate a RSA key pair takes over a minute if...

hi, although i have implemented RSA/PKCS1 Padding ( SHA-256), i can`t find a way of creating a private /public keys using RSA/ECB/PKCS1Padding.. is there a way of doing that using...

I tested the example here: https://github.com/bcgit/pc-dart/blob/master/tutorials/rsa.md#generating-rsa-key-pairs for generating rsa key pairs. For the entropy source I imported `import 'package:pointycastle/src/platform_check/platform_check.dart' show Platform;` and then used `Platform.instance.platformEntropySource().getBytes(32)` as `key` parameter for initiating...

I took this example from the Argon2 test: ``` final parameters = Argon2Parameters( Argon2Parameters.ARGON2_d, latin1.encode('mySaltString'), desiredKeyLength: 32, version: Argon2Parameters.ARGON2_VERSION_10, iterations: 3, memoryPowerOf2: 32, ); final gen = Argon2BytesGenerator()..init(parameters); final valueBytes...

hi, first of all I am pretty new in flutter stuff so please forgive me if my question seems dumb to u I want to decrypt huge files (the file...