encrypt.go
func Encrypt(text string) (string, error) {
	bytes := []byte(text)
	key := seekret()
	block, err := aes.NewCipher(key)
	if err != nil {
		return "", err
	}
	b := encodeBase64(bytes)
	ciphertext := make([]byte, aes.BlockSize+len(b))
	iv := ciphertext[:aes.BlockSize]
	if _, err := io.ReadFull(rand.Reader, iv); err != nil {
		return "", err
	}
	cfb := cipher.NewCFBEncrypter(block, iv)
	cfb.XORKeyStream(ciphertext[aes.BlockSize:], b)
	return string(encodeBase64(ciphertext)), nil
}
func Encrypt(text string) (string, error) {
	bytes := []byte(text)
	key := seekret()
	block, err := aes.NewCipher(key)
	if err != nil {
		return "", err
	}
	b := encodeBase64(bytes)
	ciphertext := make([]byte, aes.BlockSize+len(b))
	iv := ciphertext[:aes.BlockSize]
	if _, err := io.ReadFull(rand.Reader, iv); err != nil {
		return "", err
	}
	cfb := cipher.NewCFBEncrypter(block, iv)
	cfb.XORKeyStream(ciphertext[aes.BlockSize:], b)
	return string(encodeBase64(ciphertext)), nil
}
// Encrypt encrypts the given text with a hard-coded secret. Not truly secure.