website: Fix typographical errors in the docs for base64sha256/512

This commit is contained in:
Yuki Ito 2019-11-09 02:43:27 +09:00 committed by Martin Atkins
parent 515163d8e8
commit 72c910cebc
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html). [0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`base64sha256` computes the SHA256 hash of a given string and encodes it with `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. returns hexadecimal representation.
The given string is first encoded as UTF-8 and then the SHA256 algorithm is applied The given string is first encoded as UTF-8 and then the SHA256 algorithm is applied

View File

@ -14,7 +14,7 @@ earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html). [0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`base64sha512` computes the SHA512 hash of a given string and encodes it with `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. returns hexadecimal representation.
The given string is first encoded as UTF-8 and then the SHA512 algorithm is applied The given string is first encoded as UTF-8 and then the SHA512 algorithm is applied