rand.go 181 B

12345678910111213
  1. package main
  2. import (
  3. "encoding/hex"
  4. "github.com/superp00t/etc"
  5. )
  6. func randomString() string {
  7. b := etc.NewBuffer()
  8. b.WriteRandom(32)
  9. return hex.EncodeToString(b.Bytes())
  10. }