Module keypair_file

Source

Functionsยง

read_authority_keypair_from_file
Read from file as Base64 encoded privkey and return a AuthorityKeyPair.
read_key
Read an IotaKeyPair from a file. The content could be any of the following:
read_keypair_from_file
Read from file as Bech32 encoded flag || privkey and return a IotaKeypair.
read_network_keypair_from_file
Read from file as Base64 encoded flag || privkey and return a NetworkKeyPair.
write_authority_keypair_to_file
Write Base64 encoded privkey to file.
write_keypair_to_file
Write Bech32 encoded flag || privkey to file.