mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
determine length based on alg. fix 512 wc pbkdf2
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export abstract class CryptoFunctionService {
|
||||
pbkdf2: (password: string | ArrayBuffer, salt: string | ArrayBuffer, algorithm: 'sha256' | 'sha512',
|
||||
iterations: number, length: number) => Promise<ArrayBuffer>;
|
||||
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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user