Add getEncrypted, the less messy way to create packets.