Module: MathCaptcha::Utils

Defined in:
lib/math_captcha/utils.rb

Overview

:nodoc

Class Method Summary collapse

Class Method Details

.generate_key(*args) ⇒ Object



5
6
7
8
# File 'lib/math_captcha/utils.rb', line 5

def self.generate_key(*args)
  args << 'math-captcha'
  Digest::SHA1.hexdigest(args.join)
end