Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.