I need to hash a password with salt in C#. Salt is obtained from one source and is of type byte[], password is obtained from another source and is of type String.
Computing a hash of one block is quite easy - just call HashAlgorithm.ComputeHash() and it's done, but how do I compute a hash of two blocks without first building their concatenation?