[{"name":"Blake2b","comment":" [BLAKE2b] is a [cryptographic hash function] (RFC 7693) that supports\nkeyed hashing and variable-length output (1 to 64 bytes).\n\nFor fixed-length unkeyed hashes, prefer the dedicated modules\n[`Blake2b224`](Blake2b224), [`Blake2b256`](Blake2b256), or\n[`Blake2b512`](Blake2b512).\n\n[BLAKE2b]: https://datatracker.ietf.org/doc/html/rfc7693\n[cryptographic hash function]: https://en.wikipedia.org/wiki/Cryptographic_hash_function\n\n@docs Digest\n\n\n# Creating digests\n\n@docs fromString, fromBytes, fromByteValues\n\n\n# Formatting digests\n\n@docs toHex, toBase64\n\n\n# To binary data\n\n@docs toBytes, toByteValues\n\n","unions":[{"name":"Digest","comment":" An abstract BLAKE2b digest. Its length matches the `digestLength` passed\nto the constructor.\n","args":[],"cases":[]}],"aliases":[],"values":[{"name":"fromByteValues","comment":" Create a digest from a list of byte values (0-255).\n","type":"{ digestLength : Basics.Int, key : Bytes.Bytes } -> List.List Basics.Int -> Blake2b.Digest"},{"name":"fromBytes","comment":" Create a digest from [`Bytes`](https://package.elm-lang.org/packages/elm/bytes/latest/).\n","type":"{ digestLength : Basics.Int, key : Bytes.Bytes } -> Bytes.Bytes -> Blake2b.Digest"},{"name":"fromString","comment":" Create a digest from a `String`.\n\n`digestLength` is the output length in bytes (1 to 64). Use empty `Bytes`\nas `key` for unkeyed hashing, or a 1-to-64 byte key for a keyed hash (MAC).\n\n    import Blake2b\n    import Bytes.Encode as Encode\n\n    Blake2b.fromString\n        { digestLength = 32, key = Encode.encode (Encode.sequence []) }\n        \"hello\"\n        |> Blake2b.toHex\n    --> \"324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf\"\n\n","type":"{ digestLength : Basics.Int, key : Bytes.Bytes } -> String.String -> Blake2b.Digest"},{"name":"toBase64","comment":" Turn a digest into a base64 encoded string.\n","type":"Blake2b.Digest -> String.String"},{"name":"toByteValues","comment":" Turn a digest into a list of byte values (0-255).\n","type":"Blake2b.Digest -> List.List Basics.Int"},{"name":"toBytes","comment":" Turn a digest into `Bytes`. Width matches the `digestLength` used at\nconstruction time.\n","type":"Blake2b.Digest -> Bytes.Bytes"},{"name":"toHex","comment":" Turn a digest into a hex string.\n","type":"Blake2b.Digest -> String.String"}],"binops":[]},{"name":"Blake2b224","comment":" [BLAKE2b-224] is a [cryptographic hash function] (RFC 7693) that gives\n112 bits of security with a 28-byte digest.\n\n[BLAKE2b-224]: https://datatracker.ietf.org/doc/html/rfc7693\n[cryptographic hash function]: https://en.wikipedia.org/wiki/Cryptographic_hash_function\n\n@docs Digest\n\n\n# Creating digests\n\n@docs fromString, fromBytes, fromByteValues\n\n\n# Formatting digests\n\n@docs toHex, toBase64\n\n\n# To binary data\n\n@docs toBytes, toByteValues\n\n","unions":[{"name":"Digest","comment":" An abstract BLAKE2b-224 digest (28 bytes).\n","args":[],"cases":[]}],"aliases":[],"values":[{"name":"fromByteValues","comment":" Create a digest from a list of byte values (0-255).\n","type":"List.List Basics.Int -> Blake2b224.Digest"},{"name":"fromBytes","comment":" Create a digest from [`Bytes`](https://package.elm-lang.org/packages/elm/bytes/latest/).\n","type":"Bytes.Bytes -> Blake2b224.Digest"},{"name":"fromString","comment":" Create a digest from a `String`.\n\n    import Blake2b224\n\n    Blake2b224.fromString \"abc\"\n        |> Blake2b224.toHex\n    --> \"9bd237b02a29e43bdd6738afa5b53ff0eee178d6210b618e4511aec8\"\n\n","type":"String.String -> Blake2b224.Digest"},{"name":"toBase64","comment":" Turn a digest into a base64 encoded string.\n","type":"Blake2b224.Digest -> String.String"},{"name":"toByteValues","comment":" Turn a digest into a list of byte values (0-255).\n","type":"Blake2b224.Digest -> List.List Basics.Int"},{"name":"toBytes","comment":" Turn a digest into `Bytes`. The width is 28 bytes (224 bits).\n","type":"Blake2b224.Digest -> Bytes.Bytes"},{"name":"toHex","comment":" Turn a digest into a hex string.\n","type":"Blake2b224.Digest -> String.String"}],"binops":[]},{"name":"Blake2b256","comment":" [BLAKE2b-256] is a [cryptographic hash function] (RFC 7693) that gives\n128 bits of security with a 32-byte digest.\n\n[BLAKE2b-256]: https://datatracker.ietf.org/doc/html/rfc7693\n[cryptographic hash function]: https://en.wikipedia.org/wiki/Cryptographic_hash_function\n\n@docs Digest\n\n\n# Creating digests\n\n@docs fromString, fromBytes, fromByteValues\n\n\n# Formatting digests\n\n@docs toHex, toBase64\n\n\n# To binary data\n\n@docs toBytes, toByteValues\n\n","unions":[{"name":"Digest","comment":" An abstract BLAKE2b-256 digest (32 bytes).\n","args":[],"cases":[]}],"aliases":[],"values":[{"name":"fromByteValues","comment":" Create a digest from a list of byte values (0-255).\n","type":"List.List Basics.Int -> Blake2b256.Digest"},{"name":"fromBytes","comment":" Create a digest from [`Bytes`](https://package.elm-lang.org/packages/elm/bytes/latest/).\n","type":"Bytes.Bytes -> Blake2b256.Digest"},{"name":"fromString","comment":" Create a digest from a `String`.\n\n    import Blake2b256\n\n    Blake2b256.fromString \"abc\"\n        |> Blake2b256.toHex\n    --> \"bddd813c634239723171ef3fee98579b94964e3bb1cb3e427262c8c068d52319\"\n\n","type":"String.String -> Blake2b256.Digest"},{"name":"toBase64","comment":" Turn a digest into a base64 encoded string.\n","type":"Blake2b256.Digest -> String.String"},{"name":"toByteValues","comment":" Turn a digest into a list of byte values (0-255).\n","type":"Blake2b256.Digest -> List.List Basics.Int"},{"name":"toBytes","comment":" Turn a digest into `Bytes`. The width is 32 bytes (256 bits).\n","type":"Blake2b256.Digest -> Bytes.Bytes"},{"name":"toHex","comment":" Turn a digest into a hex string.\n","type":"Blake2b256.Digest -> String.String"}],"binops":[]},{"name":"Blake2b512","comment":" [BLAKE2b-512] is a [cryptographic hash function] (RFC 7693) that gives\n256 bits of security with a 64-byte digest.\n\n[BLAKE2b-512]: https://datatracker.ietf.org/doc/html/rfc7693\n[cryptographic hash function]: https://en.wikipedia.org/wiki/Cryptographic_hash_function\n\n@docs Digest\n\n\n# Creating digests\n\n@docs fromString, fromBytes, fromByteValues\n\n\n# Formatting digests\n\n@docs toHex, toBase64\n\n\n# To binary data\n\n@docs toBytes, toByteValues\n\n","unions":[{"name":"Digest","comment":" An abstract BLAKE2b-512 digest (64 bytes).\n","args":[],"cases":[]}],"aliases":[],"values":[{"name":"fromByteValues","comment":" Create a digest from a list of byte values (0-255).\n","type":"List.List Basics.Int -> Blake2b512.Digest"},{"name":"fromBytes","comment":" Create a digest from [`Bytes`](https://package.elm-lang.org/packages/elm/bytes/latest/).\n","type":"Bytes.Bytes -> Blake2b512.Digest"},{"name":"fromString","comment":" Create a digest from a `String`.\n\n    import Blake2b512\n\n    Blake2b512.fromString \"abc\"\n        |> Blake2b512.toHex\n    --> \"ba80a53f981c4d0d6a2797b69f12f6e94c212f14685ac4b74b12bb6fdbffa2d17d87c5392aab792dc252d5de4533cc9518d38aa8dbf1925ab92386edd4009923\"\n\n","type":"String.String -> Blake2b512.Digest"},{"name":"toBase64","comment":" Turn a digest into a base64 encoded string.\n","type":"Blake2b512.Digest -> String.String"},{"name":"toByteValues","comment":" Turn a digest into a list of byte values (0-255).\n","type":"Blake2b512.Digest -> List.List Basics.Int"},{"name":"toBytes","comment":" Turn a digest into `Bytes`. The width is 64 bytes (512 bits).\n","type":"Blake2b512.Digest -> Bytes.Bytes"},{"name":"toHex","comment":" Turn a digest into a hex string.\n","type":"Blake2b512.Digest -> String.String"}],"binops":[]}]