# Spring Cloud Config Encryption & Decryption | Nook Tools

> Encrypt and decrypt Spring Cloud Config cipher values with AES-256-CBC and a custom key and salt. All processing stays in your browser.

Language: en-US

Canonical: [Spring Cloud Config Encryption & Decryption | Nook Tools](https://nook.tools/en-US/crypto/spring-config/)

LLM index: [Nook Tools](https://nook.tools/llms.txt)

## Spring Cloud Config Encryption

Encrypt configuration values or decrypt cipher text with your encrypt.key, locally in your browser.

Your key and text stay in this page’s memory. They are not uploaded or saved. Copying a result writes it to your system clipboard.

## How to use

- Choose encrypt or decrypt and enter your encrypt.key exactly, including any spaces.
- Enter plaintext or paste the hex cipher text, with or without the \{cipher\} prefix. Change the salt if your application uses a custom value.
- Run the operation and copy the result. Encrypted output includes \{cipher\}; quote the entire value when placing it in YAML.

## Compatibility

Matches Spring Encryptors.text with PBKDF2-HMAC-SHA1 (1,024 iterations), AES-256-CBC, PKCS\#7 padding (Java: PKCS5Padding), and hex-encoded IV + ciphertext. Each encryption uses a new random 16-byte IV.

Use this for the matching symmetric encrypt.key configuration. RSA, keystores, Jasypt ENC(), GCM, custom encryptors, and \{key:…\} metadata are not supported. Check your application’s configuration and Spring Security version.

CBC does not authenticate ciphertext. A successful decryption does not prove that the text is intact or that the key is correct.

Up to 1 MiB of UTF-8 plaintext; key up to 1,024 characters; salt up to 1,024 hex characters. HTTPS or localhost is required.

