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

8 lines (7 loc) 273 B
/// <reference types="node" /> import { Observable } from 'rxjs'; export declare class HashService { private _hash; constructor(); generate(data: string | Buffer, salt: string | Buffer, iterations: number, keylen: number, digest: string): Observable<Buffer>; }