UNPKG

react-native-quick-crypto

Version:

A fast implementation of Node's `crypto` module written in C/C++ JSI

10 lines (8 loc) 203 B
export type InternalHmac = { update: (data: ArrayBuffer) => InternalHmac; digest: () => ArrayBuffer; }; export type CreateHmacMethod = ( algorithm: string, key?: ArrayBuffer, ) => InternalHmac;