MCPcopy Create free account
hub / github.com/Tylous/ZipExec / RandStringBytes

Function RandStringBytes

Cryptor/Cryptor.go:50–57  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

48}
49
50func RandStringBytes(n int) string {
51 b := make([]byte, n)
52 for i := range b {
53 b[i] = letters[crand.Intn(len(letters))]
54
55 }
56 return string(b)
57}
58
59func VarNumberLength(min, max int) string {
60 var r string

Callers 1

VarNumberLengthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected