@checkdigit/hash

Hash is a small function for Check Digit services to create a uuid derived from a hash generated from a given value.

Usage no npm install needed!

<script type="module">
  import checkdigitHash from 'https://cdn.skypack.dev/@checkdigit/hash';
</script>

README

Hash

Copyright (c) 2021 Check Digit, LLC

Hash is a small function for Check Digit services to create a UUID derived from a hash generated from a given value.

Install

$ npm install @checkdigit/hash

Use

import { hash } from '@checkdigit/hash';

const derivedUUID = hash('some value');

License

MIT