diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-04-05 11:40:02 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-04-05 16:35:07 +0200 |
commit | d1553b4b0f83e4a4305d2b4ab9ba6e305637f134 (patch) | |
tree | e92fec3a3f50a040b744d497f3c2f29aac5458b4 /docs/content/en | |
parent | 1d9dde82a0577d93eea8ed0a7ec0b4ae3068eb19 (diff) |
integrity: Add support for sha384
Fixes #5815
Diffstat (limited to 'docs/content/en')
-rwxr-xr-x | docs/content/en/hugo-pipes/fingerprint.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/en/hugo-pipes/fingerprint.md b/docs/content/en/hugo-pipes/fingerprint.md index 96aa7f556..7aa3f100a 100755 --- a/docs/content/en/hugo-pipes/fingerprint.md +++ b/docs/content/en/hugo-pipes/fingerprint.md @@ -18,7 +18,7 @@ draft: false Fingerprinting and [SRI](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) can be applied to any asset file using `resources.Fingerpint` which takes two arguments, the resource object and a [hash function](https://en.wikipedia.org/wiki/Cryptographic_hash_function). -The default hash function is `sha256`. Other available functions are `sha512` and `md5`. +The default hash function is `sha256`. Other available functions are `sha384` (from Hugo `0.55`), `sha512` and `md5`. Any so processed asset will bear a `.Data.Integrity` property containing an integrity string, which is made up of the name of the hash function, one hyphen and the base64-encoded hash sum. |