@0xc/invisihash

generate a zero-width (rendered) hash with popular algorithms such as SHA-256.

Usage no npm install needed!

<script type="module">
  import 0xcInvisihash from 'https://cdn.skypack.dev/@0xc/invisihash';
</script>

README

invisihash

generate a zero-width (rendered) hash with popular algorithms such as SHA-256.

examples

import { hash } from "@0xc/invisihash";

const someValue = JSON.stringify(arguments);
const output = hash(someValue, "sha384");

the default algorithm is sha256 and is not required to be passed

hash("hello world");

why does this even exist

Confluence requires unique titles and allows unicode so 🚀🚀🚀