replacement to crypt(1), supports bunch of algorithms