Skip to content

Commit

Permalink
website: Fix typographical errors in the docs for base64sha256/512
Browse files Browse the repository at this point in the history
  • Loading branch information
mururu authored and apparentlymart committed Nov 8, 2019
1 parent 515163d commit 72c910c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/docs/configuration/functions/base64sha256.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).

`base64sha256` computes the SHA256 hash of a given string and encodes it with
Base64. This is not equivalent to base64encode(sha256512("test")) since sha512()
Base64. This is not equivalent to `base64encode(sha256("test"))` since `sha256()`
returns hexadecimal representation.

The given string is first encoded as UTF-8 and then the SHA256 algorithm is applied
Expand Down
2 changes: 1 addition & 1 deletion website/docs/configuration/functions/base64sha512.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).

`base64sha512` computes the SHA512 hash of a given string and encodes it with
Base64. This is not equivalent to base64encode(sha512("test")) since sha512()
Base64. This is not equivalent to `base64encode(sha512("test"))` since `sha512()`
returns hexadecimal representation.

The given string is first encoded as UTF-8 and then the SHA512 algorithm is applied
Expand Down

0 comments on commit 72c910c

Please sign in to comment.