activationlock

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package activationlock supports Apple device activation locking and unlocking. https://developer.apple.com/documentation/devicemanagement/activation_lock_a_device

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BypassCode

type BypassCode struct {
	Key [16]byte
	// contains filtered or unexported fields
}

BypassCode is the ActivationLock code.

func Create

func Create(key []byte) (BypassCode, error)

Create generates a usable bypass code.

func (BypassCode) Hash

func (c BypassCode) Hash() string

Hash returns a PBKKDF2 derived hash of the bypass code. The hex encoded string is sent to Apple to lock a device.

func (BypassCode) String

func (c BypassCode) String() string

String returns the bypass code in human readable format.

Jump to

Keyboard shortcuts

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