Commit 79cc63d0 authored by Ronny Bangsund's avatar Ronny Bangsund

Updated to new name for SHA3 method.

parent 6c95d9a6
......@@ -40,7 +40,7 @@ func (s *Scrap) hasExpired() bool {
func (s *Scrap) getHash() string {
hash := sha3.NewKeccak256()
hash := sha3.New256()
io.WriteString(hash, s.User)
io.WriteString(hash, s.Content)
io.WriteString(hash, fmt.Sprintf("%d", s.Expiry))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment