geocrypt


Namegeocrypt JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/lolo859/geocrypt
SummarySecurely encode and decode hexadecimal with geometric figure.
upload_time2024-11-11 21:01:43
maintainerNone
docs_urlNone
authorlolo859
requires_pythonNone
licenseNone
keywords geocrypt geo crypt
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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 <https://github.com/lolo859/geocrypt>`_.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/lolo859/geocrypt",
    "name": "geocrypt",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "geocrypt geo crypt",
    "author": "lolo859",
    "author_email": null,
    "download_url": null,
    "platform": null,
    "description": "Geocrypt\n========\n\nInstallation\n------------\nTo install, use::\n\n    pip install geocrypt\n\nGeocrypt requires `sympy`.\n\nUse\n---\nGeocrypt can only encode hexadecimal (with capital letters).\nTo generate a key, use::\n\n    k = geocrypt.Key()\n    k.generate()\n\nTo encode a string::\n\n    text = \"Hello world!\"\n    ctext = geocrypt.encode(text, k)\n\nTo decode a string::\n\n    dtext = geocrypt.decode(ctext, k)\n\nComplete example::\n\n    import geocrypt\n    k = geocrypt.Key()\n    k.generate()\n    text = \"Hello world!\"\n    ctext = geocrypt.encode(text, k)\n    dtext = geocrypt.decode(ctext, k)\n\nSource\n------\nGeocrypt's code is available `here <https://github.com/lolo859/geocrypt>`_.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Securely encode and decode hexadecimal with geometric figure.",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/lolo859/geocrypt"
    },
    "split_keywords": [
        "geocrypt",
        "geo",
        "crypt"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7a37983d0f20a990b94826d8dd434ed3f772911f47ca412f5df29cf2044d30ae",
                "md5": "9f60d3c5083f9e2bd8a04322e25e1274",
                "sha256": "62fa0655a73334707f8ab665cf515377c7c8b2d1d2a7d6815fb4f788c9dd04b2"
            },
            "downloads": -1,
            "filename": "geocrypt-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9f60d3c5083f9e2bd8a04322e25e1274",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2554,
            "upload_time": "2024-11-11T21:01:43",
            "upload_time_iso_8601": "2024-11-11T21:01:43.404605Z",
            "url": "https://files.pythonhosted.org/packages/7a/37/983d0f20a990b94826d8dd434ed3f772911f47ca412f5df29cf2044d30ae/geocrypt-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-11 21:01:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lolo859",
    "github_project": "geocrypt",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "geocrypt"
}
        
Elapsed time: 0.40644s