summaryrefslogtreecommitdiff
path: root/src/pkg/crypto/md4
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/crypto/md4')
-rw-r--r--src/pkg/crypto/md4/md4.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pkg/crypto/md4/md4.go b/src/pkg/crypto/md4/md4.go
index e13c986e6..ee46544a9 100644
--- a/src/pkg/crypto/md4/md4.go
+++ b/src/pkg/crypto/md4/md4.go
@@ -6,10 +6,15 @@
package md4
import (
+ "crypto"
"hash"
"os"
)
+func init() {
+ crypto.RegisterHash(crypto.MD4, New)
+}
+
// The size of an MD4 checksum in bytes.
const Size = 16