react-native-config-secure-encrypted
Version:
Secure fork of react-native-config-encrypted with crypto-js upgraded to fix vulnerabilities
14 lines (12 loc) • 398 B
TypeScript
declare module 'react-native-config-encrypted' {
export interface ConfigureOptions {
key: string;
provider: any;
}
export default class SecureConfig {
static configure(config: ConfigureOptions): void;
static encrypt(msg: string): string;
static decrypt(value: string): string;
static get(key: string, decrypt?: boolean): string;
}
}