🔒 Jasypt Encrypt/Decrypt

Encrypt or decrypt Spring Boot jasypt (PBEWITHHMACSHA512ANDAES_256) values. Compatible with ENC(...) values in application.properties.

⚠️ Only PBEWITHHMACSHA512ANDAES_256 (the current jasypt-spring-boot default) is supported
The result will appear here

How to use

  1. Enter the master password set in jasypt.encryptor.password.
  2. Choose Encrypt or Decrypt and enter the value.
  3. Copy the result to place inside ENC(...) in application.properties, or read the decrypted original.

🎯 Use Cases

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.

How jasypt works

jasypt encrypts sensitive values in Spring config files as ENC(...) placeholders.

ElementDetails
AlgorithmPBEWITHHMACSHA512ANDAES_256 — derives an AES-256 key from a master password
NotationENC(ciphertext) — placed inside application.properties
Master keyjasypt.encryptor.password — passed via env var or JVM option, never committed
CompatibilityPut this tool's output inside ENC(...) and Spring decrypts it at boot

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.
Same value encrypts differently — is that OK?
Yes. Random IV and salt make every ciphertext unique, yet all decrypt to the same original.
What if I lose the master password?
The ciphertext cannot be recovered. Keep the password in a safe place like a secrets manager.

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