Skip to content

Instantly share code, notes, and snippets.

@richard-scott
Created January 24, 2026 13:15
Show Gist options
  • Select an option

  • Save richard-scott/008d7d8750da2a6df0b9f4e3b7ad8c44 to your computer and use it in GitHub Desktop.

Select an option

Save richard-scott/008d7d8750da2a6df0b9f4e3b7ad8c44 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "STRIPE_SECRET_KEY in hex:"
echo -n "$STRIPE_SECRET_KEY" | xxd -p | tr -d '\n'
echo ""
echo ""
echo "To decode: echo '<hex_above>' | xxd -r -p"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment