LOL ... I did a port to D about a year or so ago, to help teach myself the language. I'll try to dig it out for comparision. I remember adding some extra functions and also allowing for additional entropy to be included. -- Derek Parnell Melbourne, Australia skype: derek.j.parnell