Sha256: 51129f34487895908597176931ee4b46008276f815bd414469fe166779c05ed9
Contents?: true
Size: 195 Bytes
Versions: 3
Compression:
Stored size: 195 Bytes
Contents
require 'digest/sha1' module VisualCaptcha #:nodoc module Utils #:nodoc def self.generate_key(*args) args << Time.now.to_s Digest::SHA1.hexdigest(args.join) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
visualcaptcha-0.0.1.5 | lib/visualcaptcha/utils.rb |
visualcaptcha-0.0.1.4 | lib/visualcaptcha/utils.rb |
visualcaptcha-0.0.1.3 | lib/visualcaptcha/utils.rb |