Jasypt
Jasypt is a java library which allows the developer to add basic encryption capabilities to his/her projects with minimum effort, and without the need of having deep knowledge on how cryptography works.
- High-security, standards-based encryption techniques, both for unidirectional and bidirectional encryption. Encrypt passwords, texts, numbers, binaries...
- Transparent integration with Hibernate.
- Suitable for integration into Spring-based applications and also transparently integrable with Spring Security.
- Integrated capabilities for encrypting the configuration of applications (i.e. datasources).
- Specific features for high-performance encryption in multi-processor/multi-core systems.
- Open API for use with any JCE provider.
Dependencies
<dependency>
<groupId>org.jasypt</groupId>
<artifactId>jasypt</artifactId>
<version>1.9.3</version>
</dependency>
|
<dependency>
<groupId>com.github.ulisesbocchio</groupId>
<artifactId>jasypt-spring-boot</artifactId>
<version>3.0.3</version>
</dependency>
|
Encryption
wget https://repo1.maven.org/maven2/org/jasypt/jasypt/1.9.3/jasypt-1.9.3.jar
java -cp jasypt-1.9.3.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI \
ivGeneratorClassName=org.jasypt.iv.RandomIvGenerator \
algorithm=PBEWITHHMACSHA512ANDAES_256 \
password=finology \
input=shahed
References
- Spring Boot Config Properties Encryption
- Maven Repo: Jasypt Spring Boot Starter
- Download Jasypt Camel Components
- Maven Repo: Apache Camel Jasypt
- Jasypt: Java Simplified Encryption
- Using Jasypt with Spring boot
- Apache Distribution Directory
- Jasypt Camel Components
- Apache Camel Releases
- Maven Repo: Jasypt