Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

locationcrypto

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

locationcrypto

Location based Cryptography uses location of the device in addition to the pass-phrase as key.

  • 1.0.9
  • PyPI
  • Socket score

Maintainers
1

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc