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

Error when trying to connect oracle database with jasypt encrypted values

I am trying to connect with oracle database by using camel-jasypt generated encrypted password and username by keeping the generated values in .properties file.But, unfortunately i facing errors like username and password are incorrect. I am…
Rahul
  • 149
  • 4
  • 11
0
votes
1 answer

How to use camel-jasypt when deploying to Tomcat

I've integrated the Camel Jasypt component in my Camel application. I've configured the Jasypt bean to use look for the password in an environment variable named SEC:
helpermethod
  • 59,493
  • 71
  • 188
  • 276
0
votes
1 answer

How could we ensure security using jasypt?

Recently I have gone through Jasypt API to secure the property file entries. As per Jasypt, in order to decrypt the entry in the property file that was enclosed with ENC(..), we need to use a secure password, a secret key, as shown below (Not a web…
HJK
  • 1,382
  • 2
  • 9
  • 19
0
votes
1 answer

Java File I/O not working with external library methods

I am trying to create an application that utilizes a textfield that allows a user to save a file or load the existing text of the file specified in the program. Without the Jasypt library calls, the program works fine. However, my ultimate goal is…
beckah
  • 1,543
  • 6
  • 28
  • 61
0
votes
0 answers

In which situations will you use ZeroSaltGenerator

In which situation should I use ZeroSaltGenerator. Definition says. This implementation of SaltGenerator always returns a salt of the required length, filled with zero bytes. Please explain me the concept.
Kasun
  • 561
  • 11
  • 22
0
votes
1 answer

Decript Jasypt encrypted information

I am encrypting an object with below entry using Spring and Hibernate. As I have salt and password is it possible to decryption the information back to plain text?
Kasun
  • 561
  • 11
  • 22
0
votes
1 answer

Is it possible to use the Grails Jasypt plugin outside the GORM layer for simple String encryption and decryption?

I use the excellent JASYPT plugin to encrypt and decrypt certain database columns. Works great. But I have a usecase for encryption/decryption for simple Strings that are not going to the database and I'd love to use my already set up Jasypt…
Peter
  • 29,498
  • 21
  • 89
  • 122
0
votes
1 answer

How to encrypt and decrypt id of an object with spring mvc

I have a problem which is as following - Have a jsp page Register.jsp which has form like this -
Ravi Kumar
  • 993
  • 1
  • 12
  • 37
0
votes
1 answer

How to add jasypt plugin to eclipse

So I am using Eclipse IDE for Java EE Developers http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/keplerrc3 and I am trying to add the jasypt - 1.9.0 plugin to eclipse Since I am not experienced in this, I only tried one way…
Abdelrahman Shoman
  • 2,882
  • 7
  • 36
  • 61
0
votes
2 answers

Trim trailing space in jasypt EncryptablePropertyPlaceholderConfigurer

We are using Spring along with jasypt EncryptablePropertyPlaceholderConfigurer to read the application.properties file. The problem sometimes happen if some of the properties value contain white-spaces in the end, on reading the value using the…
Ashish Thukral
  • 1,445
  • 1
  • 16
  • 26
0
votes
1 answer

Jasypt Android forgot password

I'm stuck with a problem and I need your help with it. In my Android app I encrypt passwords with Jasypt. This one way encryption works fine. I store my passwords on an external mysql database where I check the encrypted passwords when the app does…
0
votes
2 answers

Extend Playframework 2 so encrypted strings can be used in properties

I'd like to add Jasypt to the configuration. So I would like to create a plugin that decrypts the application.conf entries that are needed. I've created a simple plugin, but the db configuration has already been read/executed by the time my…
dom farr
  • 4,041
  • 4
  • 32
  • 38
0
votes
1 answer

jasypt digest implementation in PHP

We have an application in Scala which uses org.jasypt.digest.PooledStringDigester for manipulation passwords. In our code we have something like this: private val digester = new…
ov1d1u
  • 958
  • 1
  • 17
  • 38
0
votes
1 answer

Why this MD5 result with Salt has "==" in the end of result string?

I have java code that use jasypt (Java Simplified Encryption) library: StandardStringDigester digester = new StandardStringDigester(); digester.setAlgorithm("MD5"); digester.setIterations(1); FixedStringSaltGenerator saltGenerator =…
null
  • 8,669
  • 16
  • 68
  • 98
0
votes
2 answers

How Do I use Jasypt with springs autowire?

I have see some solutions for this without the autowire but I am trying to get it to work with with the auto wire. I have been trying this since last week but found no solutions that worked in my case, it may be that I am not implementing it…
jonnie
  • 12,260
  • 16
  • 54
  • 91