mirror of
https://github.com/TECHNOFAB11/jwt-authorizer.git
synced 2025-12-11 23:50:07 +01:00
doc: README.md, CHANGELOG.md
This commit is contained in:
parent
a8b510a03e
commit
857af52271
4 changed files with 30 additions and 18 deletions
15
config/README.md
Normal file
15
config/README.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Key generation
|
||||
|
||||
## EC (ECDSA) - (algorigthm ES256 - ECDSA using SHA-256)
|
||||
|
||||
curve name: prime256v1 (secp256r1, secp384r1)
|
||||
|
||||
> openssl ecparam -genkey -noout -name prime256v1 | openssl pkcs8 -topk8 -nocrypt -out ec-private.pem
|
||||
|
||||
> openssl ec -in ec-private.pem -pubout -out ec-public-key.pem
|
||||
|
||||
## EdDSA - Edwards-curve Digital Signature Algorithm
|
||||
|
||||
(Ed25519 - EdDSA signature scheme using SHA-512 (SHA-2) and Curve25519)
|
||||
|
||||
> openssl genpkey -algorithm ed25519
|
||||
Loading…
Add table
Add a link
Reference in a new issue