locationcrypto

Encryption and Decryption of data using live location of device.

View the Project on GitHub harshildarji/locationcrypto

Location-based Cryptography

Package published at: PyPI

Downloads


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.