tag

package
v0.0.0-...-bc0575e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package tag exposes LEGO Dimensions toy tags related functions and data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Character

type Character uint32
const (
	Krusty Character = 27
)

type Key

type Key struct {
	// contains filtered or unexported fields
}

func (*Key) Decrypt

func (k *Key) Decrypt(dst, src []byte)

Decrypt decrypts 8 bytes from src into dst.

func (*Key) DecryptCharacter

func (k *Key) DecryptCharacter(src []byte) Character

func (*Key) Encrypt

func (k *Key) Encrypt(dst, src []byte)

Encrypt encrypts 8 bytes from src into dst.

func (*Key) EncryptCharacter

func (k *Key) EncryptCharacter(c Character) []byte

func (*Key) String

func (k *Key) String() string

type UID

type UID [7]byte

func MustParseUID

func MustParseUID(s string) UID

func ParseUID

func ParseUID(s string) (UID, error)

func (UID) Key

func (uid UID) Key() *Key

func (UID) Pwd

func (uid UID) Pwd() []byte

Pwd returns a 4 bytes password.

func (UID) String

func (uid UID) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL