Hash.CreateSHA1(Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static System::Security::Policy::Hash ^ CreateSHA1(cli::array <System::Byte> ^ sha1);
public static System.Security.Policy.Hash CreateSHA1 (byte[] sha1);
static member CreateSHA1 : byte[] -> System.Security.Policy.Hash
Public Shared Function CreateSHA1 (sha1 As Byte()) As Hash
Parameters
Returns
An object that contains the hash value provided by the sha1
parameter.
Exceptions
The sha1
parameter is null
.
Remarks
The returned Hash object contains only the SHA1 property.
Due to collision problems with SHA1, Microsoft recommends a security model based on SHA256 or better.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.