Inititates the variables data and h. h is a list of 5 8-digit Hexadecimal numbers corresponding to (1732584193, 4023233417, 2562383102, 271733878, 3285377520) respectively. We will start with this as a message digest. 0x is how you write Hexadecimal numbers in Python
(self, data)
| 10 | """ |
| 11 | |
| 12 | def __init__(self, data): |
| 13 | """ |
| 14 | Inititates the variables data and h. h is a list of 5 8-digit Hexadecimal |
| 15 | numbers corresponding to (1732584193, 4023233417, 2562383102, 271733878, 3285377520) |
| 16 | respectively. We will start with this as a message digest. 0x is how you write |
| 17 | Hexadecimal numbers in Python |
| 18 | """ |
| 19 | self.data = data |
| 20 | self.h = [0x67452301, 0xEFCDAB89, 0x98BADCFE, 0x10325476, 0xC3D2E1F0] |
| 21 | |
| 22 | @staticmethod |
| 23 | def rotate(n, b): |
nothing calls this directly
no outgoing calls
no test coverage detected