Module: Rack::Pubcookie::AES

Included in:
Auth
Defined in:
lib/rack/pubcookie/aes.rb

Instance Method Summary collapse

Instance Method Details

#aes_decrypt(bytes, index1, index2) ⇒ Object



5
6
7
8
9
10
11
12
# File 'lib/rack/pubcookie/aes.rb', line 5

def aes_decrypt bytes, index1, index2
  # When an example of an AES encrypted cookie is acquired, the method for
  # decryption is outlined at https://wiki.doit.wisc.edu/confluence/display/WEBISO/Pubcookie+Granting+Reply+Interface
  # For now, I have no examples of AES encrypted cookies, so with nothing
  # to test on I wouldn't be sure if this were working.

  raise 'I need an example!'
end