Location based Cryptography uses location of the device in addition to the pass-phrase as key.
Project description
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.
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
locationcrypto-1.0.8.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for locationcrypto-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f3e3b37088465f8d4d63c0023c91aaf6994982c344a28d94c64b8a22d5294f0 |
|
MD5 | 061526109d3f10fbd2e9ad5bf4215ad3 |
|
BLAKE2b-256 | 090b3d81bb482e228eeb970cfc30700e6a4cfeacbf4d3797093aa8c3e4e61655 |