secure_random.ex icon indicating copy to clipboard operation
secure_random.ex copied to clipboard

Don't double-encode in urlsafe_base64

Open cheerfulstoic opened this issue 4 years ago • 0 comments

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

cheerfulstoic avatar May 22 '20 08:05 cheerfulstoic