func MustHash(str string) []byte {
	hash, err := Hash(str)
	if err != nil {
		panic(err.Error())
	}
	return hash
}
MustHash will call Hash and panic on errors.
package heat
import (
	"github.com/256dpi/xo"
	"golang.org/x/crypto/bcrypt"
)
var hashCost = bcrypt.DefaultCost
func UnsafeFastHash() {
	hashCost = bcrypt.MinCost
}
func Hash(str string) ([]byte, error) {
	hash, err := HashBytes([]byte(str))
	if err != nil {
		return nil, xo.W(err)
	}
	return hash, nil
}
func HashBytes(bytes []byte) ([]byte, error) {
	buf, err := bcrypt.GenerateFromPassword(bytes, hashCost)
	return buf, xo.W(err)
}