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.9.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for locationcrypto-1.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e87deddf6bc59257fe28b7576745de50aba0506ef02ea5db9f4dbd4002a94e75 |
|
MD5 | bf8dbd26fa69107787b5158ef8836d4d |
|
BLAKE2b-256 | c9e7ef3ce001b019afa5f018bede657611ef34aa29c4331e80d89002ab7a9832 |