Skip to content

Jasypt to encrypt and decrypt data based on encrypted private key

Notifications You must be signed in to change notification settings

kh77/springboot-jasypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Jasypt

H2 UI url

http://localhost:8080/h2-ui/

  • Data is populated after running application. Please check resource folder for given schema and initial data script.
  • Hit this endpoint, localhost:8080/employees

Jasypt Encryption

  • Encryption key is being used to encrypt and decrypt the data on the fly when application starts

  • There is a test class JasyptEncryptorConfigTests, run that class to copy that encrypted value into the properties file like below: ENC(aAVASERVMNAOS!##@%##)

  • When you run the application it will automatically decrypt the data based on encrypted private key. Encrypted key is being passed on the fly as a Environment variable.

    ENCRYPTED_KEY=hello-world

About

Jasypt to encrypt and decrypt data based on encrypted private key

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages