summaryrefslogtreecommitdiff
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
parenta1d1162212c24217a0862e7d9cb4901d614ebf90 (diff)
docs: remove duplicate function doc
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
-rw-r--r--docs-src/content/functions/crypto.yml22
-rw-r--r--docs/content/functions/crypto.md32
2 files changed, 0 insertions, 54 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.
diff --git a/docs/content/functions/crypto.md b/docs/content/functions/crypto.md
index 5ea775b1..31a07036 100644
--- a/docs/content/functions/crypto.md
+++ b/docs/content/functions/crypto.md
@@ -50,38 +50,6 @@ $2a$04$zjba3N38sjyYsw0Y7IRCme1H4gD0MJxH8Ixai0/sgsrf7s1MFUK1C
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._
-
-### Usage
-
-```go
-crypto.DecryptAES key [keyBits] input
-```
-```go
-input | crypto.DecryptAES key [keyBits]
-```
-
-### Arguments
-
-| name | description |
-|------|-------------|
-| `key` | _(required)_ the key to use for decryption |
-| `keyBits` | _(optional)_ the key length to use - defaults to `256` |
-| `input` | _(required)_ the input to decrypt |
-
-### Examples
-
-```console
-$ gomplate -i '{{ base64.Decode "Gp2WG/fKOUsVlhcpr3oqgR+fRUNBcO1eZJ9CW+gDI18=" | crypto.DecryptAES "swordfish" 128 | conv.ToString }}'
-hello world
-```
-
-## `crypto.DecryptAES`
-
-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.