kjur / jsrsasign

The 'jsrsasign' (RSA-Sign JavaScript Library) is an opensource free cryptography library supporting RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, OCSP, CMS SignedData, TimeStamp, CAdES and JSON Web Signature/Token in pure JavaScript.
https://kjur.github.io/jsrsasign
Other
3.28k stars 645 forks source link

Hello, are "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" and "OAEP" the same algorithm? Does the framework support it? #626

Open xhc-code opened 3 months ago

xhc-code commented 3 months ago

Hello, are "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" and "OAEP" the same algorithm? Does the framework support it?

image image Is the complete algorithm of OAEP "RSA/ECB/OAEP"?

image Excuse me, is there any way to use the API documentation above regarding the types of parameters received (and how these types are obtained)? For example, the first parameter type above is RSAKey, but I can't figure out how to instantiate it at all, and I don't know which API to call to get it. I want to learn JSRSASign, but I don't know where to start.