Given that solidity does not have any built-in string/bytes manipulation library, I was wondering what the best practice for extracting v, r, s from a signature inside solidity is.
One can encode sig as string v-r-s
and use solidity-stringutils
to extract them, but isn't there a better way to do this?
Best Answer