Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Mar 20, 2013
Commits on Nov 25, 2010
Commits on Oct 17, 2010
  1. Bumped the version to 0.1.4.

    authored
Commits on Sep 10, 2010
  1. Bumped the version to 0.1.3.

    authored
Commits on Sep 9, 2010
  1. Reimplemented the RSA::Math.primes method to generate pseudo-primes d…

    authored
    …irectly.
    
    This enables compatibility with Ruby 1.8, where the Prime standard library isn't yet available.
    
    This also has the effect of significantly speeding up other RSA::Math methods relying on prime generation. It appears that Ruby 1.9's pseudo-prime generator implementation is rather inefficient compared to a more straightforward implementation of the same algorithm.
  2. Reimplemented the RSA::Math.prime? method to use a prime generator di…

    authored
    …rectly.
    
    This will improve compatibility with Ruby 1.8, where the Prime.prime? method isn't available.
  3. Reimplemented the RSA::Math.factorize method to use a prime generator…

    authored
    … directly.
    
    This will improve compatibility with Ruby 1.8, where the Prime.prime_division method isn't available.
  4. Fixed the RSA::Math.phi method to use arbitrary-precision decimal cal…

    authored
    …culations.
    
    Floating-point inaccuracies were previously coming into play at around n = 10^24. With the new implementation, no incidental limits are placed on the size of n.
  5. Ensured that the BigDecimal standard library is always loaded.

    authored
    BigDecimal is needed for implementing the RSA::Math.phi method.
Commits on Sep 8, 2010
Commits on Sep 7, 2010
  1. Bumped the version to 0.1.2.

    authored
Commits on Sep 6, 2010
  1. Bumped the version to 0.1.1.

    authored
  2. Overloaded RSA::KeyPair#encrypt, #decrypt, #sign and #verify to retur…

    authored
    …n a result of the same kind as the argument given to them.
  3. Bumped the version to 0.1.0.

    authored
Commits on Sep 5, 2010
Something went wrong with that request. Please try again.