static Future<Map<String, String>> generateKeyPair() async { final result = await RSA.generate(4096); return {'publicKey': result.publicKey, 'privateKey': result.privateKey}; }