1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

rsaDecrypt implementation

This commit is contained in:
Kyle Spearrin
2018-04-19 00:00:53 -04:00
parent e20e878b8b
commit 97fe01e131
3 changed files with 34 additions and 2 deletions

View File

@@ -3,4 +3,5 @@ export abstract class CryptoFunctionService {
iterations: number) => Promise<ArrayBuffer>;
hash: (value: string | ArrayBuffer, algorithm: 'sha1' | 'sha256' | 'sha512') => Promise<ArrayBuffer>;
hmac: (value: ArrayBuffer, key: ArrayBuffer, algorithm: 'sha1' | 'sha256' | 'sha512') => Promise<ArrayBuffer>;
rsaDecrypt: (data: ArrayBuffer, key: ArrayBuffer, algorithm: 'sha1' | 'sha256') => Promise<ArrayBuffer>;
}