Skip to content

Commit

Permalink
doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ping committed Jun 12, 2012
1 parent d98da4b commit 6c3e645
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,6 +1,7 @@
*.class

# Package Files #
*.jar
*.war
*.ear

target
13 changes: 12 additions & 1 deletion README.md
@@ -1,4 +1,15 @@
grails-bcrypt
=============

Grails Simple BCrypt Plugin
Grails Simple BCrypt Plugin

Usage

def service = new bcrypt.BcryptService()

String t = "my password"

println t.encodeAsBcrypt()
def x = service.hashPassword(t)

assert service.checkPassword(t, x)

0 comments on commit 6c3e645

Please sign in to comment.