Questions tagged [jasypt]

Jasypt is a Java-based encryption library, designed for ease of use with minimum necessary knowledge of how cryptography works.

Jasypt (Java simplified encryption) 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.
  • ... and much more

Official Website: http://jasypt.org/

Useful Links:

361 questions
0
votes
1 answer

Encryption Failing Cross Platform

I am working on updating a password encryption utility from something entirely homegrown to one built around Jasypt and Bouncy Castle. The utility encrypts the password; the encrypted string is then patched into a properties file and read back in…
0
votes
1 answer

Java: What is the best option to store encrypted database (and other) passwords in property files?

I examine Jasypt for storing database encrypted passwords in property files. It has good integration with Spring etc., but approach of that this guys propose for encrypting password looks a bit weird as for me: Use PBE (symmetric algorithm)…
FoxyBOA
  • 5,788
  • 8
  • 48
  • 82
0
votes
0 answers

Using jasypt to encrypt and decrypt an already encrypted password

I am using jasypt to encrypt and decrypt passwords. Jasypt provides excellent libraries to do this. However, the issue that I am facing revolves around encrypting/decrypting an already encrypted password. The encrypted password that I am speaking is…
Albert
  • 420
  • 1
  • 6
  • 17
0
votes
1 answer

Flywaydb Spring Boot and Jasypt - flywaydb not able use decrypted property

I did configuration for flywaydb + Spring boot which works perfectly following the link below https://flywaydb.org/documentation/plugins/springboot Flyway is using default datasource which is provided to it via application.properties - entries…
0
votes
1 answer

use Jasypt in an Xpage

I would like to use Jasypt (a java library) in an Xpage to encrypt/decrypt some data. www.jasypt.org I copied the jar files into WebContent/WEB-INF/lib of my nsf file. In my nsf I went to "Project Properties" "Java Build Path" "Libraries" "Add…
Marc Jonkers
  • 496
  • 1
  • 7
  • 17
0
votes
1 answer

jasypt spring hibernate - what password is what?

Im trying to use jasypt to encrypt some passwords in our properties file. Im following the guide on the jasypt website but I think Im messing up something with the passwords. Im hoping someone here can tell me Im doing it right or doing it wrong. …
Blake
  • 375
  • 2
  • 6
  • 19
0
votes
0 answers

Spring boot : integration with jasypt library

I have a trouble at integrating jasypt library inside a spring boot + spring data jpa + spring security application. Below the error stacktrace. :: JHipster ? :: Running Spring Boot 1.3.1.RELEASE :: :: http://jhipster.github.io :: 2016-04-07…
François F.
  • 229
  • 2
  • 17
0
votes
1 answer

Jasypt not encrypting in Grails 2.5.4

I wanted to use encryption to encrypt user data in Grails 2.5.4 application. I followed the instructions on downloading configuring the 1.3.1 version of plugin. Updated my Java Security JCE files in JDK 1.8 (both in JDK jre and standalone JRE…
Swavek
  • 9
  • 1
0
votes
1 answer

Jasypt fails to initialize on Android 5.1.1 and above, ClassLoader is null

I was using Jasypt (compile 'org.jasypt:jasypt:1.9.2') normally with a Standard PBE encryptor StandardPBEByteEncryptor strongBinaryEncryptor = new StandardPBEByteEncryptor(); strongBinaryEncryptor.setAlgorithm("..."); …
EpicPandaForce
  • 79,669
  • 27
  • 256
  • 428
0
votes
0 answers

Jasypt encrypt and check password not working

I have a problem with jasypt. It encrypts the password correctly, but if I try to check password it hangs and never comes out. Any tip could help, thanks. I'm working with tomcat 8. It does not work. Could it be a security issue? public class…
S.Regusci
  • 63
  • 6
0
votes
0 answers

Jersey: how to implement JPA encryption with dynamic keys

I am building a REST aplication based on Jersey 2 and Hibernate 4.3. Some entity attributes should be stored in encrypted form. I am currently using Jasypt for this purpose. For example, I have @TypeDef( name = "encryptedString", typeClass =…
0
votes
1 answer

How are the algorithms for JCE providers defined?

I am trying to encrypt a simple string using password based aes encryption using jasypt and I come across in lot of code samples that the algorithm is given as string like "PBEWithSHA512AndAES256-CBC-BC". I am not able to find the document that is…
vumaasha
  • 2,765
  • 4
  • 27
  • 41
0
votes
1 answer

using encryption org.jasypt.encryption on android produces error

I am trying to write an app to encrypt passwords using jasypt encryption jar. when calling String text="The quick brown fox jumps over the lazy dog"; StandardPBEByteEncryptor encryptor=new StandardPBEByteEncryptor(); …
0
votes
2 answers

Error implementing Jasypt with Hibernate 3 and Struts 2

I'm trying to encrypt passwords in a webapp using Jasypt with hibernate 3. I followed the instructions on the jasypt website. Here's my hibernate mapping :
codea
  • 1,232
  • 4
  • 18
  • 27
0
votes
1 answer

Spring : Use Hibernate types without hibernate.cgf.xml

I am working on a Spring-MVC application which uses Hibernate as an ORM tool. We would like to encrypt some columns and for that I am using Jasypt. Now, for that I have to use the annotation @Type, but it requires that there should be a…
We are Borg
  • 5,117
  • 17
  • 102
  • 225