//
// System.Security.Cryptography SHA256 Class implementation
//
// Authors:
// Matthew S. Ford (Matthew.S.Ford@Rose-Hulman.Edu)
//
// Copyright 2001 by Matthew S. Ford.
//
using System.Security.Cryptography;
namespace System.Security.Cryptography {
///
/// Common base class for all derived SHA256 iplementations.
/// Abstract.
///
public abstract class SHA256 : HashAlgorithm {
///
/// Called from constructor of derived class.
///
public SHA256 () {
}
///
/// Creates the default derived class.
///
public static new SHA256 Create () {
return new SHA256Managed ();
}
///
/// Creates a new derived class.
///
/// FIXME: No clue. Specifies which derived class to create?
[MonoTODO]
public static new SHA256 Create (string st) {
return Create ();
}
}
}