Better comment about encryption
This commit is contained in:
parent
a4048262d8
commit
197e228d32
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ def wallet_state_sequence(wallet_state):
|
||||||
def create_login_password(root_password):
|
def create_login_password(root_password):
|
||||||
return hashlib.sha256(root_password.encode('utf-8')).hexdigest()[:32]
|
return hashlib.sha256(root_password.encode('utf-8')).hexdigest()[:32]
|
||||||
|
|
||||||
# TODO - do this correctly
|
# TODO - actually the SDK will do this for now
|
||||||
def create_encryption_key(root_password):
|
def create_encryption_key(root_password):
|
||||||
return hashlib.sha256(root_password.encode('utf-8')).hexdigest()[32:]
|
return hashlib.sha256(root_password.encode('utf-8')).hexdigest()[32:]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue