Documentation
¶
Index ¶
- Variables
- func ASCIIToString(s string) (string, error)
- func BinToHex(s []byte) (string, error)
- func ByteStringToHex(s string) (string, error)
- func ByteStringToString(s string) (string, error)
- func DecToHex(s string) (string, error)
- func HexToBin(s string) ([]byte, error)
- func HexToByteString(s string) (string, error)
- func HexToDec(s string) (*big.Int, error)
- func HexToDecStr(s string) (string, error)
- func HexToString(s string) (string, error)
- func StringToASCII(s string) (string, error)
- func StringToHex(s string) (string, error)
- func URLDecode(s string) (string, error)
- func URLEncode(s string, raw bool) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cli.Command{ Category: "Crypto", Name: "basic", Usage: "Some basic encodings", Commands: []*cli.Command{ bin2hexCmd, hex2binCmd, urlencodeCmd, urldecodeCmd, str2asciiCmd, ascii2strCmd, hex2strCmd, str2hexCmd, hex2decCmd, dec2hexCmd, hex2bytesCmd, bytes2hexCmd, bytes2strCmd, randStrCmd, }, }
Functions ¶
func ByteStringToHex ¶
ByteStringToHex ByteString -> Hex
func ByteStringToString ¶
ByteStringToString ByteString -> String
func HexToByteString ¶
HexToByteString Hex -> Bytes String
func HexToDecStr ¶ added in v0.1.6
HexToDec Hex -> Dec String
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.