PHP Classes

File: doc/Classes/Alerts/CannotCloneKey.md

Recommend this page to a friend!
  Classes of Scott Arciszewski   Halite   doc/Classes/Alerts/CannotCloneKey.md   Download  
File: doc/Classes/Alerts/CannotCloneKey.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: Halite
Perform cryptography operations with libsodium
Author: By
Last change:
Date: 8 years ago
Size: 282 bytes
 

Contents

Class file image Download

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.