tag:blogger.com,1999:blog-3932878064881956934.post7469565761728700495..comments2023-05-22T19:36:11.633+05:30Comments on voidsecurity: CSCAMP CTF Quals 2013 - Crypto 400 - [Team SegFault]Reno Roberthttp://www.blogger.com/profile/01980174423078410529noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3932878064881956934.post-78633657454043426882014-02-18T23:37:48.612+05:302014-02-18T23:37:48.612+05:30Yes, I used PyCrypto version 2.6.0 for this and it...Yes, I used PyCrypto version 2.6.0 for this and it worked with one argument.<br />>>> from Crypto.PublicKey import RSA<br />>>> keypair = RSA.generate(1024)<br />>>> dir(keypair)<br />['__doc__', '__eq__', '__getattr__', '__getstate__', '__init__', '__module__', '__ne__', '__repr__', '__setstate__', '_blind', '_decrypt', '_encrypt', '_randfunc', '_sign', '_unblind', '_verify', 'blind', 'can_blind', 'can_encrypt', 'can_sign', 'decrypt', 'encrypt', 'exportKey', 'has_private', 'implementation', 'key', 'keydata', 'publickey', 'sign', 'size', 'unblind', 'validate', 'verify']<br /><br />Not sure why its not working for you :(Reno Roberthttps://www.blogger.com/profile/01980174423078410529noreply@blogger.comtag:blogger.com,1999:blog-3932878064881956934.post-69259555489359975432014-02-18T06:36:23.472+05:302014-02-18T06:36:23.472+05:30Just wanted to ask about the creation of the key y...Just wanted to ask about the creation of the key you have use the RSA.generate(1024) command when I use it expects another argument ie a random generator function. Could I ask if you were using pycrypto for this and if so how you were able to get it to use only one argument.Anonymousnoreply@blogger.com