Hey! I feel your pain with the bot test canvas hash. It’s definitely one of those things that’s easier said than done. I managed to get it working after a lot of trial and error.
One thing that helped me was using the CanvasRenderingContext2D API to handle the rendering part. Also, make sure you’re hashing the canvas data correctly—I used SHA-256 for mine.
As for real-world use, it’s hit or miss. It works great for detecting basic bots, but more advanced ones can still bypass it. Still worth trying though!
Check out MDN’s docs on Canvas API if you haven’t already. Super helpful.
One thing that helped me was using the CanvasRenderingContext2D API to handle the rendering part. Also, make sure you’re hashing the canvas data correctly—I used SHA-256 for mine.
As for real-world use, it’s hit or miss. It works great for detecting basic bots, but more advanced ones can still bypass it. Still worth trying though!
Check out MDN’s docs on Canvas API if you haven’t already. Super helpful.
