Commit Graph

30 Commits

Author SHA1 Message Date
Dan
dcd087ba63 Revert "Revert "Update tgcrypto function names""
This reverts commit 0f0e757
2018-09-19 14:31:51 +02:00
Dan
0f0e757f4c Revert "Update tgcrypto function names"
This reverts commit a5979a3
2018-09-17 16:53:21 +02:00
Dan
d2d4f55673 Revert "Remove TODO"
This reverts commit f576fc8
2018-09-17 16:53:17 +02:00
Dan
4c9d9d84f2 Change the way int to bytes conversion is used
Maybe at some point I should switch to struct
2018-09-01 01:27:22 +02:00
Dan
f576fc899d Remove TODO 2018-08-31 13:12:13 +02:00
Dan
a5979a3ac7 Update tgcrypto function names 2018-08-31 12:56:05 +02:00
Dan
49f2cbe04f Move CURRENT_DH_PRIME into Prime namespace 2018-08-29 22:04:04 +02:00
Dan
b451ced0fe Revert back to previous tgcrypto function names 2018-05-21 09:27:56 +02:00
Dan
c5911a6f6b Reorganize AES module 2018-05-19 15:36:38 +02:00
Dan
f0c801be8c Rename AES class methods and add ctr256_encrypt 2018-05-18 14:15:35 +02:00
Dan
1849c26b5e Revert "Remove old code and use a better error message"
This reverts commit 7f13eef
2018-04-02 10:02:30 +02:00
Dan
42a2878842 Don't use sys.exit(), re-raise ImportError instead 2018-03-26 03:39:30 +02:00
Dan
7f13eef44b Remove old code and use a better error message 2018-03-26 02:02:57 +02:00
Dan
6c20661686 Don't use kwargs 2018-03-17 14:29:23 +01:00
Dan
71f3e07dc1 Add more public keys 2018-03-08 10:13:04 +01:00
Dan
74a7adcbdd Don't use logging directly 2018-02-17 16:06:36 +01:00
Dan
87dcd4d313 Update warning 2018-02-17 15:01:09 +01:00
Dan
2b7425019b Merge IGE and CTR into a single class (AES) 2018-01-28 01:44:38 +01:00
Dan
0f35f0b8a6 Accommodate TgCrypto 2018-01-27 17:19:37 +01:00
Dan
3686f6921d Remove try..except block, now pyaes is made available during setup 2018-01-17 00:16:23 +01:00
Dan
d70c2bb564 Update copyright year 2018-01-01 13:24:07 +01:00
Dan
0231ce58d5 Remove some TODOs in code 2017-12-23 14:02:14 +01:00
Dan
92d1bcfb41 Add CDN DC-140 RSA key 2017-12-22 09:25:49 +01:00
Dan
b35fabd9d5 Add AES CTR operation mode 2017-12-19 13:59:15 +01:00
Dan
a9087a2a8c Add CDN DC-121 RSA Public Key 2017-12-19 11:36:34 +01:00
Dan
5e157c2598 Remove old MTProto v1.0 code 2017-12-18 15:16:21 +01:00
Dan
87b2c4b1e7 Comment out MTProto 1.0 implementation 2017-12-09 02:25:14 +01:00
Dan
e3b05cbc4e Add MTProto 2.0 key derivation function 2017-12-09 01:10:09 +01:00
Dan
a459f7a1a3 Workaround broken installation process 2017-12-06 18:27:41 +01:00
Dan
afcd19a120 Add crypto package 2017-12-05 12:39:04 +01:00