UNPKG

react-native-quick-crypto

Version:

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

13 lines (11 loc) 377 B
import type { HybridObject } from 'react-native-nitro-modules'; export interface Blake3 extends HybridObject<{ ios: 'c++'; android: 'c++' }> { initHash(): void; initKeyed(key: ArrayBuffer): void; initDeriveKey(context: string): void; update(data: ArrayBuffer): void; digest(length?: number): ArrayBuffer; reset(): void; copy(): Blake3; getVersion(): string; }