There is a validator called CRYPT that will do it for you. http://web2py.com/book/default/docstring/CRYPT
On Nov 7, 4:32 pm, CesarBustios <[email protected]> wrote: > Hi! I wrote the following: > > db.define_table('User', > Field(...), > Field(...), > Field('pass', 'password', > requires=IS_NOT_EMPTY(error_message='Campo obligatorio'), > label='Contraseña')) > > But when i look at the inserted row the password column is not > encrypted, is in plain text. > > Thx!

