![]() ![]() Pubkey = b'-BEGIN PUBLIC KEY-\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDq qbaMTZtPH3LuXLrAn37YGzc\ngrL7ieTILtkXTl5PIozJUQZ06bQXr/uS FtvYNSvaT53ZpSyKmVmWtoX7lFzA6FW\nsILFTgFUDNRnPIQv1rQb16wi694rKPRe1uIr8/hthXtTec8b2aJovizQOlkXY0Pq\nZohNGofi02xlUD8KsQIDAQAB\n-END PUBLIC KEY-' When I test RSA encryption on my laptop using P圜rypto (Archlinux, package: python-crypto/python2-crypto), I used a 1024 key generated by RSA module to encrypt a random data, and it produced a 127 bytes length cipher.Ī simple code following: (I got the values when debugging) from Crypto.PublicKey import RSA
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |