Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 688 Bytes
import requests
import json
# Converts plain pixels of a given image to enciphered pixels. The image is not readable until it has been deciphered using decrypt.
# &&
# Target image to enrypt
img = ''
# Password used for decryption
pwd = 'superpass'
req = requests.get('',params={'img':img,'pwd':pwd,'key':'My_PixLab_Key'})
reply = req.json()
if reply['status'] != 200:
print (reply['error'])
print ("Link to the encrypted picture: "+ reply['link'])
#use with your passphrase to make it readable again