UNPKG

rsa-key-es5

Version:

[ES5 version] Converts between RSA key formats, detecting input format (PEM, DER, PKCS1, PKCS8). No OpenSSL needed.

11 lines (6 loc) 843 B
# rsa-key-es5 [![Build Status](https://travis-ci.org/racbart/rsa-key-es5.svg?branch=master)](https://travis-ci.org/racbart/rsa-key-es5) ES5 version of [rsa-key](https://github.com/racbart/rsa-key) node.js library to convert between RSA key formats and get information about the key. No OpenSSL needed. Detecting input format type, so you don't need to specify or even know the format in which your RSA key is stored. Use it with older node.js versions (tested with v4 and v6). For newer node.js versions, always use the original [rsa-key](https://github.com/racbart/rsa-key) library, even if you write ES5 code. The original library will be faster and has much less dependencies (ES5 version is transpiled by webpack+babel). For README and docs, please take a look at the [rsa-key](https://github.com/racbart/rsa-key) README. MIT License.