На коде Python я использую < /p>
Код: Выделить всё
def generate_key_from_passphrase(passphrase):
return hashlib.sha256(passphrase.encode("utf-32")).digest()
Подробнее здесь: https://stackoverflow.com/questions/794 ... -vs-python
Код: Выделить всё
def generate_key_from_passphrase(passphrase):
return hashlib.sha256(passphrase.encode("utf-32")).digest()