<PackageReference Include="Microsoft.Identity.Client" Version="4.84.1-preview" />

Microsoft.Identity.Client.PlatformsCommon.Shared.CommonCryptographyManager

namespace Microsoft.Identity.Client.PlatformsCommon.Shared { internal class CommonCryptographyManager : ICryptographyManager { protected ILoggerAdapter Logger { get; } public CommonCryptographyManager(ILoggerAdapter logger = null); public string CreateBase64UrlEncodedSha256Hash(string input); public string GenerateCodeVerifier(); public string CreateSha256Hash(string input); public byte[] CreateSha256HashBytes(string input); public string CreateSha256HashHex(string input); public virtual byte[] SignWithCertificate(string message, X509Certificate2 certificate, RSASignaturePadding signaturePadding); } }