Implemented HashAlgorithmFactory.