Closed cheatfate closed 5 years ago
This PR makes signMessage() and verifyMessage() more close to current specification, but not yet compatible because test vectors are missing. Accept it when you will be ready for changes.
signMessage()
verifyMessage()
proc signMessage*[T](sigkey: SigKey, domain: uint64, hash: MDigest[T]): Signature proc signMessage*[T](sigkey: SigKey, domain: uint64, msg: openarray[T]): Signature proc verifyMessage*[T](sig: Signature, hash: MDigest[T], domain: uint64, verkey: VerKey): bool proc verifyMessage*[T](sig: Signature, msg: openarray[T], domain: uint64, verkey: VerKey): bool
Cancel this because it helps to build
This PR makes
signMessage()
andverifyMessage()
more close to current specification, but not yet compatible because test vectors are missing. Accept it when you will be ready for changes.