functions computing the mac of bytesource, bytestrings and file
moved HMAC definition from R.MAC to R.Hash
removed unnecessary definition of oneblock