看到一串加密或编码后的信息,不知道对应哪种解码方式,所以总结一下,方便查阅

原文:1234+abcd/一二三四
1. Base64:MTIzNCthYmNkL+S4gOS6jOS4ieWbmw==
2. Base64URL:MTIzNCthYmNkL-S4gOS6jOS4ieWbmw
3. UrlEncode:1234%2Babcd%2F%E4%B8%80%E4%BA%8C%E4%B8%89%E5%9B%9B
4. UTF-7:+/v8-1234+-abcd/+TgBOjE4JVts-
5. UnicodeJS编码:1234+abcd/\u4E00\u4E8C\u4E09\u56DB
6. HexEncode:%31%32%33%34%2b%61%62%63%64%2f%e4%b8%80%e4%ba%8c%e4%b8%89%e5%9b%9b
7. C#byte[]:
byte[] arrOutput = { 0x31, 0x32, 0x33, 0x34, 0x2B, 0x61, 0x62, 0x63, 0x64, 0x2F, 0xE4, 0xB8, 0x80, 0xE4, 0xBA, 0x8C, 0xE4, 0xB8, 0x89, 0xE5, 0x9B, 0x9B };
8. SHA256:
sTuXR/kuJQnybc/JPCw8VtJA0PmtCjzBjvuYByPDfSk=

B1-3B-97-47-F9-2E-25-09-F2-6D-CF-C9-3C-2C-3C-56-D2-40-D0-F9-AD-0A-3C-C1-8E-FB-98-07-23-C3-7D-29