This tool provides encryption and decryption capabilities using Jasypt, enabling secure management of sensitive data.
Supported Tools:
Encrypt or decrypt Jasypt-compatible values directly in your browser. Ideal for developers working with Spring Boot, Java applications, and encrypted configuration files.
Jasypt (Java Simplified Encryption) is a Java library for securing sensitive information like passwords, API keys, and database credentials. It is commonly used in Spring Boot applications to encrypt values in configuration files. Jasypt combines a secret password with a salt and multiple iterations to create strong encrypted strings using algorithms like PBEWithMD5AndDES or AES.
## Encryption: 1. Create an encryptor object in Java. 2. Set a secret key that will be used for encryption. 3. Pass the plain text to the encryptor. 4. The encryptor applies the secret key, a salt, and iterations to generate an encrypted string. Example: --- String secretKey = "mysecret"; String plainValue = "SensitiveData"; StandardPBEStringEncryptor myEncryptor = new StandardPBEStringEncryptor(); myEncryptor.setPassword(secretKey); String encryptedValue = myEncryptor.encrypt(plainValue); --- ## Decryption: 1. Create an encryptor object in Java. 2. Set the same secret key used for encryption. 3. Pass the encrypted string to the decryptor. 4. The decryptor returns the original plain text. Example: --- String secretKey = "mysecret"; String encryptedValue = "XyZ12AbC34EfGhIjKlMnOpQrStUvWxYz=="; StandardPBEStringEncryptor myEncryptor = new StandardPBEStringEncryptor(); myEncryptor.setPassword(secretKey); String decryptedValue = myEncryptor.decrypt(encryptedValue); ---
Input:
myapp.com Secret Key: mysecret
Output:
XyZ12AbC34EfGhIjKlMnOpQrStUvWxYz==
Can I decrypt Jasypt values from Spring Boot ENC() entries?
Yes. Using the same secret key and algorithm, you can paste the encrypted value from ENC(...) and decrypt it to retrieve the original text.
Is my data secure using this tool?
Yes. All encryption and decryption happen entirely in your browser. No data is uploaded to any server, keeping your secrets private.
Which encryption algorithms are supported?
The tool supports Jasypt-compatible password-based algorithms such as PBEWithMD5AndDES and AES-based options, following standard Jasypt practices.