public function key($key) { $this->key = self::hkdf($key, 'KeyForEncryption'); $this->authentication = self::hkdf($key, 'KeyForAuthentication'); return $this; }