summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/md4.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/md4.go b/lib/md4.go
index a1bebc1..632f6da 100644
--- a/lib/md4.go
+++ b/lib/md4.go
@@ -53,7 +53,7 @@ func md4RoundThreeFunc(a, b, c, d, x uint32, s uint) uint32 {
return a
}
-func md4Padding(l int) []byte {
+func Md4Padding(l int) []byte {
l = l * 8 // msg size in bits
// Reckon value of `k`
@@ -139,7 +139,7 @@ func (md *Md4) Pad() []byte {
copy(pm, md.Msg)
// Add padding.
- pm = append(pm, md4Padding(md.MsgLen)...)
+ pm = append(pm, Md4Padding(md.MsgLen)...)
return pm
}