transfer.sh icon indicating copy to clipboard operation
transfer.sh copied to clipboard

Generate secure token using crypto rand

Open rumanzo opened this issue 2 years ago • 2 comments

rand package https://pkg.go.dev/math/rand notice us Package rand implements pseudo-random number generators suitable for tasks such as simulation, but it should not be used for security-sensitive work. I purpose use crypto/rand function that's more secure

rumanzo avatar Mar 06 '24 15:03 rumanzo

hello @rumanzo , thanks for the PR, please see my comment

paolafrancesca avatar Mar 07 '24 04:03 paolafrancesca

please see my comment in code review

rumanzo avatar Mar 29 '24 12:03 rumanzo