Formatting

This commit is contained in:
Maximilian 2023-01-29 23:36:47 -06:00
parent e96fded8ff
commit 0eacc92a45

View File

@ -59,7 +59,6 @@ func main() {
mathrand.Seed(int64(binary.LittleEndian.Uint64(b[:]))) mathrand.Seed(int64(binary.LittleEndian.Uint64(b[:])))
// Assign every slot of pass to a random allowedCharacter // Assign every slot of pass to a random allowedCharacter
for i := range pass { for i := range pass {
// Generate a random int greater than 0 and not to exceed the length of allowedCharacters // Generate a random int greater than 0 and not to exceed the length of allowedCharacters
index, err := cryptorand.Int(cryptorand.Reader, big.NewInt(int64(len(allowedCharacters)))) index, err := cryptorand.Int(cryptorand.Reader, big.NewInt(int64(len(allowedCharacters))))