>>138
i think stackoverflow is better place for you than prog, you want to improve other's code not even being asked for. if i cared of c and wanted advice i'd post my code there
also, out of curiosity, how fast is your implementation in pure c? i mean with crypt(3) algorithm