Merge branch 'master' of git://factorcode.org/git/factor

db4
Slava Pestov 2009-05-10 16:41:30 -05:00
commit d926a5e953
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: math.primes.miller-rabin kernel math math.functions
namespaces sequences accessors ;
USING: math.primes kernel math math.functions namespaces
sequences accessors ;
IN: crypto.rsa
! The private key is the only secret.

View File

@ -1,5 +1,5 @@
USING: kernel math sequences namespaces
math.primes.miller-rabin math.functions accessors random ;
USING: kernel math sequences namespaces math.primes
math.functions accessors random ;
IN: random.blum-blum-shub
! Blum Blum Shub, n = pq, x_i+1 = x_i ^ 2 mod n