.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.Security.Cryptography
  3. HMACSHA256
  4. HashSizeInBits
  • HMACSHA256
    • HashSizeInBits
    • HashSizeInBytes
    • HMACSHA256()
    • HMACSHA256(Byte[])
    • HashSize
    • Key
    • Dispose(Boolean)
    • HashCore(Byte[], Int32, Int32)
    • HashCore(ReadOnlySpan<Byte>)
    • HashData(Byte[], Byte[])
    • HashData(Byte[], Stream)
    • HashData(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
    • HashData(ReadOnlySpan<Byte>, Stream)
    • HashData(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>)
    • HashData(ReadOnlySpan<Byte>, Stream, Span<Byte>)
    • HashDataAsync(Byte[], Stream, CancellationToken)
    • HashDataAsync(ReadOnlyMemory<Byte>, Stream, CancellationToken)
    • HashDataAsync(ReadOnlyMemory<Byte>, Stream, Memory<Byte>, CancellationToken)
    • HashFinal()
    • Initialize()
    • TryHashData(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>, Int32)
    • TryHashFinal(Span<Byte>, Int32)
net7.0
namespace System.Security.Cryptography
{
    public class HMACSHA256 : HMAC
    {
        public const int HashSizeInBits = 256;
    }
}
Design Reviews
  • dotnet/runtime#63130 3 years ago (Approved)
.NET 7.08.09.0
Information specific to net7.0
Assembly

System.Security.Cryptography , Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙