@iredium/butterfly
Version:
Express API Framework
7 lines (6 loc) • 318 B
TypeScript
/// <reference types="node" />
import * as crypto from 'crypto';
export declare class Crypto {
static encrypt(text: string, outputEncoding?: crypto.HexBase64BinaryEncoding, algorithm?: string): string;
static decrypt(text: string, inputEncoding?: crypto.HexBase64BinaryEncoding, algorithm?: string): string;
}