Versions in this module Expand all Collapse all v1 v1.5.1 Jan 20, 2020 v1.5.0 Jan 8, 2020 Changes in this version + const CheckSumOffset + const CheckSumSize + const MessageMetaDataSize + const MessageOffset + const RandomNumberOffset + const RandomNumberSize + const TicketAge + const TicketVersion + func AesDecryptCBC(key, ciphertext []byte) (plaintext []byte, err error) + func AesEncryptCBC(key, plaintext []byte) (ciphertext []byte, err error) + func AuthGenSessionKeyTS(key []byte) (sessionKey []byte) + func Base64Decode(encodedText string) (text []byte, err error) + func Base64Encode(text []byte) (encodedText string) + func CreateClientX(cert *[]byte) (client *http.Client, err error) + func DecodeMessage(message string, key []byte) (plaintext []byte, err error) + func EncodeMessage(plaintext []byte, key []byte) (message string, err error) + func GenSecretKey(key []byte, ts int64, id string) (secretKey []byte) + func GenVerifier(key []byte) (v string, ts int64, err error) + type CryptoKey struct + Ctime int64 + Key []byte + type Ticket struct + Caps []byte + Exp int64 + IP string + ServiceID string + SessionKey CryptoKey + Version uint8 Incompatible versions in this module v2.0.0+incompatible Apr 10, 2020 v2.0.0-rc.1+incompatible Apr 9, 2020