CngAlgorithm.Sha1 Property
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.
Gets a new CngAlgorithm object that specifies the Secure Hash Algorithm 1 (SHA-1) algorithm.
public:
static property System::Security::Cryptography::CngAlgorithm ^ Sha1 { System::Security::Cryptography::CngAlgorithm ^ get(); };
public static System.Security.Cryptography.CngAlgorithm Sha1 { get; }
static member Sha1 : System.Security.Cryptography.CngAlgorithm
Public Shared ReadOnly Property Sha1 As CngAlgorithm
Property Value
An object that specifies the SHA-1 algorithm.
Remarks
Due to collision problems with SHA-1, Microsoft recommends SHA-256.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.