Skip to content

Commit

Permalink
💬 Increased NanoID length and excluded look-alikes
Browse files Browse the repository at this point in the history
  • Loading branch information
shizumico committed Dec 16, 2024
1 parent 6473a8b commit 1e8be89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consts/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package consts
import "errors"

const (
NanoAlphabet = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
NanoLength = 16
NanoAlphabet = "2346789abcdefghijkmnpqrtwxyzABCDEFGHJKLMNPQRTUVWXYZ"
NanoLength = 25
)

var (
Expand Down

0 comments on commit 1e8be89

Please sign in to comment.