Qndre Posted March 28, 2004 Report Posted March 28, 2004 How do I encrypt a reliable packet? "packet" contains the UNENCRYPTED packet which should be sent reliable"reliableheader" contains the "0x0003 + ACKID""encrypt(packet)" is a pseudo-function which gives the encrypted value of "packet" back reliableheader + packet --- OR --- encrypt(reliableheader) + packet --- OR --- encrypt(reliableheader + packet) --- OR --- reliableheader + encrypt(packet) --- OR --- encrypt(reliableheader + encrypt(packet))
»Dustpuppy Posted March 28, 2004 Report Posted March 28, 2004 You encrypt it just like any other packet.From memory, you would leave the type byte (0x00) unencrypted and encrypt the rest. You really should be looking at other source code to find this for yourself...
»Dustpuppy Posted March 28, 2004 Report Posted March 28, 2004 The game type byte is left plain too?I couldn't remember if that was the case
Qndre Posted March 29, 2004 Author Report Posted March 29, 2004 00 03 Rest Encrypted -nintendo64 So it'sencrypt(reliableheader + packet)notencrypt(reliableheader + encrypt(packet))?PS: Reliableheader is 00 03 + ACKID; encrypt() function lets first byte unencrypted if game and first two bytes if core.
»nintendo64 Posted March 29, 2004 Report Posted March 29, 2004 if so PS: Reliableheader is 00 03 + ACKID; encrypt() function lets first byte unencrypted if game and first two bytes if core. then encrypt(reliableheader + packet) -nintendo64
Recommended Posts