java Uri 编解码_uri_codec Base64是网络上最常见的用于传输8Bit字节代码的编码方式之一,大家可以查看RFC2045~R Java Develop 238万源代码下载- www...

详细说明:Base64是网络上最常见的用于传输8Bit字节代码的编码方式之一,大家可以查看RFC2045~RFC2049,上面有MIME的详细规范。Base64编码可用于在HTTP环境下传递较长的标识信息。例如,在Java Persistence系统Hibernate中,就采用了Base64来将一个较长的唯一标识符(一般为128-bit的UUID)编码为一个字符串,用作HTTP表单和HTTP GET URL中的参数。在其他应用程序中,也常常需要把二进制数据编码为适合放在URL(包括隐藏表单域)中的形式。此时,采用Base64编码不仅比较简短,同时也具有不可读性,即所编码的数据不会被人用肉眼所直接看到-Base64 is one of the most common network for the transmission 8Bit encoding byte code, we can see RFC2045 ~ RFC2049, there MIME detailed specification above. Base64 encoding can be used to pass a longer identifying information in the HTTP environment. For example, in the Hibernate Java Persistence system, it uses a Base64 to a longer unique identifier (typically a 128-bit UUID) encoded as a string used for HTTP and HTTP GET URL in the form of parameters. In other applications, it is often necessary to encode binary data to fit on URL (including hidden form fields) in the form. At this point, using Base64 encoding is not only relatively brief, but also has not readable, encoded data that is not being directly seen with the naked eye

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值