2.0.8 • Published 3 years ago

@withdouble/lucipher v2.0.8

Weekly downloads
328
License
MIT
Repository
github
Last release
3 years ago

@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.

2.0.8

3 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.5

3 years ago

2.0.3

4 years ago

2.0.4

4 years ago

2.0.2

4 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.2.3

5 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago