init method
Initializes the router.
seed An optional seed to use for cryptographic key generation. If not
provided, a random seed is generated.
Returns the seed used for initialization.
Implementation
Future<Uint8List> init([Uint8List? seed]) async {
final cryptoKeys = await crypto.init(seed);
_selfId = PeerId.fromKeys(
encryptionKey: cryptoKeys.encPubKey,
signKey: cryptoKeys.signPubKey,
);
return cryptoKeys.seed;
}