Vendor RandomX source, add bridge_randomx_hash() with static VM lifecycle. Key: LetheanRandomXv1. Input: header_hash || nonce. Co-Authored-By: Charon <charon@lethean.io>
7 lines
No EOL
78 B
PHP
Executable file
7 lines
No EOL
78 B
PHP
Executable file
mov edx, 1
|
|
mov r8, rcx
|
|
xor eax, eax
|
|
bsr rcx, rcx
|
|
shl rdx, cl
|
|
div r8
|
|
ret |