allocate 1 more byte for zero terminator coming from sprintf
Moved canonical checks to BTCKey from BTCScript. Previous methods are marked as deprecate.