For one way encryption of passwords in R:Base I use IHASH. It only returns 8 bytes so it's not super secure, but it's been good enough for my needs (which haven't included publicly-accessible web sites using this method). -- Larry
________________________________ From: James W. Kim <[email protected]> To: RBASE-L Mailing List <[email protected]> Sent: Fri, January 7, 2011 10:31:45 PM Subject: [RBASE-L] - crypt() Linux function in R:Base? Hi, Does anyone know how to replicate the Linux crypt() function in R:Base? I use htaccess and htpasswd combination for the purpose of authenticating users to my web server. I have been using a web script for interactively adding a new user and deleting a user. However, it dawned on me that if I can somehow create the encrypted passwords from R:Base, I can basically create the htpasswd file and automatically upload the current list to my server and save a lot of time and effort. Any help would be appreciated. James Kim

