Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qwtel/node-get-random-values
crypto.getRandomValues polyfill for node
https://github.com/qwtel/node-get-random-values
Last synced: 25 days ago
JSON representation
crypto.getRandomValues polyfill for node
- Host: GitHub
- URL: https://github.com/qwtel/node-get-random-values
- Owner: qwtel
- License: mit
- Created: 2020-03-07T12:24:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T13:15:44.000Z (almost 2 years ago)
- Last Synced: 2024-09-13T04:27:38.986Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 118 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# node-get-random-values
`crypto.getRandomValues` polyfill for node.
Comes in two flavors, "polyfill" and " phonyfill". The "phonyfill" is a more efficient implementation that doesn't fully correspond to the WebCrypto specification. Specifically, it only implements the code path where the result of the function call is used, e.g.:
```js
const useThis = crypto.getRandomValues(new Uint8Array(16))
```