Method SSL.Cipher.MACAlgorithm()->hash()


Method hash

string hash(object packet, Gmp.mpz seq_num)

Parameter packet

Packet to generate a MAC hash for.

Parameter seq_num

Sequence number for the packet in the stream.

Returns

Returns the MAC hash for the packet.