multiversx_sdk.wallet.crypto package
Submodules
multiversx_sdk.wallet.crypto.decryptor module
- multiversx_sdk.wallet.crypto.decryptor.decrypt(encrypted_data: EncryptedData, password: str) bytes [source]
Also see: https://github.com/multiversx/mx-sdk-js-wallet/blob/main/src/crypto/decryptor.ts
multiversx_sdk.wallet.crypto.encrypted_data module
- class multiversx_sdk.wallet.crypto.encrypted_data.EncryptedData(id: str, version: int, cipher: str, ciphertext: str, iv: str, kdf: str, kdfparams: KeyDerivationParams, salt: str, mac: str)[source]
Bases:
object
- classmethod from_keyfile_object(keyfile_object: dict[str, Any]) EncryptedData [source]
multiversx_sdk.wallet.crypto.encryptor module
- multiversx_sdk.wallet.crypto.encryptor.encrypt(data: bytes, password: str, randomness: IRandomness) EncryptedData [source]
Also see: https://github.com/multiversx/mx-sdk-js-wallet/blob/main/src/crypto/encryptor.ts
multiversx_sdk.wallet.crypto.randomness module
Module contents
- class multiversx_sdk.wallet.crypto.EncryptedData(id: str, version: int, cipher: str, ciphertext: str, iv: str, kdf: str, kdfparams: KeyDerivationParams, salt: str, mac: str)[source]
Bases:
object
- classmethod from_keyfile_object(keyfile_object: dict[str, Any]) EncryptedData [source]