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