secure_random.ex
secure_random.ex copied to clipboard
Don't double-encode in urlsafe_base64
I tried using this function and the results were longer than they should have been. This was because it was encoding to standard base64 and then re-encoding that to URL-safe base64. This change fixes that