From 29c694776308131f208234737b3e221771abaa08 Mon Sep 17 00:00:00 2001 From: Stefan van den Akker Date: Wed, 13 Mar 2024 15:53:49 +0100 Subject: [PATCH] docs: remove superfluous whitespace from README.md examples --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 3aee391..3b64139 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,11 @@ Originally developed for [spring-data-mongodb-encrypt](https://github.com/bolcom Add dependency: ```xml - - com.bol - cryptvault - 1.0.2 - + + com.bol + cryptvault + 1.0.2 + ``` And add the following to your `application.yml`: @@ -41,15 +41,15 @@ And you're done! Example usage: ```java - @Autowired CryptVault cryptVault; +@Autowired CryptVault cryptVault; - // encrypt - byte[] encrypted = cryptVault.encrypt("rock".getBytes()); +// encrypt +byte[] encrypted = cryptVault.encrypt("rock".getBytes()); - // decrypt - byte[] decrypted = cryptVault.decrypt(encrypted); - - new String(decrypted).equals("rock"); // true +// decrypt +byte[] decrypted = cryptVault.decrypt(encrypted); + +new String(decrypted).equals("rock"); // true ``` ## Manual configuration