各位同行:
我有一段编码:
3A2A6454068365854953
怎么样转成:*HQ200B
对方说是256转64编码,写得不全但是前面肯定是对应的!
麻烦帮帮小弟!
小弟先谢过了!!!

解决方案 »

  1.   

    是一种编码呀,通常用的是256扩展的ASCII码,有时要转换为另一种,记不太清叫什么了,
      

  2.   

    function Base64Encode(const s: String): String;DescriptionBase64Encode is a String function that performs a Base64 encoding operation for the value specified in s. The return value for Base64Encode is the 7-bit ASCII representation of the input value.
      

  3.   

    uses  IdCoder3To4;
    Base64Encode('3A2A6454068365854953')='M0EyQTY0NTQwNjgzNjU4NTQ5NTM='