代码源于看雪林版在我群里介绍注冊一个俄文安卓论坛。发出来了链接大家在測试注冊。

http://4pda.ru/forum/index.php?

註册方式請参看:

_https://forum.tuts4you.com/topic/36183-downloading-from-4pda/

打开上面这个网址后,我们能够看到右上角有一个Create Accountbutton,我们点击它:

如上题,那个验证注冊的问题一些朋友没弄明确怎样搞出来。于是简单编写了下代码。

这个仅仅是ascii的8进制编码而已。我们能够先转换10进制,然后会非常明确看出来是ascii编码。这里用代码直接来进行操作。

仓促之间编写測试代码。格式太乱,以下的核心解码算法还是比較清楚的。大家看一下就明确了。

public class Chhh {

	 public static void main(String[] args) throws Exception {

		  t1();

		 }
public static void t1() throws Exception{ String s="127 150 141 164 040 143 145 156 164 165 162 171 040 144 151 144 040 155 141 164 150 145 155 141 164 151 143 151 141 156 163 040 146 151 162 163 164 040 165 163 145 040 160 154 165 163 040 141 156 144 040 155 151 156 165 163 040 163 151 147 156 163 077";//ASCII�� String[] chars=s.split(" ");
System.out.println("ASCII is \n----------------------"); String sa=""; for(int i=0;i<chars.length;i++){ // System.out.println(ascii8ToString(chars[i])); sa+=ascii8ToString(chars[i]); } System.out.println(sa);
} public static String asciiToString(String value)
{
StringBuffer sbu = new StringBuffer();
String[] chars = value.split(",");
for (int i = 0; i < chars.length; i++) {
sbu.append((char) Integer.parseInt(chars[i]));
}
return sbu.toString();
} public static String ascii8ToString(String value)
{
StringBuffer sbu = new StringBuffer();
String[] chars = value.split(",");
for (int i = 0; i < chars.length; i++) {
sbu.append((char) (int)Integer.valueOf(chars[i],8));
}
return sbu.toString();
} }

解密后为:

What century did mathematicians first use plus and minus signs?

最新文章

  1. 遍历map的四种方法
  2. 简单粗暴地理解 JavaScript 原型链 (一个充满歪门邪理的理解方法,有助于新手哦!)
  3. JAVA Builder模式构建MAP/LIST的示例
  4. DevExpress后置代码中初始化SQL数据源的方法
  5. .NET中的三种Timer的区别和用法(转)
  6. 【Python爬虫基础】抓取知乎页面所有图片
  7. Ubuntu中查看硬盘分区UUID的方法(所有Linux目录的解释)
  8. ext日期加减任意天数
  9. JS中判定问题
  10. 查看linux系统是多少位
  11. 深度解密Go语言之Slice
  12. Python 游戏之旅(Pygame)
  13. javascript的函数、事件
  14. jQuery事件处理(三)
  15. PostgREST docker-compose 试用
  16. ubuntu 16.04 LTS 安装 teamviewer 13
  17. Nginx 配置多站点vhost
  18. Error: Chromium revision is not downloaded. Failed to download Chromium
  19. jQuery/javascript实现IP/Mask自动联想功能
  20. 20165324 Java实验五 网络编程与安全

热门文章

  1. C/C++注释规范
  2. SPOJ 10628 Count on a tree(Tarjan离线 | RMQ-ST在线求LCA+主席树求树上第K小)
  3. vue项目中使用iconMoon图标
  4. 洛谷P2668 斗地主 [NOIP2015]
  5. JavaScript日历控件!JS兼容IE6.7.FF.可挡住下拉控件
  6. Web安全-XSS-SQL注入-CSRF
  7. LeetCode OJ-- Maximum Depth of Binary Tree
  8. Codeforces 761C Dasha and Password(枚举+贪心)
  9. 谷歌浏览器chrome设置特定网页使用Https(ssl)访问
  10. Debugging that latch timeout