Skip to content

Add support for BLAKE2 and BLAKE3 #33

@sgerodes

Description

@sgerodes

Found this library while searching a merkle tree implementation four our blockchain Project G6. Great work, thanks. Although we need support for blake algorithms.

Current implementation does not support blake hashing.

SHA2_ALGORITHMS = ['sha224', 'sha256', 'sha384', 'sha512']
SHA3_ALGORITHMS = ['sha3_224', 'sha3_256', 'sha3_384', 'sha3_512']
KECCAK_ALGORITHMS = ['keccak_224', 'keccak_256', 'keccak_384', 'keccak_512']

Add BLAKE2 (blake2b, blake2s) and BLAKE3 (blake3) to supported algorithms.
They’re widely used in modern blockchains.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions