ethers.js/packages/sha2/README.md
2020-08-25 01:09:48 -04:00

671 B

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