react-native-quick-crypto
Version:
A fast implementation of Node's `crypto` module written in C/C++ JSI
11 lines • 603 B
TypeScript
import type { HybridObject } from 'react-native-nitro-modules';
export type TurboShakeVariant = 'TurboSHAKE128' | 'TurboSHAKE256';
export type KangarooTwelveVariant = 'KT128' | 'KT256';
export interface TurboShake extends HybridObject<{
ios: 'c++';
android: 'c++';
}> {
turboShake(variant: TurboShakeVariant, domainSeparation: number, outputLength: number, data: ArrayBuffer): Promise<ArrayBuffer>;
kangarooTwelve(variant: KangarooTwelveVariant, outputLength: number, data: ArrayBuffer, customization?: ArrayBuffer): Promise<ArrayBuffer>;
}
//# sourceMappingURL=turboshake.nitro.d.ts.map