I can't tell if this is the sort of thing you want but try: "a pure Python implementation of the Unix crypt(3) algorithm" http://home.clear.net.nz/pages/c.evans/sw/ Post back if this is helpful