browserify / crypto-browserify

partial implementation of node's `crypto` for the browser
MIT License
653 stars 199 forks source link

Add oaepHash option on publicEncrypt #202

Open cmyugovic opened 3 years ago

cmyugovic commented 3 years ago

Crypto-browserify uses sha-1 for oaep, while Crypto allows more algorithms, like sha-256, since v12.9.0:

Screenshot from crypto docs: nodejs.org/api/crypto.html image