summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2022-05-31 09:06:20 -0400
committerDave Henderson <dhenderson@gmail.com>2022-06-04 15:31:41 -0400
commit3187c830d91c4d16d34c07d8cc8b5486ff3f8e46 (patch)
tree1cbaf4adefa5bfe42812bc01a2803f09003a616a /docs
parent795ddbd84aa2d79bbc2f0fb3894cf628bc7f9e25 (diff)
Mark new AES functions experimental
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/content/functions/crypto.md15
1 files changed, 12 insertions, 3 deletions
diff --git a/docs/content/functions/crypto.md b/docs/content/functions/crypto.md
index 8834a9f0..ea204fbf 100644
--- a/docs/content/functions/crypto.md
+++ b/docs/content/functions/crypto.md
@@ -45,7 +45,10 @@ $ gomplate -i '{{ crypto.Bcrypt 4 "foo" }}
$2a$04$zjba3N38sjyYsw0Y7IRCme1H4gD0MJxH8Ixai0/sgsrf7s1MFUK1C
```
-## `crypto.DecryptAES`
+## `crypto.DecryptAES` _(experimental)_
+**Experimental:** This function is [_experimental_][experimental] and may be enabled with the [`--experimental`][experimental] flag.
+
+[experimental]: ../config/#experimental
Decrypts the given input using the given key. By default,
uses AES-256-CBC, but supports 128- and 192-bit keys as well.
@@ -82,7 +85,10 @@ $ gomplate -i '{{ base64.Decode "Gp2WG/fKOUsVlhcpr3oqgR+fRUNBcO1eZJ9CW+gDI18=" |
hello world
```
-## `crypto.DecryptAESBytes`
+## `crypto.DecryptAESBytes` _(experimental)_
+**Experimental:** This function is [_experimental_][experimental] and may be enabled with the [`--experimental`][experimental] flag.
+
+[experimental]: ../config/#experimental
Decrypts the given input using the given key. By default,
uses AES-256-CBC, but supports 128- and 192-bit keys as well.
@@ -118,7 +124,10 @@ $ gomplate -i '{{ base64.Decode "Gp2WG/fKOUsVlhcpr3oqgR+fRUNBcO1eZJ9CW+gDI18=" |
hello world
```
-## `crypto.EncryptAES`
+## `crypto.EncryptAES` _(experimental)_
+**Experimental:** This function is [_experimental_][experimental] and may be enabled with the [`--experimental`][experimental] flag.
+
+[experimental]: ../config/#experimental
Encrypts the given input using the given key. By default,
uses AES-256-CBC, but supports 128- and 192-bit keys as well.