mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-04 19:02:28 +00:00
core/interop: add base58 encoding/decoding syscalls
Follow neo-project/neo#1833.
This commit is contained in:
parent
562e7e371f
commit
9c72ea1d64
6 changed files with 80 additions and 30 deletions
|
@ -28,3 +28,15 @@ func Base64Encode(b []byte) []byte {
|
|||
func Base64Decode(b []byte) []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Base58Encode encodes given byte slice into a base58 string and returns byte
|
||||
// representation of this string. It uses `System.Binary.Base58Encode` syscall.
|
||||
func Base58Encode(b []byte) []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Base58Decode decodes given base58 string represented as a byte slice into
|
||||
// a new byte slice. It uses `System.Binary.Base58Decode` syscall.
|
||||
func Base58Decode(b []byte) []byte {
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue