ibip39_seed_generator

Module with interface for BIP39 seed generation classes.

class IBip39SeedGenerator(mnemonic: Union[str, Mnemonic], lang: Optional[Bip39Languages])

Bases: ABC

BIP39 seed generator interface.

abstract Generate(passphrase: str) bytes

Generate the seed using the specified passphrase.

Parameters:

passphrase (str, optional) – Passphrase, empty if not specified

Returns:

Generated seed

Return type:

bytes