Versions in this module Expand all Collapse all v1 v1.0.0 Jul 2, 2021 Changes in this version + const BASE58 + const PREFIX + var P256 = elliptic.P256() + func AESDecrypt(crypted, key []byte) ([]byte, error) + func AESEncrypt(src, key []byte) ([]byte, error) + func AddressToScriptHash(address string, version byte) (*helper.UInt160, error) + func Base58CheckDecode(input string) ([]byte, error) + func Base58CheckEncode(input []byte) string + func Base64Decode(input string) ([]byte, error) + func Base64Encode(input []byte) string + func BytesToScriptHash(script []byte) *helper.UInt160 + func Decode(input string) ([]byte, error) + func Encode(input []byte) string + func ExpectedECPointLength(curve *elliptic.Curve) int + func Hash160(ba []byte) []byte + func Hash256(ba []byte) []byte + func ScriptHashToAddress(scriptHash *helper.UInt160, version byte) string + func Sha256(b []byte) []byte + type ECPoint struct + Curve elliptic.Curve + X *big.Int + Y *big.Int + func CreateECPoint(x *big.Int, y *big.Int, curve *elliptic.Curve) (*ECPoint, error) + func DecodePoint(encoded []byte, curve *elliptic.Curve) (*ECPoint, error) + func DeserializeFrom(br *io.BinaryReader, curve *elliptic.Curve) (*ECPoint, error) + func FromBytes(data []byte, curve *elliptic.Curve) (*ECPoint, error) + func NewECPoint() (*ECPoint, error) + func NewECPointFromBytes(data []byte) (*ECPoint, error) + func NewECPointFromString(s string) (*ECPoint, error) + func Parse(value string, curve *elliptic.Curve) (*ECPoint, error) + func (p *ECPoint) CompareTo(other *ECPoint) int + func (p *ECPoint) Deserialize(br *io.BinaryReader) + func (p *ECPoint) EncodePoint(compressed bool) []byte + func (p *ECPoint) Equals(other *ECPoint) bool + func (p *ECPoint) ExistsIn(points []ECPoint) bool + func (p *ECPoint) IsInfinity() bool + func (p *ECPoint) IsOnCurve() bool + func (p *ECPoint) Serialize(bw *io.BinaryWriter) + func (p *ECPoint) Size() int + func (p *ECPoint) String() string + func (p *ECPoint) ToECDsa() *ecdsa.PublicKey + type PublicKeySlice []ECPoint + func (keys PublicKeySlice) GetVarSize() int + func (keys PublicKeySlice) Len() int + func (keys PublicKeySlice) Less(i, j int) bool + func (keys PublicKeySlice) Swap(i, j int)