Download fcrypt-1.2.zip. This is a small collection of Python scripts that call the crypt function.
Execute python genpasswd.py ThisIsSomePassword. The output is the string that goes into the CVS passwd file.