https://github.com/kh77/springboot-jasypt
Jasypt to encrypt and decrypt data based on encrypted private key
https://github.com/kh77/springboot-jasypt
h2-database jasypt jasypt-encryptor spring-boot
Last synced: about 2 months ago
JSON representation
Jasypt to encrypt and decrypt data based on encrypted private key
- Host: GitHub
- URL: https://github.com/kh77/springboot-jasypt
- Owner: kh77
- Created: 2022-05-02T08:21:08.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-02T09:43:19.000Z (about 4 years ago)
- Last Synced: 2025-09-11T14:53:58.784Z (9 months ago)
- Topics: h2-database, jasypt, jasypt-encryptor, spring-boot
- Language: Java
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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