UBYTE *pw, *getpassword() ;
UBYTE *user = "alf"
UBYTE *newpass ;
UBYTE buffer[16] ; \* size >= 12 *\
pw = getpassword() ; \* your own function *\
if((newpass = ACrypt(buffer, pw, user)) != NULL)
{
printf("pw = %s\n", newpass) ; \* newpass = &buffer[0] *\
}
else
{
printf("ACrypt failed\n") ;
}