Skip to content

Instantly share code, notes, and snippets.

View azul's full-sized avatar

azul

  • OpenPGP: BB70 B016 0449 010A 00AF 49E8 7860 85AC 20D3 457D
View GitHub Profile
@azul
azul / Gemfile
Created October 16, 2010 13:46
Testing to require system gems from within a bundle even though they have been excluded from bundle install
source :gemcutter
group :gems do
gem "haml", "~>2.2.0"
end
@azul
azul / gist:9209005
Last active October 20, 2015 06:38
Secure Remote Password explained for mere mortals

Secure Remote Password explained for mere mortals

Discrete Logarithm

Most SRP calculations happen in the group of integers modulo a large number N. Basically whenever a number x grow beyond N you use x mod N instead.

Secure Remote Password explained for mere mortals

Discrete Logarithm

Most SRP calculations happen in the group of integers modulo a large number N. Basically whenever a number x grow beyond N you use x mod N instead.