Metadata-Version: 2.1
Name: locationcrypto
Version: 1.0.8
Summary: Location based Cryptography uses location of the device in addition to the pass-phrase as key.
Home-page: https://github.com/harshildarji/locationcrypto
Author: Harshil Darji
Author-email: darjiharshil2994@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: geocoder

# 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:
```python
encryption = crypt.encrypt(plain_text='Harshil', key='test')
print(f'Encryption: {encryption}')
```
To decrypt:
```python
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.


