DevYK 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
..
lib 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
lib.esm 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
src.ts 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
LICENSE.md 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
README.md 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
package.json 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
thirdparty.d.ts 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos

README.md

SHA2 Hash Functions

This sub-module is part of the ethers project.

It is responsible for common cryptographic hashes and HMAC.

For more information, see the documentation.

Importing

Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.

const {

    ripemd160,

    sha256,
    sha512,

    computeHmac,

    // Enums

    SupportedAlgorithm

} = require("@ethersproject/sha2");

License

MIT License