Skip to content

ninjachen/encrypt-showcase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A encrypt showcase with unittest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages