I have typically used the bcrypt library to do password hashing, but am unable to do so because of the library's use of syscall
. I have also tried scrypt. What other ways are secure, and which would be the best way?
相关问题
- java.lang.NullPointerException at java.io.PrintWri
- facebook error invalid key hash for some devices
- Golang mongodb aggregation
- __call__() missing 1 required positional argument:
- How to flatten out a nested json structure in go
相关文章
- Can I run a single test in a suite?
- Is there a size limit for HTTP response headers on
- How to check if a request was cancelled
- Is it possible to implement an interface with unex
- Bcrypt vs Hash in laravel
- appcfg.py command not found
- How to access value of first index of array in Go
- Google app engine datastore string encoding proble
Have a look at go.crypto. It offers support for pbkdf2 and bcrypt. Both implementations are purely written in Go and should work on GAE just fine.
The most simple to use is probably bcrypt. To get the package run:
Example usage:
The output will be something like this:
If you want simply the hash, use pbkdf2. Example: