@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) • 348 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RandomString = void 0;
const rxjs_1 = require("rxjs");
const randomstring_1 = require("randomstring");
class RandomString {
generate(options) {
return (0, rxjs_1.of)((0, randomstring_1.generate)(options));
}
}
exports.RandomString = RandomString;