MCPcopy Create free account
hub / github.com/effect-app/libs / randomBytes

Method randomBytes

repos/effect/packages/effect/src/Crypto.ts:93–93  ·  view source on GitHub ↗

* Generates cryptographically secure random bytes.

(size: number)

Source from the content-addressed store, hash-verified

91 */
92 randomBytes(size: number): Effect.Effect<Uint8Array, PlatformError.PlatformError>
93
94 /**
95 * Computes a cryptographic digest for the supplied data.
96 */

Callers 3

makeTempFileFactoryFunction · 0.80
NodeCrypto.test.tsFile · 0.80
Crypto.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected