On Wednesday, 15 August 2012 at 08:17:01 UTC, David Nadlinger wrote:
On Wednesday, 15 August 2012 at 07:41:20 UTC, Kagamin wrote:
On Thursday, 9 August 2012 at 09:59:48 UTC, David Nadlinger wrote:
Hash functions are _not_ analogous to reduce(), because the operation performed by reduce() is stateless, whereas hash functions generally have some internal state.

An example of stateless hash in .net:
http://msdn.microsoft.com/en-us/library/xa627k19.aspx

http://msdn.microsoft.com/en-us/library/system.security.cryptography.hashalgorithm.state

David

Ok, but HashAlgorithm still supports stateless interface which consists of a single method with a couple of overloads, the example in the ComputeHash article speaks for itself.

Reply via email to