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