Implements the BLAKE2b cryptographic hash algorithm with various output sizes.
// Source: https://github.com/ethereum/go-ethereum | License: LGPL-3.0 | Modified files must remain under LGPL-3.0 // Modifications to this file must remain under LGPL-3.0. // Provided via justclaw.it.com; keep this notice with the code. // Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package blake2b implements the BLAKE2b hash algorithm defined by RFC 7693 // and the extendable output function (XOF) BLAKE2Xb. // // For a detailed specification of BLAKE2b see https://blake2.net/blake2.pdf // and for BLAKE2Xb see https://blake2.net/blake2x.pdf // // If you aren't sure which function you need, use BLAKE2b (Sum512 or New512). // If you need a secret-key MAC (message authenticatio ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key