]> Cypherpunks.ru repositories - gogost.git/blobdiff - src/cypherpunks.ru/gogost/gost34112012256/hash.go
Cryptographic hash should have hash.Hash interface
[gogost.git] / src / cypherpunks.ru / gogost / gost34112012256 / hash.go
index bc0c662223db80548e9606fe46ec385ae806b182..c5d655fa883b33ca12283c0d52febae7485a79f0 100644 (file)
@@ -19,6 +19,8 @@
 package gost34112012256
 
 import (
+       "hash"
+
        "cypherpunks.ru/gogost/internal/gost34112012"
 )
 
@@ -27,6 +29,6 @@ const (
        Size      = 32
 )
 
-func New() *gost34112012.Hash {
+func New() hash.Hash {
        return gost34112012.New(32)
 }