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

Configuration using JPA/Hibernate and Jasypt

I'm trying to use JPA + Hibernate 4.5.1 in a JSF/Primefaces project. I'm using c3p0 for connection pooling. When the application is being started, c3p0 attempts to initialize the pool but authentication fails. This is my persistence.xml: …
javaMS
  • 401
  • 4
  • 9
  • 20
0
votes
1 answer

Getting "org.jasypt.exceptions.EncryptionOperationNotPossibleException" when trying to login

I'm using Jasypt 1.9.0, Spring 3.1.1.RELEASE, and Maven 3.0.3. When I enter a username and password on my login page and submit, I get the following error … org.jasypt.exceptions.EncryptionOperationNotPossibleException …
Dave
  • 15,639
  • 133
  • 442
  • 830
0
votes
1 answer

what is padding for PBEWITHSHA256AND128BITAES-CBC-BC

What is padding for PBEWITHSHA256AND128BITAES-CBC-BC (Bouncy Castle) Sorry for tiny information, let me elaborate more background of the question. There have two systems. One is java (A) and another is PHP (B). Now we have one requirement to send…
baodi
  • 61
  • 8
0
votes
1 answer

Problems with Jasypt, package-info.java

I am using JPA with Guice, Jasypt and GWT+Jetty server, I am trying to create a custom types for the encrypted columns. I have create the package-info.java where I have the custom types. The package-info.java is located in the package with the…
CristiC
  • 192
  • 1
  • 2
  • 12
0
votes
1 answer

Java Installer for encrypted password

I would like to create a installer for a Java app, and have found some great apps that do it. The problem is I am using Jasypt to encrypt a password used in the properties file. Currently the user has to use the Jasypt command line to encrypt…
user1431891
  • 131
  • 1
  • 2
0
votes
1 answer

Querying for data using jayspt and hibernate

Hey guys I'm using Hibernate to store user models in a db, well found out that you can use jayspt in tandem to abstract the encryption of usernames and passwords away from the business logic. Here's a link describing what I mean. Here's another link…
Andy McCall
  • 446
  • 1
  • 4
  • 15
0
votes
2 answers

MacRoman vs UTF-8

I am try to pull out byte data from a source, encrypt it, and then store it in the file system. For encryption, I am using jasypt and the BasicTextEncryptor class. And for storing on to the file system, I am using Apache's Commons IOUtils…
0
votes
1 answer

Password Encryption between Java Swing app and Postgres db

I'm building a system that has a Java Swing front end accessed a postgres database. Prior to discovering Jasypt this week, I had originally planned to use Postgres' own encryption mechanism. It worked fine, but I also now wanted the passwords over…
greatkalu
  • 433
  • 1
  • 8
  • 21
0
votes
0 answers

jasypt with Hibernate

I want to use Jasypt with Hibernate in servlets. I refered Jasypt here. It says how to configure Hibernate. But, still it is not clear that how I can handle session to save & retrieve results. I did configurations of Hibernate as mentioned in above…
Débora
  • 5,816
  • 28
  • 99
  • 171
-1
votes
1 answer

Salt location , salt hiding

i have a question regarding the following scenario: I want to use jasypt to encrypt my password and use a certain salt for encryption. Does it make sense(or is there any security implication) if : I use password based encryption to encrypt the…
BL.
  • 89
  • 1
  • 6
-1
votes
1 answer

Encryption in java (jasypt) and decryption in nodejs

Am trying to decrypt the encoded string (which is actually encoded in java using bouncyCastle provider). As i dont see any equivalent algo for "PBEWITHSHA256AND256BITAES-CBC-BC" in nodejs. Could you please suggest me how can i decrypt the…
user3569397
  • 27
  • 1
  • 8
-1
votes
1 answer

FIPS Compliant Algorithm for Encrypting Passwords using Jasypt in a Property File

My application connects to the database by reading passwords from a property file. Can you suggest a suitable algorithm for encrypting these passwords? EDIT: I went through a bunch of documents on nist.gov and realized that AES 128 and SHA 256 are…
-2
votes
1 answer

What are these strange question marks, produced by jasypt?

In order to write a test that shows that jasypt is doing what it ought to, I found this interface, StringEncryptor, which can be conveniently @Autowired. The problem is though that, for me, it resolves to DefaultLazyEncryptor at runtime, it is…
HellishHeat
  • 2,280
  • 4
  • 31
  • 37
-2
votes
2 answers

Maven download .jar file but I can't import it in Code

I added a new dependency to my pom.xml like I always do and as expected Maven downloaded the .jar file which is needed (jasypt-1.9.0.jar). I can see it in the Maven Dependencies in the Project Explorer of MyEclipse. However I am not able to use any…
Tobias Kuess
  • 739
  • 2
  • 14
  • 33
-2
votes
1 answer

will every encrypted password of jasypt would contain "=" at the end?

While using Jasypt, the encrypted passwords contains = (equal character) at the end. Is it guaranteed that the encrypted passwords will always have = at the end? How/Can we control this behavior? Foe example: test is encrypted to…
RamValli
  • 4,389
  • 2
  • 33
  • 45
1 2 3
24
25