summaryrefslogtreecommitdiff
path: root/docs-src
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2022-03-28 19:10:48 -0400
committerDave Henderson <dhenderson@gmail.com>2022-03-28 19:36:47 -0400
commit09ea51abb4b5fe2626847f168cb0a49c4cf94f32 (patch)
tree2dbbd17f3a8612e349935e7e1069f354be8707cf /docs-src
parenta1d1162212c24217a0862e7d9cb4901d614ebf90 (diff)
docs: remove duplicate function doc
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'docs-src')
-rw-r--r--docs-src/content/functions/crypto.yml22
1 files changed, 0 insertions, 22 deletions
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.