PHP uses base64 encryption to decrypt picture samples to share

Source: Internet
Author: User
Tags base64 decrypt

  This article mainly introduces PHP using Base64 encryption to decrypt the image of the example, we refer to the use of the bar

    Code as follows: <?php  //filename: base64.php $data = "/9j/4aaqskzjrgabaqaaaqabaad/ 2wceabalda4mchaodq4seratgcgagbywgdejjr0oojm9p Dkzoddasfxoqerxrtc4ug1rv19iz2hnpk1xexbkefxlz2mberisgbuylxoal2ncoejjy2njy2njy2njy2 Njy2njy2njy2njy2njy2njy2njy2njy2njy2njy2njy2njy2njy//aabeiadiamgmbeqaceqedeqh/xagiaa Abbqebaqebaqaaaaaaaaaaaqidbaugbwgjcgsqaaibawmcbamfbqqeaaabfqecawaeequsitf Bbhnryqcicrqygzghccncscevuthwjdnicoijchyxgbkajsynkckqndu2nzg5okneruzhselku1rvvl Dywvpjzgvmz2hpann0dxz3ehl6g4sfhoeiiyqsk5svlpeymzqio6slpqeoqaqys7s1tre4ubrcw8tfxsfiycrs09 Tv1tfy2drh4upk5ebn6onq8flz9px29/j5+geaawebaqebaqebaqaaaaaaaaecawqfbgcicqoleqacaqieb Amebwuebaabancaaqideqqfitegekfrb2fxeyiygqguqpghscejizns8bvictekfiq04sxxfxgzgiynkc Kqnty3odk6q0rfrkdisuptvfvwv1hzwmnkzwznaglqc3r1dnd4exqcg4sfhoeiiyqsk5svlpeymzqio 6slpqeoqaqys7s1tre4ubrcw8tfxsfiycrs09tv1tfy2dri4+tl5ufo6ery8/t19vf4+fr/2gamaweaahedeqa/aj9z 1G8I1E5SO6MRFBAVXIA4OAQDVL//AJ/J/WDVS0AI2QX/APZ+Z/8AFW0ARNQ2OF8AP7CF9/DQBE2SAKOL/CF9/DQ BC2s6mP8AmIXP/ F00aen27fremkkkqCFYOA4HXJJW7V8A3/6CGBDK0Q41QS/Z3JXY8Z3KJRN0B9KALSNHS/W nmmtudojwgbp/akdqbzrggcfzqba5oa9etv8aj1h/3b/kgdz7xa2ndu/ 9/WDOKANRWSS0V+BYCJ/7NQBK TANQ0MLYYW7QIKWY7XWB170ATW+J219OET5AYSM6HB3XKGJJK44Z06UAQXUK29JOEN3CYSI7N5JIBAAHXJ 4z0 /MKAODC0WPYBX/J1H/3F/LSA858RTJX7Z/F/OKANVWM37NUSOOCFYAGDAL1VUZY2JKVJWRGQYLUCD2OA2P CG+zgvdTncpaIm0j++ rzx9on40aj43gezbxu4xmlq6br6lnkh8f6uaca7uwpzbx/j1h/3f/lsa8z8tnjxdej/ag/ 6cmbbyaveaasq2k3lixaf5qc4zjqpc0aui9afqxv7yttlsgmh2vmeifue/jayaae/tu/xttp/ng2pbgxku 989SM9aQGU70Ae12v8Ax6w/7i/ Yoa8w8uk//cr3ueyjf2hskygxtk/55v8akaaarj/zzb8jqawrj/zzf8jqbgys n/lm/wd3yaqdfjlp/ln/++tqb7zag/zyep4f/ Lqa9o0lelfj9xqavlr/880/75fab5uf/pnp++rqaevh/wa80/75fab5uf8azzt/al5fma8qp/nmn/fioacbxsa//9k= ";     $img =base64_decode ($data);   Echo $img?>       Reference image method:       Code as follows: <img src= "base64.php" >    
Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.