# System.Security.Cryptography.ProtectedData ```diff namespace System.Security.Cryptography { public static class ProtectedData { + public static byte[] Protect(System.ReadOnlySpan userData, System.Security.Cryptography.DataProtectionScope scope, System.ReadOnlySpan optionalEntropy = default(System.ReadOnlySpan)); + public static int Protect(System.ReadOnlySpan userData, System.Security.Cryptography.DataProtectionScope scope, System.Span destination, System.ReadOnlySpan optionalEntropy = default(System.ReadOnlySpan)); + public static bool TryProtect(System.ReadOnlySpan userData, System.Security.Cryptography.DataProtectionScope scope, System.Span destination, out int bytesWritten, System.ReadOnlySpan optionalEntropy = default(System.ReadOnlySpan)); + public static bool TryUnprotect(System.ReadOnlySpan encryptedData, System.Security.Cryptography.DataProtectionScope scope, System.Span destination, out int bytesWritten, System.ReadOnlySpan optionalEntropy = default(System.ReadOnlySpan)); + public static byte[] Unprotect(System.ReadOnlySpan encryptedData, System.Security.Cryptography.DataProtectionScope scope, System.ReadOnlySpan optionalEntropy = default(System.ReadOnlySpan)); + public static int Unprotect(System.ReadOnlySpan encryptedData, System.Security.Cryptography.DataProtectionScope scope, System.Span destination, System.ReadOnlySpan optionalEntropy = default(System.ReadOnlySpan)); } } ```