namespace
crypto.webcrypto
namespace webcrypto
An implementation of the Web Crypto API standard.
See the Web Crypto API documentation for details.
interface AeadParams
interface AesCbcParams
interface AesCtrParams
interface AesDerivedKeyParams
interface AesKeyAlgorithm
interface AesKeyGenParams
interface Argon2Params
interface ContextParams
interface Crypto
- getRandomValues<T extends Uint8Array<ArrayBuffer> | Uint8ClampedArray<ArrayBuffer> | Uint16Array<ArrayBuffer> | Uint32Array<ArrayBuffer> | Int8Array<ArrayBuffer> | Int16Array<ArrayBuffer> | Int32Array<ArrayBuffer> | BigUint64Array<ArrayBuffer> | BigInt64Array<ArrayBuffer>>(typedArray: T): T;
interface CryptoKey
interface CryptoKeyPair
interface CShakeParams
interface EcdhKeyDeriveParams
interface EcdsaParams
interface EcKeyAlgorithm
interface EcKeyGenParams
interface EcKeyImportParams
interface EncapsulatedBits
interface EncapsulatedKey
interface HkdfParams
interface HmacImportParams
interface HmacKeyAlgorithm
interface HmacKeyGenParams
interface KangarooTwelveParams
interface KeyAlgorithm
interface KmacImportParams
interface KmacKeyAlgorithm
interface KmacKeyGenParams
interface KmacParams
interface Pbkdf2Params
interface RsaHashedImportParams
interface RsaHashedKeyAlgorithm
interface RsaHashedKeyGenParams
interface RsaKeyAlgorithm
interface RsaKeyGenParams
interface RsaOaepParams
interface RsaOtherPrimesInfo
interface RsaPssParams
interface SubtleCrypto
- ciphertext: BufferSource
- ciphertext: BufferSource,sharedKeyAlgorithm: AlgorithmIdentifier | HmacImportParams | AesDerivedKeyParams | KmacImportParams,extractable: boolean,
- data: BufferSource
- length?: null | number
- extractable: boolean,
- data: BufferSource
- sharedKeyAlgorithm: AlgorithmIdentifier | HmacImportParams | AesDerivedKeyParams | KmacImportParams,extractable: boolean,
- data: BufferSource
- format: 'spki' | 'pkcs8' | 'raw-public' | 'raw-seed' | 'raw' | 'raw-secret',
- extractable: boolean,extractable: boolean,extractable: boolean,
- format: 'jwk',algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm | KmacImportParams,extractable: boolean,format: 'spki' | 'pkcs8' | 'raw-public' | 'raw-seed' | 'raw' | 'raw-secret',keyData: BufferSource,algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm | KmacImportParams,extractable: boolean,
- sign(data: BufferSource
- wrappedKey: BufferSource,unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm | KmacImportParams,extractable: boolean,
- signature: BufferSource,data: BufferSource): Promise<boolean>;
interface TurboShakeParams
- type AlgorithmIdentifier = Algorithm | string
- type BigInteger = NodeJS.NonSharedUint8Array
- type KeyFormat =| 'jwk'| 'pkcs8'| 'raw'| 'raw-public'| 'raw-secret'| 'raw-seed'| 'spki'
- type KeyType = 'private' | 'public' | 'secret'
- type KeyUsage =| 'decapsulateBits'| 'decapsulateKey'| 'decrypt'| 'deriveBits'| 'deriveKey'| 'encapsulateBits'| 'encapsulateKey'| 'encrypt'| 'sign'| 'unwrapKey'| 'verify'| 'wrapKey'
- type NamedCurve = string