react-native-quick-crypto
Version:
A fast implementation of Node's `crypto` module written in C/C++ JSI
15 lines • 443 B
TypeScript
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;
}
//# sourceMappingURL=blake3.nitro.d.ts.map