使用AES256加密 並利用javascript解密...
只要密碼保護的好 應該是蠻安全的才是
首先在template中加入他提共的js檔 如
<script src='' type='text/javascript' />
將你要加密的本文到Vincent Cheung網站上先進行加密 並記好密碼
最後在在blog中貼上
<a href="javascript:Decrypt_text('獨一無二的標籤名稱');">文章保護 請輸入密碼</a>
<div id="獨一無二的標籤名稱">密文</div>
或是不顯示密文的方式如
<a href="javascript:Decrypt_text('獨一無二的標籤名稱', '密文');">文章保護 請輸入密碼</a>
<div id="獨一無二的標籤名稱"></div>
範例1 密碼:密碼保護,請複製我
GP63QMZMd7sUFnX5LpypaYUkzGQNsWlAnal+ivdrvEuLrWoA2bEMiiUjmm6a
QAlVRr04rgzQbGsCfho6xt34YGyTD1PCVljEOJtq10j51AcVPrtSwPs0098j
e4FGYzvZWu9QrEQjwkRrP8DRbIup/U9tW06+Tb8hKX6iI3ZBwJ2pWaxOGmyV
ceJOKNfsN4OR5XBE1ANWAzow0QOpGGBfxbKpC9B3ZYfaoPP4HlJCeN4muZ9r
V+LhYGklDk8XFrpY/XYI+n3a+idRbXQQA1fNIaVFMXwvCMo0JOXLilIznW0d
OnTVifXSxdNBtpYueppq1ej3U6uabMYlAQAuJ23++cL/EsaCqaQu1dXVpP7A
sJJUdEN6u6siMsagELDh91EUPWRSwGmC95asFvAU+XwlniVzkDXF+1LaSojP
u+O/CndvhxmHxSNDm1lG3C9yDia4qffxXCM6Zhq0/0oNyui7cCor+NR/qiif
ZDLecTT9ENJ7WtxcUOpIbge2gMk3P7gfy1xXNhVOPSIM1n8ygkuHphJjwd7m
ZlD7IKPfLhiKlu4izrQe13FdxCFQmbWWHznofbN5KbQ3IBDAQ2apOO5aZXVG
Oasa6JNC4GF7wC7oBVXRWhACHZ5ZhRawlQ/CxigaI+mFZkBIkb1qsAe9NGZM
rCA0Yqkh2BTfJeoXDfJKU31jJyQpzlm1Ro84CskGBEyhsmXRIJGvbKJzdFQN
2MHZtNp/x7pBbPevCcckOV/HEFygZRyY6sbTEKvjJDy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JGvbKJzdFQN
2MHZtNp/x7pBbPevCcckOV/HEFygZRyY6sbTEKvjJDyYuuwEwtM1UeyAa/aw
gQmtosi666fLgBn0B6rbRTJTRg6la/VKj504JKKogBQCkYc3o3r65+JtI2Xy
30AnDtJtUBsr7HmEehqk45B/mtZkcRrop5ab/e/61op96i8+3qkPH5Hbwixq
Fdu0RYh0TQ/8xFo9SYDYzQAauwwGNVSZNqUUExpEAAL/TPE+Fl/xV6oQLB3I
3nlzJuchH/Ac/9G/pIiXh7kQV5xZT2QfYzbirZKlEIWOnlarO+oZCSJGQuy0
RwxkXPrfddwgTRWd/MerholG6o54aSEDVZO1SC6qUsHKAzVDS3U5Y3J/DL3v
djc88ffmFNlJX+TbXxup1/qROIJBykz1yG9A9/D+ZJ6IT1JnD+wr+rbqCdTC
4DDevZE9RCEfr+7iWkMfZr5UnRuT7CCsEQ==
範例二 密碼:中文密碼也可以
--
加解密備份
update 20080702 新增縮合功能
update 20091201 新版加解密工具 新版Script 舊的加解密工具因為google pages關閉而失效
update 20091230 新增加解密工具備份 舊版(目前使用) 新版
0 comments:
張貼留言