Trit and Tryte hashCode() methods.