aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sha160.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sha160.cpp b/src/sha160.cpp
index a61c556aa..d1b5ad006 100644
--- a/src/sha160.cpp
+++ b/src/sha160.cpp
@@ -120,4 +120,12 @@ void SHA_160::clear() throw()
digest[4] = 0xC3D2E1F0;
}
+/*************************************************
+* SHA_160 Constructor *
+*************************************************/
+SHA_160::SHA_160() : MDx_HashFunction(20, 64, true, true), W(80)
+ {
+ clear();
+ }
+
}