#swad's new #pow (proof of work) credential checker is working!
It does almost exactly the same as #anubis, with two little differences:
* the nonce string is calculated from a number by some custom base64-like encoding, which is a little bit more work than what anubis does.
* still it's only a fraction of the #javascript code because it skips e.g. all the "progress reporting" (don't really see the point here, it's probabilistic anyways, so just show a spinner) and similar things.
What's exactly the same is spreading the work across one worker per core, and the goal to find a nonce that makes the challenge sha256-hash to something with n (default: 5) leading zeros.
Before crafting a new release of #swad, I'll think about ways how to customize the login form template (so you can e.g. just add a button for "login as guest", or tell the user what to enter for that).
BTW, the binary size is currently around 175 kiB 