File: doc/Classes/Alerts/

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



Class file image Download

CannotSerializeKey extends HaliteAlert

Namespace: \ParagonIE\Halite\Alerts

All key objects should never permit this usage:

$key = KeyFactory::generateEncryptionKey();
$store = serialize($key);

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

Instead, use KeyFactory::save($key, '/path/to/file'); for persistent storage.

For more information send a message to info at phpclasses dot org.