summaryrefslogtreecommitdiff
path: root/src/pkg/crypto/ripemd160
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/crypto/ripemd160')
-rw-r--r--src/pkg/crypto/ripemd160/ripemd160.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pkg/crypto/ripemd160/ripemd160.go b/src/pkg/crypto/ripemd160/ripemd160.go
index 5614f1360..6e88521c3 100644
--- a/src/pkg/crypto/ripemd160/ripemd160.go
+++ b/src/pkg/crypto/ripemd160/ripemd160.go
@@ -10,10 +10,15 @@ package ripemd160
// http://homes.esat.kuleuven.be/~cosicart/pdf/AB-9601/AB-9601.pdf.
import (
+ "crypto"
"hash"
"os"
)
+func init() {
+ crypto.RegisterHash(crypto.RIPEMD160, New)
+}
+
// The size of the checksum in bytes.
const Size = 20