views:

19

answers:

0

The Sha1Hash function is used to convert the passwords into hex format in order to store them. How we can pass a username and password as strings in the Bootstrap.groovy and create our users easily. IF i want to use a GSP to create a user,how do i go about using the Sha1hash function. This functin when given sha1hash(params.password)returns a nullpointer execption...What should i do ??