Skip to main content

Geocrypt

Installation

To install, use:

pip install geocrypt

Geocrypt requires sympy.

Use

Geocrypt can only encode hexadecimal (with capital letters). To generate a key, use:

k = geocrypt.Key()
k.generate()

To encode a string:

text = "Hello world!"
ctext = geocrypt.encode(text, k)

To decode a string:

dtext = geocrypt.decode(ctext, k)

Complete example:

import geocrypt
k = geocrypt.Key()
k.generate()
text = "Hello world!"
ctext = geocrypt.encode(text, k)
dtext = geocrypt.decode(ctext, k)

Source

Geocrypt’s code is available here.

Metadata

Release files for geocrypt 0.1.1

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

Built distribution (wheel)

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

Release files / geocrypt-0.1.1-py3-none-any.whl

Download URL geocrypt-0.1.1-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
62fa0655a73334707f8ab665cf515377c7c8b2d1d2a7d6815fb4f788c9dd04b2
BLAKE2b-256 checksum
How to use checksums
7a37983d0f20a990b94826d8dd434ed3f772911f47ca412f5df29cf2044d30ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Security for geocrypt 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

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