Nycto / Hasher

A small Scala library for easily generating hashes (md5, sha1, sha256, sha512, crc32, bcrypt, hmacs, pbkdf2)
MIT License
186 stars 40 forks source link

ECDSA signatures #18

Open mgosk opened 7 years ago

mgosk commented 7 years ago

Do you plan adding ECDSA implementation in Hasher lib ?

https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm https://blog.cloudflare.com/ecdsa-the-digital-signature-algorithm-of-a-better-internet/

Nycto commented 7 years ago

I poked at this for a minute today to see what it would look like: 927cf775771dd121bd009aa99e256a6d6c126c28 (https://github.com/Nycto/Hasher/tree/signing)

The difference between signing and verifying is a bit awkward in the current API, though. I can't say I'm happy with it.