UNPKG

@iredium/butterfly

Version:
7 lines (6 loc) 318 B
/// <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; }