Merge branch 'master' of git://factorcode.org/git/factor
commit
d926a5e953
|
@ -1,7 +1,7 @@
|
||||||
! Copyright (C) 2008 Doug Coleman.
|
! Copyright (C) 2008 Doug Coleman.
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: math.primes.miller-rabin kernel math math.functions
|
USING: math.primes kernel math math.functions namespaces
|
||||||
namespaces sequences accessors ;
|
sequences accessors ;
|
||||||
IN: crypto.rsa
|
IN: crypto.rsa
|
||||||
|
|
||||||
! The private key is the only secret.
|
! The private key is the only secret.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
USING: kernel math sequences namespaces
|
USING: kernel math sequences namespaces math.primes
|
||||||
math.primes.miller-rabin math.functions accessors random ;
|
math.functions accessors random ;
|
||||||
IN: random.blum-blum-shub
|
IN: random.blum-blum-shub
|
||||||
|
|
||||||
! Blum Blum Shub, n = pq, x_i+1 = x_i ^ 2 mod n
|
! Blum Blum Shub, n = pq, x_i+1 = x_i ^ 2 mod n
|
||||||
|
|
Loading…
Reference in New Issue