Documentation ¶
Index ¶
- func Decode(key string) ([]byte, error)
- func DeriveDESFireKey(secret []byte, appId freefare.DESFireAid, keyNum uint8, data []byte) (*freefare.DESFireKey, error)
- func Encode(key []byte) string
- func GenDESFireKey(key []byte) *freefare.DESFireKey
- func GenRandomDESFireKey() (*freefare.DESFireKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeriveDESFireKey ¶
func DeriveDESFireKey(secret []byte, appId freefare.DESFireAid, keyNum uint8, data []byte) (*freefare.DESFireKey, error)
func GenDESFireKey ¶
func GenDESFireKey(key []byte) *freefare.DESFireKey
func GenRandomDESFireKey ¶
func GenRandomDESFireKey() (*freefare.DESFireKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.