PointyCastle / pointycastle

Moved into the Bouncy Castle project: https://github.com/bcgit/pc-dart
MIT License
270 stars 76 forks source link

Fixes issue with RSA PKCS1 padding specifically when used with flutter. #155

Closed duncanhoggan closed 6 years ago

duncanhoggan commented 6 years ago

Swapped out reflection based SecureRandom for FortunaRandom and seeded. Done to fix issue when using with flutter.

Not sure if this is the direction you guys are looking to go, but it fixes the issue. I think the whole no reflection for flutter thing is long term going to wedge a little bit of a divide in the direction the project is going.

stevenroose commented 6 years ago

This is a decent temp fix until we figure that out, yes :)

Thanks!

stevenroose commented 6 years ago

I published this as v1.0.0-rc3.