Renamed calcSha1() to calcSha() and added there the feature to add the
specified type (e.g. int, double,...) for calculating the SHA-Hash.