public final function compute($seqno, $data) { $encoder = new \fpoirotte\Pssht\Wire\Encoder(); $nonce = $encoder->encodeUint64($seqno)->getBuffer()->get(0); $res = $this->umac->umac($this->key, $data, $nonce); return $res; }