UNPKG

react-native-quick-crypto

Version:

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

8 lines (5 loc) 222 B
import type { KeyObjectHandle } from './webcrypto'; export type GenerateSecretKeyMethod = ( length: number, ) => Promise<KeyObjectHandle>; export type GenerateSecretKeySyncMethod = (length: number) => KeyObjectHandle;