Creating a Muti-Algorithm simple Proof-Of-Work library in Rust

1 · Zola Gonano · May 9, 2024, midnight
Summary
I had an idea for a project that required Proof of Work as a part of it, but I couldn’t find any Rust libraries that would have Argon2id or Scrypt algorithms and were meant to provide proof of work functionality without being tied to a specific blockchain. So, I decided to develop my own. When I was doing so, I wanted to show how Rust’s data types can make such things easy and clean. Okay, but what is PoW? Proof of Work is like solving a puzzle – an expensive task for a computer. It’s proof that...