Skip to content

Instantly share code, notes, and snippets.

View clintconklin's full-sized avatar

Clint clintconklin

  • Los Angeles, CA
View GitHub Profile
@raws
raws / gist:1233539
Created September 21, 2011 22:45
Authenticate against ExpressionEngine >= 2.2.2 member data in Ruby
#!/usr/bin/env RBENV_VERSION=1.9.3-preview1 ruby
require "digest"
require "sequel"
module ExpressionEngine
module Authentication
ALGORITHMS = {
32 => Digest::MD5,
40 => Digest::SHA1,