Skip to content

Library for generating Apple Activation Lock Bypass key and hash

License

Notifications You must be signed in to change notification settings

proget-hq/apple-activation-lock

Repository files navigation

Activation Lock

Library for generating Apple Activation Lock Bypass key and hash

Install

composer require proget-hq/apple-activation-lock

Usage

require_once __DIR__.'/vendor/autoload.php';

use \Proget\Apple\ActivationLock\ActivationLockHashGenerator;
use \Proget\Apple\ActivationLock\ActivationLockKeyGenerator;
use \Proget\Apple\ActivationLock\ActivationLockRandomBytesGenerator;

$bytes = (new ActivationLockRandomBytesGenerator())->generate();
$hash = (new ActivationLockHashGenerator())->generate($bytes);
$key = (new ActivationLockKeyGenerator())->generate($bytes);

License

MIT