No description
.gitignore | ||
ed25519.l | ||
expmod.l | ||
findme.dat | ||
generate.l | ||
monocypher-ed25519.l | ||
monocypher-pil.l | ||
README.md | ||
scalarmult.l | ||
sha512.l | ||
sign.input | ||
sodium-ed25519.l | ||
test-ed25519.l | ||
UNLICENSE |
hi all,
Lets create test vectors for ed25519 like RFC7748 page 12.
One, thousand and million iterations results:
Pseudo code:
###
Data := 64 bytes zeroes
Loop many times:
Pair := create keypair from first 32 bytes of Data
Data := create signature from Pair and Data
Loop:
###
ED25519:
After one iteration:
c8205e3a479772433237010c6e86b460a8540ed745f2665bb92c1a4848e147a5d2bd27a068dd77640eb1d8e84abee204e256b0db89ea668e5ed50c41097bef0d
After 1,000 iterations:
1d1ccb255fa1b743e89afbbe5b44382cb499638b224ee1558798bedc6d4ee11435c201d3a59c7e80e925b902f9008b071dfb5ea618cda521c4393fe6d0cbd101
After 1,000,000 iterations:
fadfecda372cac8783cdab0bfd0471cf0bea522839b509948a7245310cb4a5c48b3f271ec11579729900d755a604d258e72ecaa9f10b815fa4d61b8ffc7a3b02
Happy coding!