Merlin
Schnorrkel implementation relies on Merlin. And it is basically only in Rust: https://github.com/dalek-cryptography/merlin
So we tried to rewrite it! And it was real nice.
It is still in our sr25519 library, but we belive that we should move it to its separate repository, so you who want to use Merlin directly without its accompanying sr25519 would use more lightweight repository.
It is based on Strobe protocol, which is basically is everything we have here.
So we have Strobe128 class which has its own state managed by keccak algorithm you can find few sections above sr25519 library. This was also hard to find in either Java or Kotlin, especially fully opened to use its basic F1600 function besides popular sizes.
This class has next interface:
Example of usage from Transcript:
Last updated