Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pedroalbanese/ecdsa-1
Minimalistic Secp256r1 ECDSA/ECDH Tool written in Go
https://github.com/pedroalbanese/ecdsa-1
ecdh ecdsa ecdsa-cryptography ecdsa-key-pair ecdsa-signature secp256r1
Last synced: 9 days ago
JSON representation
Minimalistic Secp256r1 ECDSA/ECDH Tool written in Go
- Host: GitHub
- URL: https://github.com/pedroalbanese/ecdsa-1
- Owner: pedroalbanese
- License: isc
- Created: 2021-08-12T20:21:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-29T21:56:57.000Z (about 3 years ago)
- Last Synced: 2024-06-20T05:19:41.894Z (5 months ago)
- Topics: ecdh, ecdsa, ecdsa-cryptography, ecdsa-key-pair, ecdsa-signature, secp256r1
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# ECDSA Secp256r1
Minimalistic ECDSA/ECDH Tool written in Go
### Usage:-derive
Derive shared secret key.
-key string
Private/Public key.
-keygen
Generate keypair.
-pub string
Remote's side Public key.
-sign
Sign with Private key.
-signature string
Signature.
-verify
Verify with Public key.
### Examples:
#### Asymmetric keypair generation:./ecdsa -keygen
#### Shared key negociation (ECDH):./ecdsa -derive -key $prvkey -pub $pubkey
#### Sign a file (ECDSA):./ecdsa -sign -key $private < file.ext > sign.txt
sign=$(cat sign.txt)
./ecdsa -verify -key $public -signature $sign < file.ext
## License
This project is licensed under the ISC License.
##### Copyright (c) 2020-2021 Pedro Albanese - ALBANESE Lab.