Skip to main content

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'])]

Metadata

Release files for RandomX 1.1.10.post3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for RandomX 1.1.10.post3
File Size Uploaded
RandomX-1.1.10.post3.tar.gz 271.9 kB Details

Release files / RandomX-1.1.10.post3.tar.gz

Download URL RandomX-1.1.10.post3.tar.gz
Size 271.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cf135c3e63ca15d1a1f32c98e2e1de4dffa4385a66cf82dac591fadc6fba3a0a
BLAKE2b-256 checksum
How to use checksums
a8c62318a5eead951b31cd97987a5ccd0c1634cea91110be5e79f445e3a28adf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4+

Release history Release notifications | RSS feed

This release

1.1.10.post3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page