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.25k stars 646 forks source link

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

Open xhc-code opened 1 month ago

xhc-code commented 1 month 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.