diff options
Diffstat (limited to 'packages/taler-util/src/kdf.d.ts')
-rw-r--r-- | packages/taler-util/src/kdf.d.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/taler-util/src/kdf.d.ts b/packages/taler-util/src/kdf.d.ts new file mode 100644 index 000000000..80a6da41e --- /dev/null +++ b/packages/taler-util/src/kdf.d.ts @@ -0,0 +1,5 @@ +export declare function sha512(data: Uint8Array): Uint8Array; +export declare function hmac(digest: (d: Uint8Array) => Uint8Array, blockSize: number, key: Uint8Array, message: Uint8Array): Uint8Array; +export declare function hmacSha512(key: Uint8Array, message: Uint8Array): Uint8Array; +export declare function hmacSha256(key: Uint8Array, message: Uint8Array): Uint8Array; +export declare function kdf(outputLength: number, ikm: Uint8Array, salt: Uint8Array, info: Uint8Array): Uint8Array; |