EstebanKubata / playfair

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

airplay_decrypt maybe not right

LuckyDog301 opened this issue · comments

I test use Slave-in-the-Magic .message3 = {0x46, 0x50, 0x4c, 0x59, 0x03, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0x98, 0x01, 0x8f, 0x1a, 0x9c, 0xbc, 0x64, 0x54, 0x9c, 0x7a, 0x0f, 0x0e, 0xde, 0x94, 0xd5, 0xff, 0x1f, 0x13, 0x24, 0x8e, 0x7a, 0xcf, 0x4a, 0x04, 0xa9, 0x6e, 0x60, 0xbd, 0x12, 0x48, 0xdf, 0x6b, 0x1b, 0xb3, 0x80, 0x8a, 0x1b, 0x88, 0xe5, 0xc1, 0x45, 0xa4, 0xc6, 0x20, 0x91, 0xdd, 0x93, 0x5c, 0xfa, 0xb5, 0x13, 0x8c, 0xb1, 0xa0, 0x80, 0x46, 0x24, 0x48, 0xf4, 0x51, 0x57, 0x0a, 0xaf, 0x5e, 0x73, 0x75, 0xce, 0x38, 0xdf, 0xe1, 0x80, 0x9b, 0x52, 0xea, 0x9a, 0xc5, 0x14, 0x43, 0xae, 0xd7, 0x26, 0x1f, 0xde, 0x64, 0x74, 0x24, 0x54, 0x5f, 0x45, 0x80, 0xbd, 0x3b, 0xe8, 0x90, 0xa5, 0x42, 0x63, 0xe2, 0x5d, 0x9b, 0x7e, 0xc8, 0xc8, 0xc3, 0x42, 0x46, 0xfd, 0x2f, 0xa7, 0x93, 0x1f, 0x75, 0xae, 0xbb, 0x19, 0x7c, 0xdb, 0x9f, 0x9e, 0xa5, 0xeb, 0x97, 0x40, 0x6c, 0x64, 0xbe, 0x4d, 0x0b, 0x90, 0x18, 0x00, 0xee, 0x1e, 0x97, 0xb2, 0xbb, 0x69, 0x9c, 0xc6, 0xf6, 0x46, 0x8f, 0x3c, 0xbc, 0x6c, 0xd2, 0x84, 0x48, 0x6b, 0x47, 0x74, 0xc1, 0xc5},param1 = {0x46, 0x50, 0x4c, 0x59, 0x01, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x31, 0x95, 0x80, 0x0b, 0x06, 0xaa, 0x19, 0xc9, 0xf1, 0x22, 0x8f, 0x24, 0x36, 0x3f, 0x59, 0x3a, 0x00, 0x00, 0x00, 0x10, 0x48, 0x5d, 0xb1, 0xe2, 0xee, 0x4c, 0x10, 0xc0, 0xdb, 0x13, 0xf7, 0xc8, 0x36, 0x74, 0xaa, 0x25, 0x6f, 0x79, 0x88, 0x3e, 0x9b, 0x8e, 0x79, 0x33, 0x08, 0x1b, 0x8f, 0x38, 0x67, 0x19, 0x07, 0xce, 0xa3, 0xd7, 0x50, 0x89}
return the askey = {0xdf, 0x4b,0x0d,0xb7,0x62,0x90,0xc5,0x7a,0x02,0x2c,0x1b,0x9b ,0x62,0x77,0xe9,0x 43}
Slave-in-the-Magic return {0xc6, 0xa9, 0x4b, 0x7a, 0x6a, 0x37, 0x14, 0xba, 0x70, 0x8a, 0x06, 0x71, 0xed, 0x80, 0x92, 0xce}.Are you sure the code is right?

I’m definitely not sure the code is right, just that it worked on the cases I tested it on