Forum: Sonstige Fragen zu Delphi
Delphi
by totti14,
31. Mai 2010
Sorry. Komplett sieht das so :
for (i=0; i<256; i++) {
block->keytable = i;
}
for (i=0; i<256; i++) {
j += key + block->keytable;
}
Forum: Sonstige Fragen zu Delphi
Delphi
by totti14,
31. Mai 2010
Hallo,
block->state = *key;
Würde doch auf key zeigen ? Denn Key ist z.B. ein 20 Byte Hash.
Forum: Sonstige Fragen zu Delphi
Delphi
by totti14,
31. Mai 2010
Hallo,
ich muss gerade ein paar C Zeilen übersetzten. Aber da hier Äpfel und Birnen addiert werden komme ich nicht weiter.
struct crypt_block
{
uint8 keytable;
uint8 state;
uint8 counter;