@sha256.bzl//:sha256.bzl
Functions & Macros
sha256Compute SHA-256 hash.
Parameters
*input | string with codepoints in 0x00-0xFF, or iterable of ints in 0x00-0xFF. |
encoding | "auto" (default) treats strings as raw bytes and iterables as byte lists. Default: "auto" |
output | "hex" for lowercase hex string, "int" for a single integer, Default: "hex" |
raw | if True, skip input validation and iterate the input directly as byte values Default: False |