atob() obfuscation
This p5.js script is designed to find and decode base64-encoded strings that are nested within one another. The script has several functions that work together to achieve this goal:
isBase64(str)
: This function checks if a given string str is a valid base64-encoded string. It uses a regular expression to test the string and the atob()
function to try decoding the string. If the decoding is successful, the function returns true; otherwise, it returns false.
Published: February 15, 2023
| Last Modified: May 13, 2025