cardano_byron_legacy_seed_generator
Module for Cardano Byron legacy mnemonic seed generation (old Daedalus version).
- class CardanoByronLegacySeedGenerator(mnemonic: Union[str, Mnemonic], lang: Optional[Bip39Languages] = None)
Bases:
object
Cardano Byron legacy seed generator class. It generates seeds from a BIP39 mnemonic for Cardano Byron (legacy).
- m_ser_seed_bytes: bytes
- Generate() bytes
Generate seed. The seed is simply the entropy bytes in Cardano 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. CardanoSeedGenerator(mnemonic).Generate() ).
- Returns:
Generated seed
- Return type:
bytes