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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
locationcrypto-1.0.9.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file locationcrypto-1.0.9.tar.gz.
File metadata
- Download URL: locationcrypto-1.0.9.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9db1c0ba4fc9fc4a0c75ed932bce089c89c7495da6a05fee1a6fdd011b7d16b1
|
|
| MD5 |
65f51f34cf37a29f9bddd97da46026b3
|
|
| BLAKE2b-256 |
ce61be5dd631d93ffee719571f632c227deadbcfcb59309d3b376d245ccdab1c
|
File details
Details for the file locationcrypto-1.0.9-py3-none-any.whl.
File metadata
- Download URL: locationcrypto-1.0.9-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e87deddf6bc59257fe28b7576745de50aba0506ef02ea5db9f4dbd4002a94e75
|
|
| MD5 |
bf8dbd26fa69107787b5158ef8836d4d
|
|
| BLAKE2b-256 |
c9e7ef3ce001b019afa5f018bede657611ef34aa29c4331e80d89002ab7a9832
|