Adding new hash and strength functions