https://github.com/mberry/mixrng
XOR's entropy from an inbuilt and hardware CSRNG
https://github.com/mberry/mixrng
Last synced: about 1 year ago
JSON representation
XOR's entropy from an inbuilt and hardware CSRNG
- Host: GitHub
- URL: https://github.com/mberry/mixrng
- Owner: mberry
- License: apache-2.0
- Created: 2016-12-30T16:39:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-03-26T03:49:43.000Z (about 7 years ago)
- Last Synced: 2025-01-30T18:49:01.597Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MixRNG
XOR bits from inbuilt and hardware CSRNG. This process ensures that the quality of entropy gathered is a strong as the strongest source.
Hardcoded settings for OneRNG, if using different hardware check serial settings first.
http://onerng.info
---
## Usage
```python
from MixRNG import mixrng, extrng
random_xor_bytes = mixrng(32)
random_mixrng_bytes_only = extrng(32)
```