Noise: Re: CJR for perl-RSA t-shirt

Simon Spero ses at tipper.oit.unc.edu
Wed Oct 11 22:41:47 PDT 1995


On Thu, 12 Oct 1995, Jiri Baum wrote:

> 
> If you are reading a signed message, you simply strip off the

Not a good choice of words - remember, you should never expose your 
private, er, key...

Simon
---
(defun modexpt (x y n)  "computes (x^y) mod n"
  (cond ((= y 0) 1)   ((= y 1) (mod x n))
	((evenp y) (mod (expt (modexpt x (/ y 2) n) 2) n))
	(t (mod (* x (modexpt x (1- y) n)) n))))







More information about the cypherpunks-legacy mailing list