如何解码字符 [英] How are the chars being decoded

查看:80
本文介绍了如何解码字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Ive been searching through google but cant seem to figure out how its been decoded ?

Decode from base64 to ASCII Dec.
For example,
CS20UumGFaSm0QXZ54HADg => 9 45 180 82 233 134 21 164 166 209 5 217 231 129 192 14

I used all online converters, if possible i would like to get in in perl or c#.

All help would be greatfull.


thanks in advance

推荐答案

Base64不是加密算法 - 它是一个翻译算法。不同之处在于加密是安全的,而且翻译不是......



Base64很简单,并将二进制8位数据转换为可通过a传输的形式基于字符的数据链接,如HTML,不支持二进制文件。它绝不会加密数据,即使是新手编码器也可以轻松地反转。这里有一个很好的解释: http://en.wikipedia.org/wiki/Base64 [ ^ ]
Base64 is not an encryption algorithm - it is a translation algorithm. The difference being that encryption is secure, and translation isn't...

Base64 is simple, and converts binary 8 bit data into a form that is transmittable over a character based data link such as HTML which does not support binary. It in no way encrypts data, and it can be reversed with ease by even novice coders. There is a good explanation here: http://en.wikipedia.org/wiki/Base64[^]


使用Perl,您可以使用< a href =http://perldoc.perl.org/MIME/Base64.html> MIME :: Base64 [ ^ ]包。当搜索base64 decoder perl时,这将作为Google搜索结果返回。
With Perl you can use the MIME::Base64[^] package. This is returned as first Google result when searching for 'base64 decoder perl'.


这篇关于如何解码字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆