公用方法类库,实现如下功能:
- HashCode: Type which is 32 bytes arrqy representing a hashcode
- ByteConvert: Convert uint to byte array
- CompactSizeUint: Varint according to bitcoin data struct (not complete)
- Keys: Function that generate PrivateKey and PublicKey, generate Address, Sign and Check Sign
- Other utils: Better code, Better life