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.
jsrsasign The version is 10.9.0.
The algorithm used for encryption and decryption is RSA/ECB/OAEPWithSHA-256AndMGF1Padding.
The key and data are both encoded using base64. Is it necessary to convert the data into hex and pass it to the decrypt method? The official script did not find any tutorial on encryption and decryption.
jsrsasign The version is 10.9.0. The algorithm used for encryption and decryption is RSA/ECB/OAEPWithSHA-256AndMGF1Padding.
The key and data are both encoded using base64. Is it necessary to convert the data into hex and pass it to the decrypt method? The official script did not find any tutorial on encryption and decryption.
Below is a demo, but it doesn't work properly.