
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
hash-numbers
Advanced tools
Goal is to turn incrementing numbers into harder to guess numbers. Big plus would be to be able to decode encoded result back to original number. New methods are very welcome.
Goal is to turn incrementing numbers into harder to guess numbers. Big plus would be to be able to decode encoded result back to original number. New methods are very welcome.
This repository has npm release pipeline configuration. When new release tag is made, pipeline will automatically package and upload a new version.
const HashNumber = require("hash-numbers").default;
const hashNumber = new HashNumber({
algorithm: 'DEFAULT',
salt: 'Czb8ZQja',
prefix: 'HN-',
suffix: '',
});
console.log(hashNumber.encode(1));
console.log(hashNumber.encode(2));
console.log(hashNumber.encode(3));
717 / 1
1434 / 2
2151 / 3
2868 / 4
3585 / 5
4302 / 6
5019 / 7
5736 / 8
6453 / 9
1578314305
954565637
1340257427
779738832
1501490778
1065893916
1217360010
667914981
1355326067
7410851152308010 / 1
7302372875975395 / 2
7299112721931640 / 3
7299117621102511 / 4
7299117543837988 / 5
7299117540150787 / 6
7299117539959456 / 7
FAQs
Goal is to turn incrementing numbers into harder to guess numbers. Big plus would be to be able to decode encoded result back to original number. New methods are very welcome.
We found that hash-numbers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.