Method SSL.Cipher.MACAlgorithm()->hash_packet()
- Method
hash_packet
stringhash_packet(objectpacket,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
adjust_len Added to sizeof(packet) to get the packet length.
- Returns
Returns the MAC hash for the
packet.