CVS: crypto/PublicKey RSA.py,1.13,1.14 pubkey.py,1.9,1.10
"A.M. Kuchling" <[email protected]> Thu, 03 Apr 2003 12:30:10 -0800
| Newsgroups | gmane.comp.python.cryptography.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/pycrypto/crypto/PublicKey
In directory sc8-pr-cvs1:/tmp/cvs-serv29146/PublicKey
Modified Files:
RSA.py pubkey.py
Log Message:
Rename canblind method to can_blind
Index: RSA.py
===================================================================
RCS file: /cvsroot/pycrypto/crypto/PublicKey/RSA.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- RSA.py 3 Apr 2003 20:27:13 -0000 1.13
+++ RSA.py 3 Apr 2003 20:30:00 -0000 1.14
@@ -91,8 +91,8 @@
tmp = pubkey.inverse(B, self.n)
return (M * tmp) % self.n
- def canblind (self):
- """canblind() : bool
+ def can_blind (self):
+ """can_blind() : bool
Return a Boolean value recording whether this algorithm can
blind data. (This does not imply that this
particular key object has the private information required to
@@ -174,7 +174,7 @@
def _unblind(self, M, B):
return self.key._unblind(M, B)
- def canblind (self):
+ def can_blind (self):
return 1
def size(self):
Index: pubkey.py
===================================================================
RCS file: /cvsroot/pycrypto/crypto/PublicKey/pubkey.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- pubkey.py 3 Apr 2003 20:27:13 -0000 1.9
+++ pubkey.py 3 Apr 2003 20:30:00 -0000 1.10
@@ -134,8 +134,8 @@
"""
return 1
- def canblind (self):
- """canblind() : bool
+ def can_blind (self):
+ """can_blind() : bool
Return a Boolean value recording whether this algorithm can
blind data. (This does not imply that this
particular key object has the private information required to
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/