<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="4.5.0-rc1" />

ProtectedData

public static class ProtectedData
namespace System.Security.Cryptography { public static class ProtectedData { public static byte[] Protect(byte[] userData, byte[] optionalEntropy, DataProtectionScope scope) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_CryptographyProtectedData); } public static byte[] Unprotect(byte[] encryptedData, byte[] optionalEntropy, DataProtectionScope scope) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_CryptographyProtectedData); } } }