func generateRandomKey(strength int) []byte {
	k := make([]byte, strength)
	if n, err := io.ReadFull(rand.Reader, k); n != strength || err != nil {
		return utils.RandomCreateBytes(strength)
	}
	return k
}
// generateRandomKey creates a random key with the given strength.
generateRandomKey creates a random key with the given strength.
// generateRandomKey creates a random key with the given strength .
func generateRandomKey(strength int) []byte {
	k := make([]byte, strength)
	if n, err := io.ReadFull(rand.Reader, k); n != strength || err != nil {
		return utils.RandomCreateBytes(strength)
	}
	return k
}
func generateRandomKey ( strength int ) [ ] byte { k := make ( [ ] byte , strength ) if n , err := io . ReadFull ( rand . Reader , k ) ; n != strength || err != nil { return utils . RandomCreateBytes ( strength ) } return k }
generateRandomKey creates a random key with the given strength.
generateRandomKey creates a random key with the given strength .