x-crypto

Build Status](https://travis-ci.org/x-component/x-crypto)

Usage no npm install needed!

<script type="module">
  import xCrypto from 'https://cdn.skypack.dev/x-crypto';
</script>

README

x-crypto

Build Status](https://travis-ci.org/x-component/x-crypto)

./hash.js

./index.js

./token.js

undefined.timestamp()

Generates a span alligned time span for the given period , 0 is now, period -1 the previous one back in time

undefined.validate()

A token is valid if its equal to a token generated of the same or previous time span

undefined.url()

Defines how a token is added to or retrieved from an url