encryptValueForHcp method
Implementation
@override
Future<Tuple2<String, DataOwnerDto?>> encryptValueForHcp(String myId, String delegateId, String objectId, String secret) async {
final hcPartyKeyAndDataOwner = await getOrCreateHcPartyKey(myId, delegateId);
final hcPartyKey = hcPartyKeyAndDataOwner.item1;
return new Tuple2(Uint8List.fromList("$objectId:$secret".codeUnits).encryptAES(hcPartyKey).toHexString(), hcPartyKeyAndDataOwner.item2);
}