factory EncryptedMsg.fromJson(Map<String, dynamic> json) => EncryptedMsg( ciphertext: json['ciphertext'], iv: json['iv'], );