Use SHA1 for trail hash