Algorithm | Operations | Result Type | Result Type when using Stream methods | Input Parameters |
---|---|---|---|---|
RSAES-PKCS1-v1_5 | encrypt, decrypt |
ArrayBuffer | Stream | |
RSASSA-PKCS1-v1_5 | sign | ArrayBuffer | Stream | |
RSA-PSS | sign | ArrayBuffer | Stream | |
RSA-OAEP | encrypt, decrypt |
ArrayBuffer | Stream | dictionary RsaOaepParams: AlgorithmParameters { AlgorithmIdentifier hash; AlgorithmInputData label; } |
ECDSA | sign | ArrayBuffer | Stream | |
AES-CTR | encrypt, decrypt |
ArrayBuffer | Stream | |
AES-CBC | encrypt, decrypt |
ArrayBuffer | Stream | dictionary AesCbcParams: AlgorithmParameters { AlgorithmInputData iv; } |
AES-CMAC | sign | ArrayBuffer | Stream | |
AES-GCM | encrypt, decrypt |
dictionary AesGcmResult { ArrayBuffer ciphertext; ArrayBuffer? tag; } |
dictionary AesGcmResult { Stream ciphertext; ArrayBuffer? tag; } |
dictionary AesGcmParams: AlgorithmParameters { AlgorithmInputData iv; AlgorithmInputData additionalData; [EnforceRange] octet? tagLength = 0; AlgorithmInputData? tag; } |
AES-CFB | encrypt, decrypt |
ArrayBuffer | Stream | dictionary AesCfbParams: AlgorithmParameters { AlgorithmInputData iv; }; |
HMAC | sign | ArrayBuffer | Stream | |
SHA | digest | ArrayBuffer | Stream | |
Concat KDF | deriveKey | dictionary ConcatParams: AlgorithmParameters { AlgorithmIdentifier hash; AlgorithmInputData algorithmId; AlgorithmInputData partyUInfo; AlgorithmInputData partyVInfo; AlgorithmInputData publicInfo; AlgorithmInputData privateInfo; }; |
||
HKDF-CTR | deriveKey | dictionary HkdfCtrParams: AlgorithmParameters { AlgorithmIdentifier hashAlg; AlgorithmInputData label; AlgorithmInputData context; }; |
||
PBKDF2 | deriveKey | dictionary Pbkdf2Params: AlgorithmParameters { AlgorithmInputData salt; [Clamp] unsigned long iterations; AlgorithmIdentifier prf; AlgorithmInputData? password; } |