public function jsonSerialize()
 {
     return parent::jsonSerialize() + ['key' => base64_encode($this->envelopeKey), 'signature' => base64_encode($this->signature)];
 }
 public function jsonSerialize()
 {
     return parent::jsonSerialize() + ['mac' => $this->mac];
 }