Tougee / ed25519

Dart port of ed25519 from Go Cryptography ed25519
https://pub.dev/packages/ed25519_edwards
Apache License 2.0
18 stars 5 forks source link

Private Key Size #3

Closed redDwarf03 closed 3 years ago

redDwarf03 commented 3 years ago

Hello thank for your library I have a question. You specify the length of the private key with the value : 64 but in the RFC8032 documentation, they precise "The private key is 32 octets" ref = https://datatracker.ietf.org/doc/html/rfc8032#section-5.1.5

Could you help me please

Tougee commented 3 years ago

This library is a port of Go Ed25519, and in this implementation, privateKey = seed||publicKey, the seed correspond to private key in rfc8032.

redDwarf03 commented 3 years ago

thx