hexAuthorizedKeys method

Map hexAuthorizedKeys(
  1. List<AuthorizedKey> authorizedKeys
)

Implementation

Map<dynamic, dynamic> hexAuthorizedKeys(List<AuthorizedKey> authorizedKeys) {
  final Map<dynamic, dynamic> authorizedKeysHex = {};
  authorizedKeys.forEach((authorizedKey) {
    authorizedKeysHex.putIfAbsent(
        authorizedKey.publicKey, () => authorizedKey.encryptedKey);
  });
  return authorizedKeysHex;
}