Skip to main content

Deterministic RSA Key Pair generator.

Project description

Deterministic RSA Key Pair generator

Installation

pip install drkp

Usage

>>> import drkp
>>> key = drkp.Key(seed='xyzzy')
>>> key.private
b'-----BEGIN RSA PRIVATE KEY-----\nMIIEqwIBAAKCAQEAsnR7u0gCuJlcuHZxR8iDrFhPEb22jkSYlXQtv8V2PD6+7jwo\nCpsx0krcy5qmIFgqHoRTs3BCGxB3Q/pobp8KZQ4LwXDrqS630EAMTs25DOOaADga\nLceBWzTL66AwsHdNVKeGmtCNTYpnxSp3upL/uYxEzmlfmaQKLJY5Px2Z2/gNfd45\nRThIIPRAQBDyIYdzBGj7X+s1AQlBd8cUID+nEUmPPEzxr0Hdlffs5N4alqTtfsCk\n0Qp5ymOfqpgua3OOfQjcADXXB1GzWN5YMQtuIbITiCxGKvMdoQzPGrLvGpOapA7K\nKwPXKdJbW7kyhSD9zgn+en3RCl1LfCT5aihAtwIDAQABAoIBAQCrJNNVNSaG623k\n6pKRiVfefYK3PP5LSrYa/ySw+ir+dB6gU8kDAvuw9mLyUQppkqQySC4NtOdxFUWM\nSCbHkHdjmyjjB+y6gDeA3Svwl5OVLOKQuz1AEkmYsvWusB6B3qinO1L4PnKFnusO\nSEAzCq99v2xtmNk6e/soTmVKmIFOAAXebqYGpchf3e7xzRKAa7Bxfhd0u59JyO24\nvO+0N77VtTjO3dEBF3mI5aSPi+5R23u8C27aCiEIHIXUE9DT3v5HFeewv3tiCOzP\nAQXDxFlPJe77AAq0x4PEe97KKcAt+HGDmQcEtktXNf96huFeN/t9LizlLRqbmGDv\nhS1qtk/BAoGJALULV4/3ekImA36ZXu7KUCZ1qSBWCetgAjcmkFpX6eYckHQBmwiR\nQQGjow3dxNa9wpS5gLhx89Va8ZN5Qk3kzD2do8rPOMDIwOUHWE5fZAm3MBBFOW+D\n7Yj7k188Ik4MJb8ulv6egyFFmfPdVEvg4/BRbRryhimH+2KcaAabEZ/X1/440TUN\naL8CeQD8VrSbyaQmff5i8yXzqXKkILlOF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3OCf56fdEKXUt8JPlqKEC3'

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

drkp-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

drkp-0.1.0-py2.py3-none-any.whl (4.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file drkp-0.1.0.tar.gz.

File metadata

  • Download URL: drkp-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for drkp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2bb7656afecb501886ee4a764c1822df4e85073a886a9f764d02d6617dc4b230
MD5 165e18536c0a9414343c2e8fa1070422
BLAKE2b-256 b3e162adeabf84f286e2cde2559b91369d28cea5b14458ac6894654e0e294d91

See more details on using hashes here.

File details

Details for the file drkp-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: drkp-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for drkp-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 146c4962e2e014ad4b97332e8965bd1a3ec9b8d3891f948ce3079b0d5526df36
MD5 6554ededc9de063e3dd33b23bacaac22
BLAKE2b-256 930c40617c5e9272868116a1ccb75ce7c3a10c32ed58cc1d746a1a5a420419bb

See more details on using hashes here.

Supported by

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