Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 282 Bytes

CannotCloneKey.md

File metadata and controls

12 lines (8 loc) · 282 Bytes

CannotCloneKey extends HaliteAlert

Namespace: \ParagonIE\Halite\Alerts

All key objects should never permit this usage:

$key = KeyFactory::generateEncryptionKey();
$cloned = clone $key;

If you attempt to do this, it will throw this exception.