Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 408 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 408 Bytes

Introduce

A simple rsa util with unit test coverage 100%.

Envs

  • JDK 21
  • Gradle 8
  • Sprint Boot 3
  • Junit 5

Main apis

  • genKeys
  • genKeysByHand
  • genPublicKeyByModulusAndComponents
  • genPrivateKeyByModulusAndComponents
  • loadPrivateKeyFromFile
  • loadPublicKeyFromFile
  • encrypt
  • encryptToBase64Str
  • decrypt
  • decryptFromBase64Str
  • sign
  • signToBase64Str
  • verify
  • verifyFromBase64Str