(self)
| 33 | return h.digest() |
| 34 | |
| 35 | def calculate_client_proof(self): |
| 36 | h = self.hash_class() |
| 37 | h.update(long_to_bytes(self.A, SRP_LEN_BYTES)) |
| 38 | h.update(long_to_bytes(self.B, SRP_LEN_BYTES)) |
| 39 | h.update(long_to_bytes(self.secret, SRP_LEN_BYTES)) |
| 40 | return h.digest() |
| 41 | |
| 42 | def calculate_k(self): |
| 43 | h = self.hash_class() |
no test coverage detected