Comment on revision r65 in opensocial-python-client

16 views
Skip to first unread message

codesite...@google.com

unread,
Jan 7, 2014, 7:08:48 AM1/7/14
to opensocial-cl...@googlegroups.com
Comment by danuthai...@gmail.com:

Score: Negative


Line-by-line comments:

File: /trunk/src/opensocial/Crypto/PublicKey/ElGamal.py (r65)
===============================================================================

Line 51: size=bits-1-ord(randfunc(1)) # x will be from 1 to 256
bits smaller than p
-------------------------------------------------------------------------------
So, your private key is 2 to 2^256 smaller than your public key?????!?!

For more information:
https://code.google.com/p/opensocial-python-client/source/detail?r=65
Reply all
Reply to author
Forward
0 new messages