func generateOrganisationSignature(info *OrganisationInfo, privKey bmcrypto.PrivKey, serial uint64) string {
	// Generate token
	h := sha256.Sum256([]byte(info.Hash + strconv.FormatUint(serial, 10)))
	signature, err := bmcrypto.Sign(privKey, h[:])
	if err != nil {
		return ""
	}

	return base64.StdEncoding.EncodeToString(signature)
}
// generateOrganisationSignature generates a signature with the accounts private key that can be used for authentication on the resolver
generateOrganisationSignature generates a signature with the accounts private key that can be used for authentication on the resolver
// generateOrganisationSignature generates a signature with the accounts private key that can be used for authentication on the resolver
func generateOrganisationSignature(info *OrganisationInfo, privKey bmcrypto.PrivKey, serial uint64) string {
	h := sha256.Sum256([]byte(info.Hash + strconv.FormatUint(serial, 10)))
	signature, err := bmcrypto.Sign(privKey, h[:])
	if err != nil {
		return ""
	}
	return base64.StdEncoding.EncodeToString(signature)
}
func generateOrganisationSignature ( info * OrganisationInfo , privKey bmcrypto . PrivKey , serial uint64 ) string { h := sha256 . Sum256 ( [ ] byte ( info . Hash + strconv . FormatUint ( serial , 10 ) ) ) signature , err := bmcrypto . Sign ( privKey , h [ : ] ) if err != nil { return " " } return base64 . StdEncoding . EncodeToString ( signature ) }
generateOrganisationSignature generates a signature with the accounts private key that can be used for authentication on the resolver
generateOrganisationSignature generates a signature with the accounts private key that can be used for authentication on the resolver
// Generate token