faster translation

calccrypto 29 Mar 2009 02:59

is there any way to speed up the tranformation of:

```
01234567 89ABCDEF 01234567 89ABCDEF (main point: 32 chars)
take last 4 bytes (8 chars)
89AB CDEF
take first 2 chars/ first byte and put to end
ABCD EF89
sub 4 bytes with chars according to string (str8 i think)
take first 4 bytes of 0123456789ABCDEF0123456789ABCDEF
change the strings into binary
0123 4567
xor
ABCD EF89
xor
some round constant (also in hex, changed to bin)
take answer and add to end of original string
other 3 sets of 4 bytes
top part: set 1 XOR 4 XOR constant→5
here: set 2 XOR 5→6
set 3 XOR 6→7
set 4 XOR 7→8
```

in basic?

the main problem is the changing from hex to binary and back, which is necessary

my program will do this 40+ times and i dont want to keep people waiting for an hour to encrypt 128/256 bits, when computers can do it instantaneously

Visit Calccrypto for info on crypto

KC2ZOF