diff options
-rw-r--r-- | lib/sha1.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sha1.go b/lib/sha1.go index 2866bdd..9a9d6df 100644 --- a/lib/sha1.go +++ b/lib/sha1.go @@ -55,7 +55,7 @@ func sha1KT(t int) uint32 { // Converts padded messages bytes `pm` into 512-bit message blocks. // Each 512-bit block is an array of 16 32-bit words. -func sha1MessageBlocks(pm []byte) [][]uint32 { +func shaMessageBlocks(pm []byte) [][]uint32 { // Break into 512-bit blocks bs := BreakIntoBlocks(pm, 64) @@ -170,7 +170,7 @@ func (s *Sha1) Hash() []byte { pm := s.Pad() // Break into message blocks. - mbs := sha1MessageBlocks(pm) + mbs := shaMessageBlocks(pm) // Initialize hash values. h := make([]uint32, 5) |