Oops, I said HEX there, and meant hash. You can use an online tool like this: http://www.miraclesalad.com/webtools/md5.php – Type in your password and it’ll hash it for you.
For example, hello is 5d41402abc4b2a76b9719d911017c592
You would then put 5d41402abc4b2a76b9719d911017c592 in as the opsiApiPasswordHex.
I’m going to change the script to say “Hash” instead of “Hex” for clarity in the future.