func GenerateMessageHash(message []byte, timestamp int64) ([]byte, error) {
	toSign := []byte(strconv.FormatInt(timestamp, 10))
	toSign = append(toSign, message...)

	result := sha256.Sum256(toSign)
	return result[:], nil
}
// GenerateMessageHash retrieves a sha256 from the following message: timestamp + message
GenerateMessageHash retrieves a sha256 from the following message: timestamp + message
// GenerateMessageHash retrieves a sha256 from the following message : timestamp + message
func GenerateMessageHash(message []byte, timestamp int64) ([]byte, error) {
	toSign := []byte(strconv.FormatInt(timestamp, 10))
	toSign = append(toSign, message...)
	result := sha256.Sum256(toSign)
	return result[:], nil
}
func GenerateMessageHash ( message [ ] byte , timestamp int64 ) ( [ ] byte , error ) { toSign := [ ] byte ( strconv . FormatInt ( timestamp , 10 ) ) toSign = append ( toSign , message ... ) result := sha256 . Sum256 ( toSign ) return result [ : ] , nil }
GenerateMessageHash retrieves a sha256 from the following message: timestamp + message
GenerateMessageHash retrieves a sha256 from the following message : timestamp + message