Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@withdouble/lucipher

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@withdouble/lucipher - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

dist/commonjs/abstract-jwt.d.ts

5

package.json
{
"name": "@withdouble/lucipher",
"description": "Encryption and JWT toolbox",
"version": "2.0.0",
"version": "2.0.1",
"author": {

@@ -14,5 +14,2 @@ "name": "Double, inc",

"license": "MIT",
"files": [
"lib"
],
"repository": {

@@ -19,0 +16,0 @@ "type": "git",

@@ -8,1 +8,25 @@ # @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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc