Paul Rubin <http://[EMAIL PROTECTED]> writes: > state = [A,B,C,D,E,F,G,H] > magic = [0x428A2F98, 0x71374491, 0xB5C0FBCF, 0xE9B5DBA5, > 0x3956C25B, 0x59F111F1, 0x923F82A4, 0xAB1C5ED5, 0xD807AA98 ] > > def P(state, i, magic): > a,b,c,d,e,f,g,h = state[i:] + state[:i] > temp1 = h + S3(e) + F1(e,f,g) + K + x
Woops, K is supposed to say magic[i]. -- http://mail.python.org/mailman/listinfo/python-list