Elite-Multiprocessing-1.0.1
توضیحات
Elite-Multiprocessing is a package that supports spawning processes using an API similar to the threading module. The multiprocessing package offers both local and remote concurrency, effectively side-stepping the Global Interpreter Lock by using subprocesses instead of threads.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | Elite-Multiprocessing-1.0.1 |
| نام | Elite-Multiprocessing |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Muhammad Imran Liaqat Ali |
| ایمیل نویسنده | CEO@xprojecthub.com.com |
| آدرس صفحه اصلی | https://github.com/imran9217 |
| آدرس اینترنتی | https://pypi.org/project/Elite-Multiprocessing/ |
| مجوز | - |
# Elite v1.1.1
```
```py
import elite
# server side
s = elite.getscheme()
# client side
c = elite.getscheme()
```
After instantiating a scheme, you can export your local public key or import remote key by calling the following methods:
```py
# binary version
c.importBinaryKey(s.exportBinaryKey())
# hex version
s.importHexKey(c.exportHexKey())
# should be the same
print(s.secret())
print(c.secret())
data = s.encrypt(b'data')
assert b'data' == c.decrypt(data)
from elite.scheme import P384r1AesGcmScheme
# secp384r1 with AES_GCM
s = P384r1AesGcmScheme()
c = P384r1AesGcmScheme()
from elite.scheme import ECCScheme
from elite.cipher import getprovider
from elite.secret import CurveKind
s = ECCScheme(CurveKind.CK_SECP256K1, getprovider())
نیازمندی
| مقدار | نام |
|---|---|
| - | ecdsa |
| - | PyCryptodome |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3 | Python |
نحوه نصب
نصب پکیج whl Elite-Multiprocessing-1.0.1:
pip install Elite-Multiprocessing-1.0.1.whl
نصب پکیج tar.gz Elite-Multiprocessing-1.0.1:
pip install Elite-Multiprocessing-1.0.1.tar.gz