GetRandomValues overview
Added in v1.0.0
Table of contents
utils
GetRandomValues
Signature
export declare const GetRandomValues: Context.Fn<GetRandomValues, (length: number) => Effect.Effect<Uint8Array>>
Added in v1.0.0
GetRandomValues (interface)
Signature
export interface GetRandomValues extends Context.Fn.Identifier<typeof GetRandomValues> {}
Added in v1.0.0
getRandomValues
Signature
export declare const getRandomValues: Layer.Layer<GetRandomValues, never, never>
Added in v1.0.0
getRandomValuesNode
Signature
export declare const getRandomValuesNode: (crypto: typeof length: number) => Uint8Array
Added in v1.0.0
nodeCrypto
Signature
export declare const nodeCrypto: (crypto: typeof => Layer.Layer<GetRandomValues>
Added in v1.0.0
pseudoRandom
Signature
export declare const pseudoRandom: Layer.Layer<GetRandomValues, never, never>
Added in v1.0.0
webCrypto
Signature
export declare const webCrypto: (crypto: Crypto) => Layer.Layer<GetRandomValues>
Added in v1.0.0