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) 317 B
/// <reference types="randomstring" /> import { GenerateOptions } from '@akanass/rx-crypto'; import { Observable } from 'rxjs'; export declare class RandomStringService { private _randomString; constructor(); generate(options?: GenerateOptions | number): Observable<string>; } export { GenerateOptions };