You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
You don't need a python script to do the base64 encoding:
Here is how you do it with one line of code in bash:
BASE64URL_FORMAT=$(echo "${BYTE_ARRAY:2:-2}" | tr ',' '\n' | xargs printf "%02X" | xxd -r -ps | base64 | tr -d '=' | tr +/ -_)
Update that superior stack :)
The text was updated successfully, but these errors were encountered:
You don't need a python script to do the base64 encoding:
Here is how you do it with one line of code in bash:
BASE64URL_FORMAT=$(echo "${BYTE_ARRAY:2:-2}" | tr ',' '\n' | xargs printf "%02X" | xxd -r -ps | base64 | tr -d '=' | tr +/ -_)
Update that superior stack :)
The text was updated successfully, but these errors were encountered: