I have problem that is really easily solved with Guids.
In particular, for a password reset workflow, I would like to send a Guid token to a user\'s email and have
How to create small, unique tokens in Ruby
>> require 'digest' => [] >> Digest::SHA1.hexdigest("some-random-string")[8..16] => "2ebe5597f" >> SecureRandom.base64(8).gsub("/","_").gsub(/=+$/,"") => "AEWQyovNFo0" >> rand(36**8).to_s(36) => "uur0cj2h"