How to use
- Enter the master password set in jasypt.encryptor.password.
- Choose Encrypt or Decrypt and enter the value.
- Copy the result to place inside ENC(...) in application.properties, or read the decrypted original.
๐ฏ Use Cases
- Encrypt DB passwords or API keys in Spring Boot config files โ generate the value to wrap in ENC(...)
- Check the plaintext behind a deployed ENC(...) value โ decrypt quickly without a local jasypt CLI
- Re-encrypt existing values before rotating the master password
Example
Input
Master password: mySecretKey Mode: Encrypt Plaintext: db-p@ssw0rd
Output
ENC(ChssPU5fYHGCk6S1xtfo+REiM0RVZneImaq7zN3u/wBMwXcIuLW3bqDylAmmtp/w)
This is db-p@ssw0rd encrypted with the master password mySecretKey. Because a fresh random salt and IV are used each run, the ENC(...) value differs every time, yet decrypting any of them with the same master password returns the original db-p@ssw0rd.
FAQ
- Which Jasypt algorithm is supported?
- Only PBEWITHHMACSHA512ANDAES_256, the current default algorithm in jasypt-spring-boot, is supported. Older defaults like PBEWithMD5AndDES are not supported.
- Is the result exactly compatible with the real Jasypt library?
- Yes. It has been verified through byte-for-byte matching with fixed salt/IV values, decrypting values encrypted by the real Jasypt library, and having the real Jasypt library decrypt values encrypted with this tool โ a full round-trip test.
- Is the password (master key) or input sent to a server?
- No. Both PBKDF2 key derivation and AES-256-CBC encryption/decryption are handled by the browser's Web Crypto API.
More Security Tools
๐
Password Generator
Generate strong random passwords
#๏ธโฃ
Hash Generator
Generate MD5, SHA-1, SHA-256 hashes
๐ฑ
QR Code Generator
Turn text/URLs into a QR code
๐๏ธ
htpasswd Generator
Generate APR1-MD5 hashed passwords
๐
SSL Certificate Viewer
Check issuer, validity & SANs
๐
CSR Viewer
Check CSR subject & public key info
โป๏ธ
SSL Certificate Converter
Convert PEM โ DER (HEX)
๐ค
Cert/Key Pair Checker
Verify a certificate matches its private key
๐ฉบ
SSL Checker
Check HTTPS connectivity & trust
๐ช
Self-Signed Certificate Generator
Generate a self-signed SSL cert & key
๐
Base64 Encode/Decode
Convert text โ Base64
๐
HTTP Auth Header Generator
Build Basic/Bearer Authorization headers
๐ชช
JWT Decoder
Inspect JWT header/payload, verify HS256
๐ซ
Random Token Generator
Generate Hex/Base64/UUID tokens