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 Provenance Actions
RandomX-1.1.10.post3.tar.gz 271.9 kB Without provenance Details for RandomX-1.1.10.post3.tar.gz

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+

Security for RandomX 1.1.10.post3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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