Method SSL.State()->encrypt_packet() Method encrypt_packet Alert|Packet encrypt_packet(Packet packet, Context ctx) Description Encrypts a packet (including deflating and MAC-generation).