{ "info": { "author": "Chris Stillson", "author_email": "stillson@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Security", "Topic :: Security :: Cryptography" ], "description": "RDRAND\n------\n\nA module to use Intel's hardware RNG with python's random class\n\nUSAGE\n=====\n\nfor full docs, see https://rdrand.rtfd.io\n\n| # easy_install rdrand\n| # python\n\n>>> from rdrand import RdRandom\n>>> r = RdRandom()\n\n>>>from rdrand import RdSeedom\n>>>s = RdSeedom()\n\nAt this point, ``r`` and ``s`` will behave just like ``random``\n\n``RdRandom`` is a subclass of ``random.Random``, and behaves like ``random.Random``, but it uses inline assembly to access the hardware RNG using the RdRand instruction. This should be a cryptographically secure drop in replacement for ``random`` with a prediction complexity bound of O(2^128), if the Intel random number generator is valid. No mitigation is done to modify the output of the hardware to prevent problems with Intel's implementation. Caveat Emptor.\n\n``RdSeedom`` is a subclass of ``random.Random``, and behaves like ``random.Random``, but it uses inline assembly to access the hardware RNG using the RdSeed instruction. This should be a cryptographically secure drop in replacement for ``random`` returning full entropy bits, if the Intel random number generator is valid. No mitigation is done to modify the output of the hardware to prevent problems with Intel's implementation. Caveat Emptor.\n\nAlso, both RdRandom and RdSeedom include the function ``r.getrandombytes(i)`` where ``i`` is a positive int. This returns a string of length ``i`` filled with random bytes, which is ideal for generating a key or using directly in a protocol.\n\nPlease note, as with any security solution, it is possible to subvert this. Please understand the full context before deploying. I am not liable for misuse or clever hackers.\n\nWorks with 32 and 64 bit builds of python.\n\nWorks with python2 and python3.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/stillson/rdrand", "keywords": "rdrand,rdseed,intel,hardware,random,number,generator,rng", "license": "New BSD license", "maintainer": "", "maintainer_email": "", "name": "rdrand", "package_url": "https://pypi.org/project/rdrand/", "platform": "", "project_url": "https://pypi.org/project/rdrand/", "project_urls": { "Homepage": "https://github.com/stillson/rdrand" }, "release_url": "https://pypi.org/project/rdrand/1.5.0/", "requires_dist": null, "requires_python": "", "summary": "Python interface to Intel hardware rng", "version": "1.5.0" }, "last_serial": 3404127, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c3c74ed461d4a68346905e825bf3af14", "sha256": "1c77f30647318a03d96bb04e11a98c9ff00acc57b82e97ec7e3c462acbfaada3" }, "downloads": -1, "filename": "rdrand-0.1.tar.gz", "has_sig": false, "md5_digest": "c3c74ed461d4a68346905e825bf3af14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3728, "upload_time": "2013-12-09T03:53:00", "url": "https://files.pythonhosted.org/packages/49/10/396ff3306030f2f17918461d9c09010ccf1ea78b9a5dfc16178ef3dff85e/rdrand-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "644b432d966eb5bb444d1cf8e970ad6a", "sha256": "afcf0840243db919e867d61f71fa02b824cb866139ee8eb2ff683be2cbb51dae" }, "downloads": -1, "filename": "rdrand-0.2.tar.gz", "has_sig": false, "md5_digest": "644b432d966eb5bb444d1cf8e970ad6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3761, "upload_time": "2013-12-09T05:07:42", "url": "https://files.pythonhosted.org/packages/74/ce/fc12c24dd2bef818e4889cda723e7dec43ab5245debb7580e62b8511e12c/rdrand-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "bf2e7a833989c8b7b8647ca8184f65d1", "sha256": "5a94610aca6cb86c0e9fc4740e08355c6b061b209ad82133b6215f37196bbec5" }, "downloads": -1, "filename": "rdrand-0.2.1.tar.gz", "has_sig": false, "md5_digest": "bf2e7a833989c8b7b8647ca8184f65d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3862, "upload_time": "2013-12-09T08:53:57", "url": "https://files.pythonhosted.org/packages/73/be/abde85fb4e77d35c89fe56cb2bad0c36610f8e8f24787542e56736dc2f5b/rdrand-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "292e3c75461879856eda9b8baf63320c", "sha256": "0d2aef9014b07b00d40ffee80568f40bd0142c7327446cc3fbe4f2dd08ecc55e" }, "downloads": -1, "filename": "rdrand-0.2.2.tar.gz", "has_sig": false, "md5_digest": "292e3c75461879856eda9b8baf63320c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3943, "upload_time": "2013-12-09T23:38:33", "url": "https://files.pythonhosted.org/packages/56/e2/3c0a1c65c3e459215ba32a455e604fafd9296df78b189032828317cf5ae5/rdrand-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "9a7115bb3ecf453a5f1ea0f943294986", "sha256": "478d1b67285bf751c278de7ff7c7edb933e6b88b5b865e06f4cf809147535030" }, "downloads": -1, "filename": "rdrand-0.2.3.tar.gz", "has_sig": false, "md5_digest": "9a7115bb3ecf453a5f1ea0f943294986", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4382, "upload_time": "2013-12-12T21:02:10", "url": "https://files.pythonhosted.org/packages/fc/dd/6c51cc5ad98c68752ead164874b8811d1b7d148a882f872952c4f22e4f26/rdrand-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "7ac046c5917ca5e38074dd0fc267ade3", "sha256": "4d092b00dbc2cb9d362fbc2c648c58cd227abd253d83e34d31882b13d9ec0bca" }, "downloads": -1, "filename": "rdrand-0.2.4.tar.gz", "has_sig": false, "md5_digest": "7ac046c5917ca5e38074dd0fc267ade3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4821, "upload_time": "2013-12-14T05:09:50", "url": "https://files.pythonhosted.org/packages/93/27/da729b9213fdd1dac74fed4ab2c4cae8691a03f9d71b4dae9337a2e71c1b/rdrand-0.2.4.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "ac9f1d987bcd91358c3a737f091d242a", "sha256": "ed7b13f0bb373623550727d63d23d80b2ab2bf885fbcbb410a88120af6af5ceb" }, "downloads": -1, "filename": "rdrand-0.5.0.tar.gz", "has_sig": false, "md5_digest": "ac9f1d987bcd91358c3a737f091d242a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4854, "upload_time": "2013-12-14T05:12:58", "url": "https://files.pythonhosted.org/packages/45/b1/33d2d0b114286a64957880f83607f6ab9db09011b6b966ac482929fab1a2/rdrand-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "c614580735e21c5ee7121e0e7e74b210", "sha256": "43a09911648d17a40280ce99f9c041a5ac9a9a78c223e331a9ded8319ac8a42e" }, "downloads": -1, "filename": "rdrand-0.5.1.tar.gz", "has_sig": false, "md5_digest": "c614580735e21c5ee7121e0e7e74b210", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4877, "upload_time": "2013-12-14T05:35:42", "url": "https://files.pythonhosted.org/packages/33/83/2c46dca434ebe589d781643cfc455e86c67b26355ac86ab73ef6326fdbaa/rdrand-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "e949e5e39e0803eebe30aba295524d03", "sha256": "40fa54bf120518ae051059d315713bcb0e2cd339be5006ae66970029534401d4" }, "downloads": -1, "filename": "rdrand-0.5.2.tar.gz", "has_sig": false, "md5_digest": "e949e5e39e0803eebe30aba295524d03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4869, "upload_time": "2013-12-14T05:37:03", "url": "https://files.pythonhosted.org/packages/38/dd/8c13be60fd66852e8a3ae35f5d4b197a64ceed90d70b8f4b711248719249/rdrand-0.5.2.tar.gz" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "2d6741fdc03485fd61c8a5f8bf892241", "sha256": "089b86f15aff932ae5843896f44e6ba8e6d4c2bc8f032e82820e99c508780130" }, "downloads": -1, "filename": "rdrand-0.5.3.tar.gz", "has_sig": false, "md5_digest": "2d6741fdc03485fd61c8a5f8bf892241", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4911, "upload_time": "2013-12-14T05:40:24", "url": "https://files.pythonhosted.org/packages/32/3e/580fecc6e101893de35b4ae4e13acb3162e689b49a2757583c4ce9dd4e51/rdrand-0.5.3.tar.gz" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "facf0179bfc8a049ffe72ac6fcca822d", "sha256": "2f8cf5b4a55ac571bbf4fb282abea90fe6180715446d22d7abd8411d33d0b47e" }, "downloads": -1, "filename": "rdrand-0.9.0.tar.gz", "has_sig": false, "md5_digest": "facf0179bfc8a049ffe72ac6fcca822d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4915, "upload_time": "2013-12-14T05:43:17", "url": "https://files.pythonhosted.org/packages/ad/d9/5e3958913882720cfa9f83754ca8571100033cfc96a9df4def69fa0e7458/rdrand-0.9.0.tar.gz" } ], "0.9.9": [ { "comment_text": "", "digests": { "md5": "f48baffb437d1befe5db10c0eaae295d", "sha256": "eb6d8bba698e8ed350a717d2baab097a029c8d54bf82f715307e6e87b0d517c7" }, "downloads": -1, "filename": "rdrand-0.9.9.tar.gz", "has_sig": false, "md5_digest": "f48baffb437d1befe5db10c0eaae295d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5068, "upload_time": "2013-12-14T20:44:05", "url": "https://files.pythonhosted.org/packages/a2/ed/315c4c4ca23cdbc29de33727b32b44444293142720ecb066d7e8a01d873f/rdrand-0.9.9.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "8220961bc5a0e132308a3ebdabdca8e4", "sha256": "5a81f33fd4bda6cde5afef1b51f55dedf3e0c8726fd40a596a4a4b7ef3bd4427" }, "downloads": -1, "filename": "rdrand-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8220961bc5a0e132308a3ebdabdca8e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5240, "upload_time": "2013-12-15T02:35:04", "url": "https://files.pythonhosted.org/packages/64/6a/a70823cf750a753f4e52197289e63e6050fc3e78d113de98c2842530dec8/rdrand-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "28c0a40c56df3474382d616d2f64be53", "sha256": "bb6ed7aa4d2198833709f9106c5586f5abe78a4036966f01f07d462eb9e900ee" }, "downloads": -1, "filename": "rdrand-1.0.1.tar.gz", "has_sig": false, "md5_digest": "28c0a40c56df3474382d616d2f64be53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5349, "upload_time": "2013-12-15T18:00:16", "url": "https://files.pythonhosted.org/packages/0b/57/c0935b0b66f8c5a9fa738ce98c7f6b014df4b2916593b1ad17448fd28a51/rdrand-1.0.1.tar.gz" } ], "1.4.9": [ { "comment_text": "", "digests": { "md5": "45fce9f6bf1f1288b5dfe984dd335bbe", "sha256": "73bc61247ad7785abf524e7413169624a3e8da0b4aa2baa4f34fb02e6cbd3674" }, "downloads": -1, "filename": "rdrand-1.4.9.tar.gz", "has_sig": false, "md5_digest": "45fce9f6bf1f1288b5dfe984dd335bbe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5827, "upload_time": "2017-11-25T02:56:38", "url": "https://files.pythonhosted.org/packages/10/47/0c170c417a4668ad3e1e4b83544190312e23e703fd9963e53add71e18675/rdrand-1.4.9.tar.gz" } ], "1.5.0": [ { "comment_text": "", "digests": { "md5": "bfdfb2f3778cdf9d10e54f47c7ced5c8", "sha256": "d9917d0a365af31817914beadd7b8db200ca49a565e5f33fa90801fbc4d965ae" }, "downloads": -1, "filename": "rdrand-1.5.0.tar.gz", "has_sig": false, "md5_digest": "bfdfb2f3778cdf9d10e54f47c7ced5c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6230, "upload_time": "2017-12-09T21:10:24", "url": "https://files.pythonhosted.org/packages/58/b8/a6060f0973f9927c68ff937812ed25a12911a493180703e4cb43f8ffc624/rdrand-1.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bfdfb2f3778cdf9d10e54f47c7ced5c8", "sha256": "d9917d0a365af31817914beadd7b8db200ca49a565e5f33fa90801fbc4d965ae" }, "downloads": -1, "filename": "rdrand-1.5.0.tar.gz", "has_sig": false, "md5_digest": "bfdfb2f3778cdf9d10e54f47c7ced5c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6230, "upload_time": "2017-12-09T21:10:24", "url": "https://files.pythonhosted.org/packages/58/b8/a6060f0973f9927c68ff937812ed25a12911a493180703e4cb43f8ffc624/rdrand-1.5.0.tar.gz" } ] }