Jasypt is a Java library which allows developers to add basic encryption capabilities to projects with minimum effort, and without the need of having an in-depth knowledge about implementation details of encryption protocols. It is an Open Source Software created in his spare time by a Spanish Software Engineer called Daniel Fernández - also author of other popular java libraries like thymeleaf or op4j--, and which has also received contributions of diverse kind from some other people. Jasypt by itself does not implement nor distribute in any of its forms any cryptographic algorithms. It simply uses the algorithms already present in the users' Java installations via the Java Cryptography Extension.
The String which is to be encrypted using Jasypt
Two Way Encryption - This type of encryption we do the encryption with a secret key. We can decrypt the original string back from the encrypted string using secret key. One Way Encryption - This type of encryption we do the encryption without a secret key. We cannot decrypt the original string back from the encrypted string. But we can validate/check if the encrypted string has been derived from a particular original string.
This secret key is required only for Two Way Encryption and will be used during Jasypt encryption. Later we will be needing this same secret key to retrieve the original string using Jasypt decryption.
Two Way Decryption - This type of encryption we do the encryption with a secret key. We can decrypt the original string back from the encrypted string using secret key.
The Jasypt Encrypted String which we want to decrypt
One Way Decryption - This type of encryption we do the encryption without a secret key. We cannot decrypt the original string back from the encrypted string. But we can validate/check if the encrypted string has been derived from a particular original string.
The Jasypt Encrypted String which we want to check
The original input string which we had Jasypt encrypted using One Way Encryption. We want to confirm if the encrypted string is for this input string.