UNPKG

@akanass/nestjsx-crypto

Version:

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

10 lines (9 loc) 330 B
/// <reference types="node" /> import { AESKeyCreationResult } from '@akanass/rx-crypto'; import { Observable } from 'rxjs'; export declare class AesService { private _aes; constructor(); createKey(password: string | Buffer, salt: string | Buffer): Observable<AESKeyCreationResult>; } export { AESKeyCreationResult };