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
encryption = crypt.encrypt(plain_text='Harshil', key='test')
print(f'Encryption: {encryption}')
decryption = crypt.decrypt(encrypted_text=encryption, key='test')
print(f'Decryption: {decryption}')
Save and run:
❯❯❯ python3 example.py
Encryption: Jevujhk
Decryption: Harshil
Thanks to Atharv Attri for helping me publish this repository as a package.