Metadata-Version: 2.1
Name: RandomX
Version: 1.1.10.post3
Summary: RandomX Proof-of-Work Hasher
Home-page: https://github.com/xloem/RandomX-Python
License: UNKNOWN
Keywords: randomx,crypto,cryptocurrency,blockchain,pow
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# RandomX
This is a python interface for https://github.com/tevador/randomx , a proof-of-work algorithm
optimized for general-purpose CPUs, based on random code execution.

## Installation

`pip3 install randomx`

## Quick-Start

```
import randomx
vm = randomx.RandomX(b'key bytes', full_mem=False, secure=True, large_pages=False)
# full_mem: whether to operate in full mode or light mode
# secure: whether to bound executable sections
# large_pages: whether to place memory in large pages
hash = vm(b'message data')
hashes = [*vm.calculate_hashes([b'message 1', b'message 2', b'message 3'])]
```


