func (h Hash) Short(n int) string {
	for i := 0; i < HashSize/2; i++ {
		h[i], h[HashSize-1-i] = h[HashSize-1-i], h[i]
	}
	var l = HashSize
	if n < l {
		l = n
	}
	return hex.EncodeToString(h[:l])
}
Short returns the hexadecimal string of the first `n` reversed byte(s).
package hash
import (
	"encoding/hex"
	"encoding/json"
	"fmt"
	"math/bits"
	hsp "github.com/SQLess/HashStablePack/marshalhash"
	"github.com/SQLess/SQLess/utils/log"
)
const HashSize = 32
const MaxHashStringSize = HashSize * 2
var ErrHashStrSize = fmt.Errorf("max hash string length is %v bytes", MaxHashStringSize)
type Hash [HashSize]byte
func (h Hash) String() string {
	for i := 0; i < HashSize/2; i++ {
		h[i], h[HashSize-1-i] = h[HashSize-1-i], h[i]
	}
	return hex.EncodeToString(h[:])
}