From 5267dce21023802818b0c0c16ba2ca47c146e1b5 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 11 Mar 2016 05:11:58 -0500 Subject: Fix ref comment from commit create empty feed --- modules/base/tool.go | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/base') diff --git a/modules/base/tool.go b/modules/base/tool.go index 45d0aea5bc..a426ca99b0 100644 --- a/modules/base/tool.go +++ b/modules/base/tool.go @@ -97,6 +97,7 @@ func GetRandomString(n int, alphabets ...byte) string { } // http://code.google.com/p/go/source/browse/pbkdf2/pbkdf2.go?repo=crypto +// FIXME: use https://godoc.org/golang.org/x/crypto/pbkdf2? func PBKDF2(password, salt []byte, iter, keyLen int, h func() hash.Hash) []byte { prf := hmac.New(h, password) hashLen := prf.Size() -- cgit v1.2.3