Sequence Shorten
Shorten your sequence number or hash key.
Install
npm i sequence-shorten
Usage
If u want to encode ur sequence number or hash key.
;; // Result: bvShEnew SequenceShorten.encodesequenceNumber;
Or want to decode like below.
;;; // Result: 19950824new SequenceShorten.decodeencodedNumber;
Comment
- There must be no x1, x2 (with x1 ≠ x2) that will make f(x1) = f(x2),
- and for every y you must be able to find an x so that f(x) = y.