Metadata-Version: 2.1
Name: Elite-Multiprocessing
Version: 1.0.1
Summary: 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.
Home-page: https://github.com/imran9217
Author: Muhammad Imran Liaqat Ali
Author-email: CEO@xprojecthub.com.com
Requires-Python: >=3
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: ecdsa
Requires-Dist: PyCryptodome

# 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())

