pcb-to-stencil/util.go

13 lines
151 B
Go

package main
import (
"crypto/rand"
"encoding/hex"
)
func randomID() string {
b := make([]byte, 16)
rand.Read(b)
return hex.EncodeToString(b)
}