Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ProtonMail/proton-python-client
/ update
Method
update
proton/srp/pmhash.py:12–13 ·
view source on GitHub ↗
(self, b)
Source
from the content-addressed store, hash-verified
10
self.b = b
11
12
def
update(self, b):
13
self.b += b
14
15
def
digest(self):
16
return
hashlib.sha512(
Callers
12
bn_hash
Function · 0.80
bn_hash_k
Function · 0.80
update_hash
Function · 0.80
calculate_client_challenge
Function · 0.80
calculate_server_challenge
Function · 0.80
hash_k
Function · 0.80
calculate_client_proof
Function · 0.80
calculate_server_proof
Function · 0.80
custom_hash
Function · 0.80
calculate_server_proof
Method · 0.80
calculate_client_proof
Method · 0.80
calculate_k
Method · 0.80
Calls
no outgoing calls
Tested by
3
calculate_server_proof
Method · 0.64
calculate_client_proof
Method · 0.64
calculate_k
Method · 0.64