react-native-quick-crypto
Version:
A fast implementation of Node's `crypto` module written in C/C++ JSI
5 lines • 382 B
TypeScript
import type { CipherOrWrapMode, DigestAlgorithm } from '../keys';
import type { RSAKeyVariant } from '../rsa';
import type { KeyObjectHandle } from './webcrypto';
export type RSACipher = (mode: CipherOrWrapMode, handle: KeyObjectHandle, data: ArrayBuffer, variant: RSAKeyVariant, hash: DigestAlgorithm, label?: ArrayBuffer) => Promise<ArrayBuffer>;
//# sourceMappingURL=rsa.d.ts.map