Minimal crypt() binding for Lua