写个base64加密解密的完成

楼主这对吗?    static final String ENSTR = "TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aGlzIHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlciBhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qgb2YgdGhlIG1pb http://www.haofapiao.com/linked/20130214.do; mQsIHRoYXQgYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZGVsaWdodCBpbiB0aGUgY29udGludWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25vd2xlZGdlLCBleGNlZWRzIHRoZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm5hbCBwbGVhc3VyZS4="; static final String DESTR = "Man is distinguished, not only by his reason, but by this singular passion from other animals, which is a lust of the mind, that by a perseverance of delight in the continued and indefatigable generation of knowledge, exceeds the short vehemence of any carnal pleasure."; 这是2条数据  wiki上的,上面是加密后的,下面是解密后的   http://xlaohe1.iteye.com/blog/1420843 http://xlaohe1.iteye.com/blog/1422482 http://www.fpzhangsha.com/linked/20130214.do; 
posted @ 2013-02-15 05:30  chinadiy197601  阅读(229)  评论(0编辑  收藏  举报