用户友好的伪随机数生成器(PRNG)-JavaScript开发

时间:2021-05-26 04:21:51
【文件属性】:
文件名称:用户友好的伪随机数生成器(PRNG)-JavaScript开发
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-26 04:21:51
JavaScript Miscellaneous randoma用户友好的伪随机数生成器(PRNG),这在密码上是不安全的。 安装$ npm install randoma用法const Randoma = require('randoma'); const random =新的Random randoma用户友好的伪随机数生成器(PRNG),这在密码上不是安全的。 安装$ npm install randoma用法const Randoma = require('randoma'); const random = new Randoma({seed:10}); random.integer(); // => 2027521326 random.integer(); // => 677268843(新的Randoma({seed:':unicorn:'})。integer()); // => 1659974344(new Randoma({seed:':unicorn:'})。integer()); // => 1659974344 API const random = new Randoma(options)options类型:对象
【文件预览】:
randoma-main
----index.test-d.ts(651B)
----.gitattributes(19B)
----.github()
--------funding.yml(113B)
--------workflows()
----test.js(4KB)
----license(1KB)
----index.d.ts(2KB)
----.npmrc(19B)
----.editorconfig(175B)
----.gitignore(23B)
----index.js(1KB)
----readme.md(2KB)
----package.json(848B)

网友评论