Skip to main content

Post data

URL: /api/blog/v1.0/images/{images}

Method: GET

Additional query parameters

Example

Example request in python:

import requests, json
from sjcl import SJCL

response = requests.get('http://www.cryptedblog.com/api/blog/v1.0/images/5172138264756224')

data = response.json()
print(json.dumps(data, indent=4, sort_keys=True))
print("decrypted-images:", json.dumps(json.loads(SJCL().decrypt(data, "YourSharedSecret")), indent=4, sort_keys=True))

The output looks like the following:

{
    "adata": "", 
    "cipher": "aes", 
    "ct": "vUqihkKJEkWEqsVKvyDfvEYBdWpzXZFq1V3idfHlZijF1S4NuyDAP2C1hcLIfeMNkTNBWKcY0fYn842Chzk/33hQGmEFIgsHSxOOQckM1JRL7S54lNATPtV7bvhcsCLSCRY4B4opn9LQ/IDilZjHOz9Iqvt7RWwvOsmBwncsFpeMoRr2up8W7EY4HSwRlzmzc1wczfACSEGkWOpqUDkoaof30Ozj0jEKNR0HS8YBa3aWUyQ501Eyj/FEJfjIexCWBZFv5coh/by/um9yun9kVnSHYp3fRjROoYMPXH4EfwyCy1M9r/Jg8Bqb2Il1R3Y8/BH27IHdIK1M2fOv8asvcnbezmEresoZ4qPx+zCOtqo9uDtiYzPFxYGQw6u+mKnN6kuejj+WK0nsjkcfr5NKOesASxjiFRxHxTJQlw/FdRQOexxbCcd4BQ9vw6/rlWj40JNFdKj/2pZk+a3yQmPscltrn+LQQ3MPP6sKd0Vm3RU7mJKiuFxHZtRsFzv0wvepEYA3MUNwHtnQhXApz+mCfKYVn/2rJ/eqB4Ss1Glvu9sTrLzfJitIPyR8L1xXBF31gu9BpTLwB3bcDGUWpZlBm6HVki5yhRdCHYXIamu0rh1UwzGETlXQ8OSiobK3jbxTV3vahTC33Wu/e6vwj7ONSuyJUsiwEoR9RHmuSMkDHY3+xcE37Gff4ZkSmtiWLG8f5nPUDVDfwv341Pqx6dAJCvR270JzcPl83ZWfcripbHrmebd0hGvIKs6qXv9qxLdprFo608n6DH+6e6J3Q6K98vlztQ6wPcDSV/X360zKVK3e+Y/N1aVA6pxSHg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+J59BqHnR/Cs0hF+1JULWDa7NeipET0sJiI6GMsAJGgpkyEEZPJprylKoEWCfyE2OJTR7WqRxhtRr7/19R9xzaAW6S2DAq3bn3/9p0JOhn+DG1uLKzVhftqhBW2i+PBfk5N8FPmfkZUlTcG5hF5U/51xFeKmXJXnaOySkp8eKvGeXlV5/U99zE+OChMxSFPEuN8BDV2yivJb7si5bX2aNMtwz33lN/61UVATy6hjmj+JDkt8G0QXmjEsK8hwQMTD8r+apxeCNyjTpq0kbvhSi9nJtLDBc5JIJ3tvaYcoIp4FenlN5ANfk1S/fQPUj0OFBUHHkcsmhiCRbncWi3q3FunMpqzSyMhGM/LfEcp48n4Kqm+EOZUr3cTSjMzOartYULGhfRj5dQ2VAS5IyMybZP6PsvvwuS4sAmMOziiQskTzn0xJyNrUPOGE4Hp9yKgkytw2sr6g/2kRoajtMnHQEMZjSMd+J1Tsx3OmkX0dgedKhXznx3dnhAh07KZ6SvtSXpmpOq54JrRULWGkFAANROsEoKhgPssWMkx9qaW/w3H5VFPpNnrGO/Z4hQjsttzylo4L0tRaOJw4UuHnpvSg6i/evI0j9Pny5V2g==", 
    "iter": 1000, 
    "iv": "ipgPVtLvC2NWjd0HIxSpAg==", 
    "ks": 128, 
    "mode": "ccm", 
    "salt": "0ftObd/DwPI=", 
    "ts": 64, 
    "v": 1
}
decrypted-images: [
    {
        "data": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAB3RJTUUH3gQPExIYPPuUxQAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAATOSURBVHja7Z1dTBxVFMf/d+7MQqldPqSV0kqhWGsLCwJaa/xI2tJGqJGQBjEm9sHYRBOtPmiMDzYmJhqj0ZemPrUv1lSzNi22oljCi40a2tAiIf0QWGAr1hKhxBrYnTv3+mDSxMDOADO77rDn/8heds785sy5/3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