Files
notesnook/packages/core/utils/id.js

6 lines
147 B
JavaScript
Raw Normal View History

import cryptoRandom from "crypto-random-string";
export default function () {
2020-08-27 13:22:03 +05:00
return cryptoRandom({ length: 24, type: "hex" }).toLowerCase();
}