react-native-quick-crypto
Version:
A fast implementation of Node's `crypto` module written in C/C++ JSI
11 lines • 398 B
TypeScript
import type { HashAlgorithmIdentifier, HashAlgorithm } from './keys';
export declare enum HashContext {
Node = 0,
WebCrypto = 1,
JwkRsa = 2,
JwkRsaPss = 3,
JwkRsaOaep = 4,
JwkHmac = 5
}
export declare function normalizeHashName(algo: string | HashAlgorithm | HashAlgorithmIdentifier | undefined, context?: HashContext): HashAlgorithm;
//# sourceMappingURL=Hashnames.d.ts.map