[#llvm-TruncatedBLAKE3] = xref:llvm.adoc[llvm]::TruncatedBLAKE3 :relfileprefix: ../ :mrdocs: Like `BLAKE3` but using a class‐level template parameter for specifying the hash size of the `final()` and `result()` functions. == Synopsis Declared in `<llvm/Support/BLAKE3.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<size_t NumBytes> class TruncatedBLAKE3 : public xref:llvm/BLAKE3.adoc[BLAKE3] ---- == Description This is useful for using BLAKE3 as the hasher type for `HashBuilder` with non‐default hash sizes. == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/BLAKE3.adoc[BLAKE3]` | A class that wraps the BLAKE3 algorithm. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/TruncatedBLAKE3/final-06.adoc[`final`] | `final` overloads | xref:llvm/BLAKE3/init.adoc[`init`] | Reinitialize the internal state | xref:llvm/BLAKE3/init_keyed.adoc[`init_keyed`] | Reinitialize the internal state with the given key. | xref:llvm/TruncatedBLAKE3/result-04.adoc[`result`] | Return the current hash of the digested data since the last init(). | xref:llvm/BLAKE3/update-0a.adoc[`update`] | Digest more data. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/BLAKE3/hash.adoc[`hash`] | Returns a BLAKE3 hash for the given data. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#