The import below has to be changed, - import "code.google.com/p/go.crypto/bcrypt" to, - import "golang.org/x/crypto/bcrypt" you find that in many files, if you gonna maintain the repo I can change and send a PR.