Documentation ¶
Index ¶
- Constants
- func AsDwordSlice(bytes []byte) []uint32
- func Encrypt(input []byte, msSinceStart uint32) []byte
- func Hash32(buffer []byte) uint32
- func Hash32Salt(buffer []byte, salt uint32) uint32
- func Hash64(buffer []byte) uint64
- func Hash64Salt(buffer []byte, salt uint32) uint64
- func Hash64Salt64(buffer []byte, salt uint64) uint64
- func RandomBytes(n int) []byte
- type HashRequest
- type PogoSignature
- func (ps *PogoSignature) Hash25() int64
- func (ps *PogoSignature) HashLocation1(authTicket []byte, lat, lng, alt float64) uint32
- func (ps *PogoSignature) HashLocation2(lat, lng, alt float64) uint32
- func (ps *PogoSignature) HashRequest(authTicket, request []byte) uint64
- func (ps *PogoSignature) ProcessSignatureRequests() error
- type Uint128
Constants ¶
View Source
const BlockSize = 128
View Source
const SIZEOF_INT32 = 4 // bytes
Variables ¶
This section is empty.
Functions ¶
func AsDwordSlice ¶
func Hash32Salt ¶
func Hash64Salt ¶
func RandomBytes ¶
Types ¶
type HashRequest ¶
type PogoSignature ¶
type PogoSignature struct {
// contains filtered or unexported fields
}
func NewPogoSignature ¶
func NewPogoSignature() *PogoSignature
func (*PogoSignature) Hash25 ¶
func (ps *PogoSignature) Hash25() int64
func (*PogoSignature) HashLocation1 ¶
func (ps *PogoSignature) HashLocation1(authTicket []byte, lat, lng, alt float64) uint32
func (*PogoSignature) HashLocation2 ¶
func (ps *PogoSignature) HashLocation2(lat, lng, alt float64) uint32
func (*PogoSignature) HashRequest ¶
func (ps *PogoSignature) HashRequest(authTicket, request []byte) uint64
func (*PogoSignature) ProcessSignatureRequests ¶
func (ps *PogoSignature) ProcessSignatureRequests() error
Click to show internal directories.
Click to hide internal directories.