Crate packx Copy item path Source Solution SOLUTION_SIZE deserialize Deserializes a byte array into a Solution
struct. find_nonce Finds a nonce for a single chunk that produces a hash matching the target. serialize Serializes a Solution
struct into a byte array of length SOLUTION_SIZE. solve Constructs a solution by finding nonces for all chunks, meeting the difficulty.
If difficulty is 0, store data directly in nonces with bump and seeds set to zero. solve_with_seed Constructs a solution for a group of chunks using a given seed and bump. unpack Reconstructs the data from the solution and public key.
If bump is zero, return nonces directly (for difficulty == 0). verify Verifies a solution against the provided public key, data, and difficulty.