github.com/muratcelep/terraform@v1.1.0-beta2-not-internal-4/website/docs/language/functions/filebase64sha512.html.md (about) 1 --- 2 layout: "language" 3 page_title: "filebase64sha512 - Functions - Configuration Language" 4 sidebar_current: "docs-funcs-crypto-filebase64sha512" 5 description: |- 6 The filebase64sha512 function computes the SHA512 hash of the contents of 7 a given file and encodes it with Base64. 8 --- 9 10 # `filebase64sha512` Function 11 12 `filebase64sha512` is a variant of [`base64sha512`](./base64sha512.html) 13 that hashes the contents of a given file rather than a literal string. 14 15 This is similar to `base64sha512(file(filename))`, but 16 because [`file`](./file.html) accepts only UTF-8 text it cannot be used to 17 create hashes for binary files.