UNPKG

@akanass/rx-crypto

Version:

Crypto module provides some functions for security features like AES key, Key pair, RSA key, PKCS12, Certificate, PEM and more

12 lines (11 loc) 307 B
/// <reference types="node" /> import { Observable } from 'rxjs'; export interface AESKeyCreationResult { key: string; iv: string; } export declare class AES { private _hash; constructor(); createKey(password: string | Buffer, salt: string | Buffer): Observable<AESKeyCreationResult>; }