Skip to content

Add sha3 hashing function #96

@jbencin

Description

@jbencin

Add sha3 hashing function, which similar to Keccak (same algorithm with slightly different input parameters, as I understand it)

This should be trivial to do. Code structure and costs can be copied from the existing keccak256 function. It doesn't require any additional dependencies, since we use the sha3 crate for keccak256

I don't have an immediate need SHA3 in anything I'm working on, but I noticed Clarity doesn't have it, and IMO it's good to have broad support for cryptographic primitives since they are prohibitively expensive to implement in Clarity

Metadata

Metadata

Assignees

No one assigned

    Labels

    SSmall task; <= 1 day in scopenew-builtinThe issue describes a new Clarity builtin (function or variable)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions