rkh/rack-protection — Issue #17: Base.random_string should use SecureRandom.base64
Author: acrispino
Created: 2012-02-07 08:52:15+00:00
State: open

Currently, Base.random_string generates 32 random characters using SecureRandom.hex . rails and rack_csrf use SecureRandom.base64 which provides a larger range of values (64 vs 16 possibilities per character). Base.random_string should do the same.