monero_seed_generator

Module for Monero seed generation.

class MoneroSeedGenerator(mnemonic: Union[str, Mnemonic], lang: Optional[MoneroLanguages] = None)

Bases: object

Monero seed generator class. It generates the seed from a mnemonic.

m_entropy_bytes: bytes
Generate() bytes

Generate seed. The seed is simply the entropy bytes in Monero case. There is no really need of this method, since the seed is always the same, but it’s kept in this way to have the same usage of Bip39/Substrate seed generator (i.e. MoneroSeedGenerator(mnemonic).Generate() ).

Returns:

Generated seed

Return type:

bytes