public function __destruct() { if (!$this->isPublicKey) { \Sodium\memzero($this->keyMaterial); $this->keyMaterial = null; } }