issues
search
komuw
/
ong
ong, is a Go http toolkit.
MIT License
16
stars
4
forks
source link
ong/id: Use crypto/rand in id.New()
#347
Closed
komuw
closed
1 year ago
komuw
commented
1 year ago
Initially,
id.New()
was for use in non-cryptographic usecases. However, I've noticed that I tend to reach for it even in cryptographic circumstances because of its ease of use. This PR formalizes that usecase.
This undoes
https://github.com/komuw/ong/pull/322
id.New()
was for use in non-cryptographic usecases. However, I've noticed that I tend to reach for it even in cryptographic circumstances because of its ease of use. This PR formalizes that usecase.