Skip to main content

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.

Metadata

Release files for locationcrypto 1.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for locationcrypto 1.0.9
File Size Uploaded
locationcrypto-1.0.9.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for locationcrypto 1.0.9
File Interpreter ABI Platform
locationcrypto-1.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / locationcrypto-1.0.9.tar.gz

Download URL locationcrypto-1.0.9.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9db1c0ba4fc9fc4a0c75ed932bce089c89c7495da6a05fee1a6fdd011b7d16b1
BLAKE2b-256 checksum
How to use checksums
ce61be5dd631d93ffee719571f632c227deadbcfcb59309d3b376d245ccdab1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.5

Release files / locationcrypto-1.0.9-py3-none-any.whl

Download URL locationcrypto-1.0.9-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e87deddf6bc59257fe28b7576745de50aba0506ef02ea5db9f4dbd4002a94e75
BLAKE2b-256 checksum
How to use checksums
c9e7ef3ce001b019afa5f018bede657611ef34aa29c4331e80d89002ab7a9832
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

1.0.9 This release

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page