Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
Clarified hash function used and signing algo
Browse files Browse the repository at this point in the history
  • Loading branch information
avive committed Jun 4, 2020
1 parent b3a5108 commit d72da3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
@@ -1,7 +1,7 @@
# ed25519
A drop-in replacement for `golang/crypto/ed25519` ([godoc](https://godoc.org/golang.org/x/crypto/ed25519),
[github](https://github.com/golang/crypto/tree/master/ed25519))
with additional functionality.
with additional functionality. Uses SHA-512 and ECDSA signing algorithm.

# Motivation
In order to verify the validity of a given signature, the validator should posses the public key of the signer. It can be sent along with the message and its signature, which means that the overall data being sent includes 256 bits of the public key. Our function allows to extract the public key from the signature (and the message), thus the public key may not be sent, resulting in a smaller transferred data. Note: there's a computational cost for extracting the public key, so one should consider the trade-off between computations and data size.
Expand Down

0 comments on commit d72da3b

Please sign in to comment.