Skip to main content

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

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.

Project details


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

locationcrypto-1.0.9-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file locationcrypto-1.0.9.tar.gz.

File metadata

  • Download URL: locationcrypto-1.0.9.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for locationcrypto-1.0.9.tar.gz
Algorithm Hash digest
SHA256 9db1c0ba4fc9fc4a0c75ed932bce089c89c7495da6a05fee1a6fdd011b7d16b1
MD5 65f51f34cf37a29f9bddd97da46026b3
BLAKE2b-256 ce61be5dd631d93ffee719571f632c227deadbcfcb59309d3b376d245ccdab1c

See more details on using hashes here.

File details

Details for the file locationcrypto-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: locationcrypto-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for locationcrypto-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 e87deddf6bc59257fe28b7576745de50aba0506ef02ea5db9f4dbd4002a94e75
MD5 bf8dbd26fa69107787b5158ef8836d4d
BLAKE2b-256 c9e7ef3ce001b019afa5f018bede657611ef34aa29c4331e80d89002ab7a9832

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page