UNPKG

@reshuffle/monday-redis-service

Version:
10 lines (9 loc) 270 B
/// <reference types="node" /> export declare class Cipher { private static readonly KEY_LENGTH; private static readonly keyRegex; private key; constructor(key: string | Buffer); encrypt(text: string): string; decrypt(encoded: string): string; }