semvec/pypi-packages huggingface dataset:
locationcrypto 1.0.9
Location based Cryptography uses location of the device in addition to the pass-phrase as key.
Requires Python: >=3.6

# Location-based Cryptography
#### Package published at: [PyPI](https://pypi.org/project/locationcrypto/)
[![Downloads](https://static.pepy.tech/personalized-badge/locationcrypto?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Downloads)](https://pepy.tech/project/locationcrypto)

---

Location based cryptography uses location of the device in addition to pass-phrase as encryption/decryption key.

#### Install:
```bash
pip install locationcrypto
```

#### Use:
Create a python script, for example **`example.py`**:
```python
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:
```bash
❯❯❯ python3 example.py
Encryption: Jevujhk
Decryption: Harshil
```

---
#### Author: [Harshil Darji](https://github.com/harshildarji)

Thanks to [Atharv Attri](https://github.com/Atharv-Attri) for helping me publish this repository as a package.