Implement https://github.com/leanEthereum/leanSig/pull/14/
Implement leanEthereum/leanSig#14