Thursday, October 3, 2019

JAVA RSA Sign Data and Verify


Simple Note

Add Sign data by Signature with Private Key and verify data by Signature with Public Key

RSAUtils.java

Also add Test Cases and Performance Testing

TestRSAUtils.java

TestRSAPerformance.java

and update the Performance Testing google sheet

JAVA RSA Performance Testing

Reference

Java Cryptography Architecture (JCA) Reference Guide
Generating and Verifying a Signature Using Generated Keys
https://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec.html#SigEx

Java Doc of Signature
https://docs.oracle.com/javase/7/docs/api/java/security/Signature.html

No comments:

Post a Comment