@withdouble/lucipher
TypeScript icon, indicating that this package has built-in type declarations

2.0.8 • Public • Published

@withdouble/lucipher

Install

npm i @withdouble/lucipher

Generate Keys

Generate Asymmetric Elliptic Curve Keys

From https://cloud.google.com/iot/docs/how-tos/credentials/keys#generating_an_elliptic_curve_keys

openssl ecparam -genkey -name prime256v1 -noout -out ec_private.pem
openssl ec -in ec_private.pem -pubout -out ec_public.pem

ec_private.pem and ex_public.pem contain your keys in text format.

Generate Asymmetric RSA Keys

From https://cloud.google.com/iot/docs/how-tos/credentials/keys#generating_an_rsa_key

openssl genpkey -algorithm RSA -out rsa_private.pem -pkeyopt rsa_keygen_bits:2048
openssl rsa -in rsa_private.pem -pubout -out rsa_public.pem

rsa_private.pem and rsa_public.pem contain your keys in text format.

/@withdouble/lucipher/

    Package Sidebar

    Install

    npm i @withdouble/lucipher

    Weekly Downloads

    21

    Version

    2.0.8

    License

    MIT

    Unpacked Size

    67.8 kB

    Total Files

    57

    Last publish

    Collaborators

    • zirtualbilling
    • flobories
    • cgduzan
    • double.admin