UNPKG

@relaycorp/webcrypto-kms

Version:

WebCrypto-compatible client for Key Management Services like GCP KMS

4 lines (3 loc) 288 B
import { HashingAlgorithm } from '../algorithms'; export declare function derDeserialisePublicKey(publicKeySerialized: ArrayBuffer, algorithm: RsaHashedImportParams): Promise<CryptoKey>; export declare function hash(input: ArrayBuffer, algorithm: HashingAlgorithm): Promise<ArrayBuffer>;