PointyCastle / pointycastle

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

Could OAEPEncoding allow SHA-256 hash #236

Open varodriguez opened 3 years ago

varodriguez commented 3 years ago

The OAEPEncoding class has the hash function hard-coded to be SHA1. I tried changing it to SHA-256 and it worked fine for me. Could you include this option in your next version? Regards