react-native-quick-crypto
Version:
A fast implementation of Node's `crypto` module written in C/C++ JSI
4 lines • 457 B
TypeScript
import type { AnyAlgorithm, EncryptDecryptParams, SubtleAlgorithm } from './keys';
export type Operation = 'digest' | 'generateKey' | 'sign' | 'verify' | 'importKey' | 'deriveBits' | 'encrypt' | 'decrypt' | 'get key length' | 'wrapKey' | 'unwrapKey';
export declare const normalizeAlgorithm: (algorithm: SubtleAlgorithm | EncryptDecryptParams | AnyAlgorithm, op: Operation) => SubtleAlgorithm | EncryptDecryptParams;
//# sourceMappingURL=Algorithms.d.ts.map