dart_randomx library
Dart wrapper for RandomX proof-of-work (PoW) algorithm.
Classes
- RandomX
-
Dart
RandomX
library wrapper.
Functions
-
createBytesPointer(
int length) → Pointer< Uint8>
Typedefs
- FFIFunctionRandomxDestroy = Void Function(Int32 id)
- FFIFunctionRandomxGetID = Int32 Function()
-
FFIFunctionRandomxHash
= Void Function(Int32 id, Pointer<
Uint8> bytes, Int32 length, Pointer<Uint8> out) -
FFIFunctionRandomxHashFirst
= Void Function(Int32 id, Pointer<
Uint8> bytes, Int32 length) -
FFIFunctionRandomxHashLast
= Void Function(Int32 id, Pointer<
Uint8> prevOut) -
FFIFunctionRandomxHashNext
= Void Function(Int32 id, Pointer<
Uint8> bytes, Int32 length, Pointer<Uint8> prevOut) -
FFIFunctionRandomxInit
= Void Function(Int32 id, Pointer<
Uint8> key, Int32 length, Uint8 fullMem) - FFIFunctionRandomxReleaseID = Void Function(Int32 id)
- FFIFunctionRandomxSizeOfHash = Int32 Function()
- FunctionRandomxDestroy = void Function(int id)
- FunctionRandomxGetID = int Function()
-
FunctionRandomxHash
= void Function(int id, Pointer<
Uint8> bytes, int length, Pointer<Uint8> out) -
FunctionRandomxHashFirst
= void Function(int id, Pointer<
Uint8> bytes, int length) -
FunctionRandomxHashLast
= void Function(int id, Pointer<
Uint8> prevOut) -
FunctionRandomxHashNext
= void Function(int id, Pointer<
Uint8> bytes, int length, Pointer<Uint8> prevOut) -
FunctionRandomxInit
= void Function(int id, Pointer<
Uint8> key, int length, int fullMem) - FunctionRandomxReleaseID = void Function(int id)
- FunctionRandomxSizeOfHash = int Function()