UNPKG

react-native-quick-crypto

Version:

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

11 lines (9 loc) 247 B
export type InternalHash = { update: (data: ArrayBuffer) => InternalHash; digest: () => ArrayBuffer; copy: (len?: number) => InternalHash; }; export type CreateHashMethod = ( algorithm: string, outputLength?: number, ) => InternalHash;