From 09ea51abb4b5fe2626847f168cb0a49c4cf94f32 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Mon, 28 Mar 2022 19:10:48 -0400 Subject: docs: remove duplicate function doc Signed-off-by: Dave Henderson --- docs-src/content/functions/crypto.yml | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'docs-src') diff --git a/docs-src/content/functions/crypto.yml b/docs-src/content/functions/crypto.yml index 37c35bdd..61f76270 100644 --- a/docs-src/content/functions/crypto.yml +++ b/docs-src/content/functions/crypto.yml @@ -32,28 +32,6 @@ funcs: Decrypts the given input using the given key. By default, uses AES-256-CBC, but supports 128- and 192-bit keys as well. - _Note: This function is compatible with Helm's encryptAES function, when - the input is base64-decoded, and when using 256-bit keys._ - pipeline: true - arguments: - - name: key - required: true - description: the key to use for decryption - - name: keyBits - required: false - description: the key length to use - defaults to `256` - - name: input - required: true - description: the input to decrypt - examples: - - | - $ gomplate -i '{{ base64.Decode "Gp2WG/fKOUsVlhcpr3oqgR+fRUNBcO1eZJ9CW+gDI18=" | crypto.DecryptAES "swordfish" 128 | conv.ToString }}' - hello world - - name: crypto.DecryptAES - description: | - Decrypts the given input using the given key. By default, - uses AES-256-CBC, but supports 128- and 192-bit keys as well. - This function prints the output as a string. Note that this may result in unreadable text if the decrypted payload is binary. See [`crypto.DecryptAESBytes`](#crypto.DecryptAESBytes) for another method. -- cgit v1.2.3