Models fudge hashes, base64, and UUIDs; this returns exact, byte-for-byte results.
Deterministic encoding and identifier utilities: hash text (MD5/SHA), base64 and URL encode or decode, generate UUIDs (v4/v7), and decode JWTs. Exact, byte-for-byte results computed locally, where a model would otherwise guess.
Encode/decode spaces as '+' (form style) instead of '%20'. Defaults to false.
Text to encode, or percent-encoded string to decode.
Whether to encode or decode. Defaults to encode.
curl -X POST "https://skill.askfaro.com/skills/encoding/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "URL-encode \"a b&c=d\""
}
}'askfaro describe encoding/encoding.url
Install pip install askfaro-cli, then askfaro auth login.
The JWT string to decode.
curl -X POST "https://skill.askfaro.com/skills/encoding/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "Decode this JWT"
}
}'askfaro describe encoding/encoding.jwt_decode
Install pip install askfaro-cli, then askfaro auth login.
How many UUIDs to generate. Defaults to 1.
UUID version. 4 = random, 7 = time-ordered. Defaults to 4.
curl -X POST "https://skill.askfaro.com/skills/encoding/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "Generate a UUID"
}
}'askfaro describe encoding/encoding.uuid
Install pip install askfaro-cli, then askfaro auth login.
Text to encode, or base64 string to decode.
Whether to encode or decode. Defaults to encode.
Use the URL/filename-safe base64 alphabet. Defaults to false.
curl -X POST "https://skill.askfaro.com/skills/encoding/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "Base64 encode \"Hello, World!\""
}
}'askfaro describe encoding/encoding.base64
Install pip install askfaro-cli, then askfaro auth login.
The text to hash (UTF-8).
Hash algorithm. Defaults to sha256.
curl -X POST "https://skill.askfaro.com/skills/encoding/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "SHA-256 of \"hello world\""
}
}'askfaro describe encoding/encoding.hash
Install pip install askfaro-cli, then askfaro auth login.