diff options
Diffstat (limited to 'libgo/go/crypto/ripemd160/ripemd160.go')
-rw-r--r-- | libgo/go/crypto/ripemd160/ripemd160.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libgo/go/crypto/ripemd160/ripemd160.go b/libgo/go/crypto/ripemd160/ripemd160.go index 5614f1360eb..6e88521c3f6 100644 --- a/libgo/go/crypto/ripemd160/ripemd160.go +++ b/libgo/go/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 |