Hash Method
Calculates a message digest over a byte array.
Object Oriented Interface
public function doHash($buffer);
Procedural Interface
secureblackbox_hashfunction_do_hash($res, $buffer);
Remarks
This method calculates and returns a message digest over the content of Buffer. This is a quick way to calculate a hash over a byte array in one go.