/motoko-sha

The SHA Package

Primary LanguageMotokoApache License 2.0Apache-2.0

The SHA Package

Build Status

This package implements secure hash algorithms for the Motoko programming language.

Usage

Calculate a SHA256 hash.

public func sha256(data : [Nat8]) : [Nat8]