Jasypt: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 42: Line 42:
* [https://medium.com/@success4stan/data-encryption-on-spring-boot-application-properties-file-bf6ecb644bfe Spring Boot Config Properties Encryption]
* [https://medium.com/@success4stan/data-encryption-on-spring-boot-application-properties-file-bf6ecb644bfe Spring Boot Config Properties Encryption]
* [https://mvnrepository.com/artifact/com.github.ulisesbocchio/jasypt-spring-boot-starter Maven Repo: Jasypt Spring Boot Starter]
* [https://mvnrepository.com/artifact/com.github.ulisesbocchio/jasypt-spring-boot-starter Maven Repo: Jasypt Spring Boot Starter]
* [https://camel.apache.org/download/ Download Jasypt Camel Components]
* [http://www.jasypt.org/ Jasypt: Java Simplified Encryption]
* [http://www.jasypt.org/ Jasypt: Java Simplified Encryption]
* [https://medium.com/@surabhijaiswal/using-jasypt-with-spring-boot-9cfabfa747e4 Using Jasypt with Spring boot]
* [https://medium.com/@surabhijaiswal/using-jasypt-with-spring-boot-9cfabfa747e4 Using Jasypt with Spring boot]
* [https://camel.apache.org/components/latest/others/jasypt.html Jasypt Camel Components]
* [https://mvnrepository.com/artifact/org.jasypt/jasypt Maven Repo: Jasypt]
* [https://mvnrepository.com/artifact/org.jasypt/jasypt Maven Repo: Jasypt]

Revision as of 01:35, 1 March 2021

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