Commit Graph

41 Commits

Author SHA1 Message Date
Dan
aabb77de64
Merge pull request #8 from YoilyL/tests
Released the GIL
2019-06-14 13:18:53 +02:00
YoilyL
2290f41de9
Released the GIL
# New Document
released the GIL to make use of multiple cores when using multithreading.

as per [the docs](https://docs.python.org/3/c-api/init.html#releasing-the-gil-from-extension-code):
>Calling system I/O functions is the most common use case for releasing the GIL, but it can also be useful before calling long-running computations which don’t need access to Python objects, such as compression or **cryptographic functions operating over memory buffers**. For example, the standard zlib and hashlib modules release the GIL when compressing or hashing data.
2019-06-13 19:53:56 +03:00
Dan
690cda002b Fix list count 2019-06-13 16:57:15 +02:00
Dan
780f78c840 Add test suite to setup.py 2019-06-13 16:40:23 +02:00
Dan
f07c2ea4ab Don't use pathlib 2019-06-13 16:39:56 +02:00
Dan
bd20ae640b Add input validation tests as well as tests based on random valid inputs 2019-06-13 16:23:52 +02:00
Dan
6816f2e2ae Implement input validation checks
Closes #6
2019-06-13 15:15:31 +02:00
Dan
4491d7a65a Add Python 3.7 classifier
Closes #5
2019-06-13 00:58:18 +02:00
Dan
13df647669 Merge branch 'tests' of https://github.com/pyrogram/tgcrypto into tests 2019-06-13 00:57:37 +02:00
Dan
3beda99556
Update README.md 2019-06-13 00:52:31 +02:00
Dan
4e27767426 Update PyMethodDef docs 2019-06-13 00:44:32 +02:00
Dan
9e33d805ae Add tests for AES-CBC 256 bit 2019-06-13 00:34:00 +02:00
Dan
b4d58f4a5c Move tests for AES-CTR 256 bit into a dedicated folder 2019-06-13 00:33:31 +02:00
Dan
8a7d067062 Implement AES-CBC 256 bit 2019-06-13 00:31:25 +02:00
Dan
1a40d7df85 Reformat code 2019-06-13 00:27:11 +02:00
Dan
fd22948666 Add tests 2019-06-12 16:06:13 +02:00
Dan
807952bf5c Update email address, docs and community urls 2019-06-12 09:36:35 +02:00
Dan
3a737e00d3 Update NOTICE 2019-06-12 09:31:04 +02:00
Dan
fa10b28948 Update setup.py to use README.md instead of .rst 2019-06-12 09:29:52 +02:00
Dan
5c2c7f3b9c
Update README.md 2019-05-25 02:17:42 +02:00
Dan
5767b6a520
Update and rename README.rst to README.md 2019-05-13 15:48:15 +02:00
Dan
95ff73cb05 Update to v1.1.1 2018-09-20 11:44:56 +02:00
Dan
4209f627c5 Update to v1.0.4 2018-03-26 02:13:02 +02:00
Dan
690b77e40b Fix indentation, use spaces instead of tabs 2018-03-26 02:10:31 +02:00
Dan
8471a40b63 Go down to C89 2018-03-21 18:39:56 +01:00
Dan
bf7dc4b50b Fix compilation errors on Windows 2018-03-21 18:01:39 +01:00
Dan
5ba35e1edd Merge remote-tracking branch 'origin/master' 2018-03-13 14:28:13 +01:00
Dan
6077ae9be0 Update to v1.0.3 2018-03-12 16:33:00 +01:00
Dan
fc1d5d1a73 Update package info 2018-03-12 16:30:30 +01:00
Dan
1a0a5e9b01
Use pip3 command instead of pip 2018-03-12 00:30:23 +01:00
Dan
d6fbe3c8f7 Update to v1.0.2 2018-02-19 15:44:43 +01:00
Dan
70736ec388 Set development status to Stable and add Python language classifiers 2018-02-19 15:44:19 +01:00
Dan
be8f6e278e Update README.rst 2018-02-19 15:37:57 +01:00
Dan
4774a63e40 Update to v1.0.1 2018-02-19 14:49:00 +01:00
Dan
54e94b8fb3 Fix PyPI's README 2018-02-19 14:48:40 +01:00
Dan
08a2c26236 Update README.md 2018-02-19 14:48:05 +01:00
Dan
30d5c739d9 Update to v1.0.0 2018-02-17 15:19:46 +01:00
Dan
8146e30d69 Merge branch 'master' of https://github.com/pyrogram/tgcrypto 2018-02-17 15:19:22 +01:00
Dan
21fc33bed8
Update README.rst 2018-02-17 15:19:02 +01:00
Dan
8b1dfb2f2e Update setup.py 2018-02-17 15:17:21 +01:00
Dan
eee60638bd Initial commit 2018-01-27 17:15:32 +01:00