1. The thing I used this for wad to decode and encode BASE64. (-decode and-encode command switches). It has two annoying features here-for decode and encode it needs-----End Certificate-----and-----BEGIN certificate-----at begining and at Base64
Conversion between JAVA Hex and string, and java hexToHexStringPublic static String toHexString (int I) returns the String representation of an integer parameter in the hexadecimal notation.If the parameter is negative, the unsigned integer is 232.
This is a creation in
Article, where the information may have evolved or changed.
Basic concepts
Hex is also called base16, meaning that a binary array is represented by 16 visible characters, and the data size is doubled after encoding
Code in 1.c#
/// /// ///function: Converts a string content into a 16-encoded data encoding, and its inverse procedure is decode ///parameter description: br>///Strencode The original string that needs to be transformed ///the process of
' ==============================================================' Function: ASP server object built-in encoding function' Description: No corresponding decoding function' ==============================================================Function
'==============================================================
' Function: ASP server object built-in encoding function
' Description: No corresponding decoding function
'==============================================================
Function
Background: to open a web query page on the client (written in C ++), you must splice a query URL and open it in the browser.
For example, search for "horse" in Google"
Http://www.google.cn/search? Hl = ZH-CN & newwindow = 1 & Q = % E9 % A9 % AC &
During network programming, you often need to print the received data in hexadecimal format for easy viewing. Today we found that there is such a simple method in Python.
>>> "Hello". encode ("hex ")'68656c6c6f'
You can also
>>> '68656c6c6f'.
I want to change the style of the Discuz forum today. After downloading the style file, I found it was encrypted by Base64.
Kobayashi recommends a decryption page. The extracted code is as follows:
Copy codeThe Code is as follows:
Base64 and URL
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.