HMACSHA256 Constructor (System.Security.Cryptography) (2024)

Table of Contents
Examples Remarks See also Applies to
Source:
HMACSHA256.cs
Source:
HMACSHA256.cs
Source:
HMACSHA256.cs

Initializes a new instance of the HMACSHA256 class with the specified key data.

public: HMACSHA256(cli::array <System::Byte> ^ key);
public HMACSHA256 (byte[] key);
new System.Security.Cryptography.HMACSHA256 : byte[] -> System.Security.Cryptography.HMACSHA256
Public Sub New (key As Byte())

Parameters

key
Byte[]

The secret key for HMAC computation. The key can be any length. However, the recommended size is 64 bytes. If the key is more than 64 bytes long, it is hashed (using SHA-256) to derive a 32-byte key.

Exceptions

The key parameter is null.

Examples

For an example of how to use this constructor, see the HMACSHA256 class.

Remarks

HMACSHA256 is a type of keyed hash algorithm that is constructed from the SHA-256 hash function and used as a Hash-based Message Authentication Code. The HMAC process mixes a secret key with the message data, hashes the result with the hash function, mixes that hash value with the secret key again, and then applies the hash function a second time. The output hash is 256 bits in length.

See also

Applies to

HMACSHA256 Constructor (System.Security.Cryptography) (2024)
Top Articles
Christmas Club: Overview, History, Example
Chromium - User Data Directory
Td Youth Account
Ddn Confessions
Top 5 Linux Distributions to Try the KDE Plasma 6 Desktop Right Now - 9to5Linux
1998 Pontiac Firebird Trans Am for sale - Denver, CO - craigslist
14314 County Road 15 Holiday City Oh
Livingston Parish Detention Center - Inmate Search - Livingston, LA
Jeff Bezos Lpsg
Print With Me Discount Code
Frank 26 Forum
Frontline Iep Direct Login
Convert Ng Dl To Pg Ml
Gpa Calculator Georgia Tech
Violent Night Showtimes Near Amc Fashion Valley 18
Pocket Edition Minecraft Pocket Edition Manual Pdf
Stetson Exam Schedule
SunTrust Shareholders Approve Merger with BB&T to Form Truist
Google Reviews Molly Maid Tinley Park Il
Electric Toothbrush Feature Crossword
Crime | Denver Daily Voice
Gasoline Prices At Sam's Club
Does Gamestop Take Airpods
Small Pink Pill Cc 58
Palm Coast Permits Online
Po Box 30425 Salt Lake City
Cb2 South Coast Plaza
Jobs Hiring 18 Year Olds Near Me
Ll Flooring Locations
SpeechWire Tournament Services
Unblocked Games Amazon
Wym Urban Dictionary
Parent Portal Pat Med
Webmail Inmotion Hosting Login
Santa Cruz Craigslist Cars And Trucks - By Owner
Point After Salon
Tommy Bates Itinerary
Wednesday Morning Gifs
Where Do Red Foxes Live Map
Basketball Stars Unblocked Games Premium
2 Cor 9 Nlt
Craiglist Sacramento Ca
Kitra Somers
Brooke Monk Twitter Deepfake
Tyrones Unblocked Games Basketball Stars
Princessdk
Juicy Deal D-Art
Gdp E239 Bts
Slmd Skincare Appointment
Resultados Dela Nba Espn
Craiglsist Cars
Romeo Must Die 123Movies
Latest Posts
Article information

Author: Rev. Porsche Oberbrunner

Last Updated:

Views: 6137

Rating: 4.2 / 5 (73 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Rev. Porsche Oberbrunner

Birthday: 1994-06-25

Address: Suite 153 582 Lubowitz Walks, Port Alfredoborough, IN 72879-2838

Phone: +128413562823324

Job: IT Strategist

Hobby: Video gaming, Basketball, Web surfing, Book restoration, Jogging, Shooting, Fishing

Introduction: My name is Rev. Porsche Oberbrunner, I am a zany, graceful, talented, witty, determined, shiny, enchanting person who loves writing and wants to share my knowledge and understanding with you.