From d72da3b5f487b39d182a66532d362f5929962470 Mon Sep 17 00:00:00 2001 From: Aviv Eyal Date: Thu, 4 Jun 2020 10:43:09 +0300 Subject: [PATCH] Clarified hash function used and signing algo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1dc8f28..24b82df 100644 --- a/README.md +++ b/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.