System.Security.Cryptography.HashAlgorithm.Create C# (CSharp) Метод

Create() публичный статический Метод

public static Create ( ) : HashAlgorithm
Результат HashAlgorithm
        public static HashAlgorithm Create()
        {
            return Create("System.Security.Cryptography.HashAlgorithm");
        }

Same methods

HashAlgorithm::Create ( string hashName ) : HashAlgorithm

Usage Example

Пример #1
0
        // This method is not compatible with the one provided by MS in
        // framework 1.0 and 1.1 but IS compliant with PKCS#1 v.2.1 and
        // work for implementing OAEP
        public override byte[] GenerateMask(byte[] rgbSeed, int cbReturn)
        {
            HashAlgorithm hash = HashAlgorithm.Create(hashName);

            return(PKCS1.MGF1(hash, rgbSeed, cbReturn));
        }
All Usage Examples Of System.Security.Cryptography.HashAlgorithm::Create