MCPcopy Create free account
hub / github.com/subbarayudu-j/TheAlgorithms-Python / split_blocks

Method split_blocks

hashes/sha1.py:61–65  ·  view source on GitHub ↗

Returns a list of bytestrings each of length 64

(self)

Source from the content-addressed store, hash-verified

59 return padded_data
60
61 def split_blocks(self):
62 """
63 Returns a list of bytestrings each of length 64
64 """
65 return [self.padded_data[i:i+64] for i in range(0, len(self.padded_data), 64)]
66
67 # @staticmethod
68 def expand_block(self, block):

Callers 1

final_hashMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected