Location-based Cryptography
Package published at: PyPI
Location based cryptography uses location of the device in addition to pass-phrase as encryption/decryption key.
Install:
pip install locationcrypto
Use:
Create a python script, for example example.py:
from locationcrypto import crypt
# To encrypt:
encryption = crypt.encrypt(plain_text='Harshil', key='test')
print(f'Encryption: {encryption}')
# To decrypt:
decryption = crypt.decrypt(encrypted_text=encryption, key='test')
print(f'Decryption: {decryption}')
Save and run:
❯❯❯ python3 example.py
Encryption: Jevujhk
Decryption: Harshil
Author: Harshil Darji
Thanks to Atharv Attri for helping me publish this repository as a package.
Metadata
Release files for locationcrypto 1.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| locationcrypto-1.0.9.tar.gz | 2.5 kB | Without provenance | Details for locationcrypto-1.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| locationcrypto-1.0.9-py3-none-any.whl | Python 3 | none | any | Details for locationcrypto-1.0.9-py3-none-any.whl |
Total release size: 5.9 kB
Release files / locationcrypto-1.0.9.tar.gz
| Download URL | locationcrypto-1.0.9.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9db1c0ba4fc9fc4a0c75ed932bce089c89c7495da6a05fee1a6fdd011b7d16b1
|
|
BLAKE2b-256 checksum How to use checksums |
ce61be5dd631d93ffee719571f632c227deadbcfcb59309d3b376d245ccdab1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.5
|
Release files / locationcrypto-1.0.9-py3-none-any.whl
| Download URL | locationcrypto-1.0.9-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e87deddf6bc59257fe28b7576745de50aba0506ef02ea5db9f4dbd4002a94e75
|
|
BLAKE2b-256 checksum How to use checksums |
c9e7ef3ce001b019afa5f018bede657611ef34aa29c4331e80d89002ab7a9832
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.5
|
Security for locationcrypto 1.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.