A simple rsa util with unit test coverage 100%.
- JDK 21
- Gradle 8
- Sprint Boot 3
- Junit 5
- genKeys
- genKeysByHand
- genPublicKeyByModulusAndComponents
- genPrivateKeyByModulusAndComponents
- loadPrivateKeyFromFile
- loadPublicKeyFromFile
- encrypt
- encryptToBase64Str
- decrypt
- decryptFromBase64Str
- sign
- signToBase64Str
- verify
- verifyFromBase64Str