Improved usability & security by removing the implicit operator

This commit is contained in:
tsommer committed 2024-08-28 20:59:00 +02:00
1 parent 127191abc2
commit a95cfc5ac8
1 file changed
-2
@@ -8,6 +8,4 @@ public readonly record struct EncryptedText(string EncryptedData)
{
throw new SecurityException("Please provide the encrypted data.");
}
public static implicit operator string(EncryptedText encryptedText) => encryptedText.EncryptedData;
}