crypt/salter.go
func getRandomBytes(r io.Reader, n int) []byte {
	b := make([]byte, n)
	_, err := r.Read(b)
	if err != nil {
		panic("Could not access secure random generator")
	}

	return b
}
func getRandomBytes(r io.Reader, n int) []byte {
	b := make([]byte, n)
	_, err := r.Read(b)
	if err != nil {
		panic("Could not access secure random generator")
	}

	return b
}
// getRandomBytes gets secure random bytes.