Method SSL.Cipher.MACAlgorithm()->hash_packet()
- Method hash_packet
stringhash_packet(objectpacket,intseq_num,int|voidadjust_len)- Description
Generates a header and creates a HMAC hash for the given
packet.- Parameter
packet Packet to generate a MAC hash for.
- Parameter
seq_num Sequence number for the packet in the stream.
- Parameter
adjust_len Added to sizeof(packet) to get the packet length.
- Returns
Returns the MAC hash for the
packet.