Module | OpenID::Util |
In: |
lib/openid/util.rb
lib/openid/urinorm.rb |
HAS_URANDOM | = | File.chardev? '/dev/urandom' |
This code is taken from this post by Eric Lee Green. This implementation is much faster than x ** n % q