this repo has no description
1#!/usr/bin/env bash 2 3IMG_URL="https://catoftheday.com/archive/2024/November/17.jpg" 4SECRET="f3e27203049b6cb685670c9d8393783e57a0db33f90494c0ccb303721e36137e" 5 6HEX_URL=$(echo -n "$IMG_URL" | xxd -p | tr -d '\n') 7SIG=$(echo -n "$IMG_URL" | openssl dgst -sha256 -hmac "$SECRET" -binary | xxd -p | tr -d '\n') 8 9 10echo "Signed URL:" 11echo "https://camo.anirudh-s-account.workers.dev/$SIG/$HEX_URL"