Page MenuHomePhorge

crypto.d.ts
No OneTemporary

Size
538 B
Referenced Files
None
Subscribers
None

crypto.d.ts

declare module 'crypto' {
interface WebCrypto {
random(): number;
randomBytes(length: number): number[];
randomUUID(): string;
randomUUIDv7(): string;
getRandomValues<T extends ArrayBufferView>(array: T): T;
}
const webcrypto: WebCrypto;
function randomBytes(length: number): number[];
function randomUUID(): string;
function getRandomValues<T extends ArrayBufferView>(array: T): T;
}
declare module 'ant:crypto' {
export * from 'events';
}
declare module 'node:crypto' {
export * from 'events';
}

File Metadata

Mime Type
text/plain
Expires
Sun, May 3, 7:43 AM (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
538213
Default Alt Text
crypto.d.ts (538 B)

Event Timeline