我有一个软件,如何用穷举试出密码6位的纯字母 我有一个软件,如何用穷举试出密码 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可以引入排列组合类http://www.cnblogs.com/rogerwei/archive/2010/11/18/1880336.html调用6位密码组合 string[] arr = {"A","B" ,"C","D" ,"E","F" ,"G", "H" ,"I","J" ,"K","L" ,"M","N" , "O","P" ,"Q","R" ,"S","T" ,"U", "V" ,"W" ,"X","Y" ,"Z"}; List<string> result1= Algorithms.PermutationAndCombination<string>.GetCombination(arr,6).Select(a=>string.Join("",a)).ToList();//组合 List<string> result2 = Algorithms.PermutationAndCombination<string>.GetPermutation(arr, 6).Select(a => string.Join("", a)).ToList();//排列 简单的办法 就是 自己写6个循环嵌套 从AAAAAA 开始 循环到zzzzzz 然后所有的字母6位密码就都有了 就算是不用排列组合6个for循环也可以 不是我要鄙视你啊 但是这个问题真的太简单了 就是6位数组合嘛 纯数字 没有字母的更加简单 自己回去翻翻书吧~~~http://www.answersfull.com/html/Other/201207/10-115749.html 你没看到吗???很简单的算法啊~~~http://www.answersfull.com/html/Other/201207/10-115749.html 请教各位:局域网内两台电脑可传递声音信号 困扰我很长时间的问题!你们的datagrid都是怎么样实现单选的? datagirdview控件的问题 进度条的用法? 为什么这个数据库操作会说没有任何数据? [求助]刚学C#,求助网站发布问题.急!!!!! winform中怎样实现不用sql语句读写数据库的数据? 程序欢迎窗口的问题 UDP服务器有时候收不到数据的问题? win2000下怎么将FAT32转换成NTFS? 重载 继承 多态 抽象类 接口 求解析 左边位加密前的数据,求算法
string[] arr = {"A","B" ,"C","D" ,"E","F" ,"G",
"H" ,"I","J" ,"K","L" ,"M","N" ,
"O","P" ,"Q","R" ,"S","T" ,"U",
"V" ,"W" ,"X","Y" ,"Z"};
List<string> result1= Algorithms.PermutationAndCombination<string>.GetCombination(arr,6).Select(a=>string.Join("",a)).ToList();//组合
List<string> result2 = Algorithms.PermutationAndCombination<string>.GetPermutation(arr, 6).Select(a => string.Join("", a)).ToList();//排列
6个for循环也可以