import { type WebCrypto } from "https://deno.land/std@0.120.0/crypto/mod.ts";
Properties
optional
subtle: { encrypt?(): Promise<unknown>; decrypt?(): Promise<unknown>; sign?(): Promise<unknown>; verify?(): Promise<unknown>; digest?(algorithm: WebCryptoAlgorithmIdentifier, data: BufferSource): Promise<ArrayBuffer>; generateKey?(algorithm: WebCryptoAlgorithmIdentifier,
extractable: boolean,
keyUsages: string[],
algorithm: WebCryptoAlgorithmIdentifier,
baseKey: unknown,
derivedKeyType: string,
extractable: boolean,
keyUsages: string[],
algorithm: WebCryptoAlgorithmIdentifier,
baseKey: unknown,
length: number,
format: string,
keyData: BufferSource | unknown,
algorithm: WebCryptoAlgorithmIdentifier,
extractable: boolean,
keyUsages: string[],
format: string,
key: unknown,
wrappingKey: unknown,
wrappingAlgorithm: WebCryptoAlgorithmIdentifier,
format: string,
wrappedKey: BufferSource,
unwrappingKey: unknown,
unwrapAlgorithm: WebCryptoAlgorithmIdentifier,
unwrappedKeyAlgorithm: WebCryptoAlgorithmIdentifier,
extractable: boolean,
keyUsages: string[],
Methods
getRandomValues<T extends BufferSource>(buffer: T): T