@vaporsproject/sha2

The SHA2 family hash functions and HMAC functions for vapors.

Usage no npm install needed!

<script type="module">
  import vaporsprojectSha2 from 'https://cdn.skypack.dev/@vaporsproject/sha2';
</script>

README

SHA2 Hash Functions

This sub-module is part of the vapors 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("@vaporsproject/sha2");

License

MIT License