algorand_seed_generator
Module for Algorand mnemonic seed generation.
- class AlgorandSeedGenerator(mnemonic: Union[str, Mnemonic], lang: Optional[AlgorandLanguages] = AlgorandLanguages.ENGLISH)
Bases:
object
Algorand 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 Algorand 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. AlgorandSeedGenerator(mnemonic).Generate() ).
- Returns:
Generated seed
- Return type:
bytes