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

4 lines (3 loc) 197 B
import { MonoTypeOperatorFunction } from 'rxjs'; import * as NodeRSA from 'node-rsa'; export declare const generateKeyPair: (bits?: number, exponent?: number) => MonoTypeOperatorFunction<NodeRSA>;