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.
Project description
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:
# 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())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for Elite-Multiprocessing-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26da1793102adb6e5fded468cc2d1744072961926f297c5839a59ce820df8394 |
|
MD5 | 2a33b1511af43ddeee1f25dd2cf79a0a |
|
BLAKE2b-256 | 8718c68fb4a91312ea2ba3c7c878e9d400e93c71870506172fd170dee31fd63d |
Close
Hashes for Elite_Multiprocessing-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3a93fe2bed856761737ff4d180bbfe2e8ba4324fe40c1b68b4097ff65b1221f |
|
MD5 | 20fa4c46d65d25b03cd110e65ef225d1 |
|
BLAKE2b-256 | a4b43c44c62e722081b0727450d404cae87409d0488ae6d9cce8f613d6b0d416 |