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

encrypting password with Java library jasypt digest

I'm working on a group project that will have user accounts. Right now I'm trying to figure out how to encrypt, store, and check passwords. We have already implemented storing the passwords, but not yet encrypting them and then storing them. I'm…
Alex5775
  • 25
  • 7
0
votes
0 answers

Is it possible to unmarshall encrypted xml files using JAXB in java

AES Encrypted file named temp.xml : 31E7450D33BAB4C4D5C624B9376B4BB3532E5BBAFDE0D4300C9C46C86DC7894CBC7A9AA11069700FDF45E2C5E6947CB5268BD673AB85B4DCCAA3ECAE411BD0763F199A031FD0A78E2F3EDDDE386DFD1EEAB Decrypted file named temp.xml :
user161607
  • 21
  • 3
0
votes
1 answer

Reproducible encryption in Java (possibly with Jasypt)

I want to obfuscate(*) some passwords to hide them in Java source code. Discovering jasypt I thought I encrypt the password text beforehand and then decrypt in the source code from the remembered seed + encrypted password. However, the encryption…
halloleo
  • 9,216
  • 13
  • 64
  • 122
0
votes
0 answers

Jasypt Symmetric Encryption key

I Found this piece of code on jasypt.org I want to know what encryptor.setPassword("jasypt") does. Is it the Cryptographic key? What happens if i don't set the password? I've been reading about "Keys", how do i find it? Where do i securely store…
0
votes
1 answer

Spring Boot (XML Configuration) & Jasypt Integration

My application is merely to startup an ActiveMQ broker. I want to use XML-based configuration in Spring Boot, to make use of the XML configuration for ActiveMQ broker (referenced here). I'm using jasypt-spring-boot-starter for my encryption needs,…
acys
  • 73
  • 1
  • 4
0
votes
3 answers

How to decrypt a Jasypt-encrypted string in PHP?

This may be an impossible question, but I am migrating a legacy system from Java over to PHP, and I need to be able to decrypt strings encrypted with Jasypt in PHP. According to the documentation, Jasypt uses the following algorithm: Append a…
Jonathon Hill
  • 3,445
  • 1
  • 33
  • 31
0
votes
1 answer

Multiple property encryption using jasypt encryption

I have relatively less idea about encryption but i have done research on encryption in spring boot in application.properties file but i have not found any material based on multiple password encryption.If someone could provide some material or some…
0
votes
1 answer

Jasypt encryption in spring dsl

I am trying to add encryption in properties file, The content is not getting decrypt My Spring DSL looks like:
0
votes
1 answer

URI is not registered. jasypt in blueprint.xml

I used jasypt for encryption in blueprint.xml of my OSGI application which'll be deployed in Jboss fuse server, xmlns:enc="http://karaf.apache.org/xmlns/jasypt/v1.0.0 I'm seeing an error message in the xml file that "URI is not registered". I'm…
Arun V
  • 63
  • 1
  • 8
0
votes
1 answer

why org.jasypt.exceptions.EncryptionOperationNotPossibleException

Here are my Encryptor class methods: public String encrypt(String str){ if(str == null || str.equals("")){ str = ""; } else{ StandardPBEStringEncryptor encryptor = new…
LifeSaver
  • 138
  • 4
  • 10
0
votes
1 answer

reading two variable values after decrypting

I am working on "Forgot Password". I am trying to create a reset token with email + current_time. email is user login whilst code will check if time >= 5 minutes then this link will not work. Here is my code: // preparing token email + time Date now…
usr169
  • 15
  • 4
0
votes
1 answer

Jasypt - encrypt and decrypt using different encryptors

The situation is that I have an app which uses hibernate. I configured it to work with jasypt so that this app encrypt data into a database. Then, I have another app which read data from the database and it does not use hibernate. Both apps uses…
McCoy
  • 780
  • 1
  • 10
  • 21
0
votes
0 answers

Using Jasypt for encryption in Java

I have a Java based web application where encryption is required for most of the fields in MySQL database. I went all over the web, stackoverflow and videos and found the below. In most posts I went through, the encryption returned binary data To…
PeakGen
  • 21,894
  • 86
  • 261
  • 463
0
votes
1 answer

Check encrypted password: org.jasypt.exceptions.EncryptionOperationNotPossibleException

i try to check the password, that i encrypt before but i get an exception and i don't know why. here the method, that i use to encrypt the password: @Service("XEncryptor") public class XEncryptor { private ConfigurablePasswordEncryptor…
emoleumassi
  • 4,881
  • 13
  • 67
  • 93
0
votes
1 answer

How to configure attribute of Hibernate @Type annotation

In my application, I have enable the jasypt encryption with @Type annotation. But when I need to deploy the application without any encryption then I have to change the attribute of the @Type annotation as following manner. Currently I'm proceed…
Channa
  • 4,963
  • 14
  • 65
  • 97