|
[原创]升级HotWC3/CRC网上演算器
HotWC3密码升级为53位同步流加密体系开始接受攻击 http://www.hotc51.com/HotPower_HotWC3.html 已升级为53位密钥的流加密体系,HotWC3密码系统初步完成。 它可做到密钥位数任意,暂为53位。等待攻击的结果而最终决定密钥的位数。 菜农论证是安全的,几乎接近DES的56位密钥的水平。它可以抵抗目前技术手段的攻击。 HotWC3从本版本开始正式接受密界的攻击。 其中: 红字“密”后是日期派生出来的日期密钥,工作时形成伪随机密钥流。只能通过选择“日期”来改变。 红字“码”后是允许用户输入的32位密钥,工作时形成伪随机密钥流。后跟的“随机”可随机选择用户密钥 蓝字“天流”后是工作时的实际天地密钥流,主要观察天地密钥流的伪随机。 蓝字“星流”后是工作时的实际星期密钥流,主要观察星期密钥流的伪随机。 按加密键可对明文流加密得到密文流。 按解密键可对密文流解密得到明文流。 菜农HotPower@126.com 2009.7.12 于西安大雁塔蔬菜研究所 |
|
[原创]三角密码探讨及揭秘
但是, 逆向解密者在不知道算法的原理(也即本贴所谈三角密码)情况下,也完全可以绕过正规解密算法“A=(密码C^2-密码B^2)^(1/2)-3”而直接解密的。 因为由原码A到密码BC实际上还是可逆的。 理解有问题,三角密码的BC码实际不包含C码!!! 因为C与B的差值固定(1或2),故没有C后A与B的关系实际是无法形容的。 只是在编码中附加了一个“奇偶标志”。用它隐含C与B的差值。 这样对BC码(变异后取出C的B码)解码后方可从“奇偶标志”中解出C来。 实际应用根本不考虑其存在。 |
|
[原创]星期公式及天干地支的单向散列性
晕是很正常的,我自己也经常发晕~~说些晕活~~ HotWC3选择星期和“天干地支”主要是保护明文的。 星期和“天干地支”都各有自己的成熟算法,而且“1200年一轮回”。 它们是从日期密钥中分离出来的,都是不可逆的。 由于HotWC3是流加密即字节或分组8位的加密系统,而星期的变化太小(0~6) “天干地支”的变化也不足(0~59). 故将它们柔和在一起(更不可逆了)组成“星期密钥”,这样当日起密钥发生微小变化时, 星期密钥有可能发生“巨变”。从而使攻击日期密钥的难度增大。 |
|
[原创]三角密码探讨及揭秘
回复blackboy: 你可能看了我最近的几个帖子,如“碰撞”,S盒等。 由于我是要打造一个新的流加密体系,可能有人觉得好笑,但实话说现在军事、外交和通讯 都是广泛采用流加密体系而非分组加密体系,原因“不详”~~~ 分组和流即序列加密体系各有所长,关键都是对密钥的混淆及扩展。以达到保护密钥免受攻击的目的。 HotWC3选择三角密码做密钥的保护模块主要是它可以用1个字节发散为2个字节来作为CRC密码的初值和权。 其他算法可以吗???当然什么都可以。 三角密码刚好符合单字节发散为双字节后不溢出。而且它类同“椭圆曲线密码”,我在有些帖子中谈过相应话题。 它同时也有公开密码体系的影子,即素数问题,不过它是2个相同的整数~~ 再“三角密码表”实际是专为CRC密码打造的,无任何“高明之处”可言。 |
|
[原创]CRC算法及CRC密码之探讨
感谢坛主去除“精华”,菜农从不奢求什么“精华”~~~ |
|
|
|
[注意]菜农选择明文攻击CRC密钥成功发帖自贺
在http://bbs.pediy.com/showthread.php?t=93078中 这里给出一些“性质”(以CRC8为例,其他一样): 本次攻击是对以上“性质”的扩展,它是在CRC密钥不变时,适当选择明文的最佳攻击手段。 CRC密钥不变,即选定了未知多项式的CRC的多项式求解问题。 “性质1”说的不太清楚,实际为: 1.当明文=上次密文即明文=初值时, 本次密文(结果)=0 故可更新“性质2”“性质3”为: 2.右移时 初值=0x00,明文=0x80时,本次密文=权 初值=0x80,明文=0x00时,本次密文=权 在初值和权确定时,穷举明文: 穷举明文对应的密文为0x00时的穷举次数=初值,穷举结束。 穷举次数^0x80做为明文对应的密文=权。 3.左移时 初值=0x00,明文=0x01时,本次密文=权 初值=0x01,明文=0x00时,本次密文=权 在初值和权确定时,穷举明文: 穷举明文对应的密文为0x00时的穷举次数=初值,穷举结束。 穷举次数^0x01做为明文对应的密文=权。 故: 具备攻击的“CRC性质”: |
|
|
|
[原创]用HotWC3/CRC网上演算器任意制造CRC碰撞
求生成的CRC64编码完全相同的两个串 晕~~~“都进入了CRC人造碰撞时代了”,还要穷举??? 发表于:2008-09-23 15:52:2514楼 得分:0 实在太难找了,测试了一组100万的数据和一组800万的数据,没找出来... 随便搞4组(当然长度是128位的数据>64位):(制造碰撞必须>=N+1位) |
|
[原创]CRC算法及CRC密码之探讨
菜农正式请求把“精华”去除!!!不要让大家认为菜农“卖老抢裤子” 谢谢!!! 菜农来此就是“挨砖”来了~~~菜农不需要任何人的“施舍” 好听点---“来学习” 动听点---“。。。” 难听点---“。。。” 菜农本来无任何异议,加“优秀”,“精华”算版主有眼,不加也不算版主“无德”。 但加了“精华”改“优秀”菜农认为这是“黑心”,村里俗称“腐败”~~~ 菜农异议后,再改为“精华”算菜农“失德” |
|
|
|
|
|
|
|
|
|
|
|
|
|
[原创]升级HotWC3/CRC网上演算器
升级HotWC3/CRC网上演算器为2.01的目的主要是有助于研究古典密码和分组密码。 例如维吉尼亚密码的排列: 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 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 A C D E F G H I J K L M N O P Q R S T U V W X Y Z A B D E F G H I J K L M N O P Q R S T U V W X Y Z A B C E F G H I J K L M N O P Q R S T U V W X Y Z A B C D F G H I J K L M N O P Q R S T U V W X Y Z A B C D E G H I J K L M N O P Q R S T U V W X Y Z A B C D E F H I J K L M N O P Q R S T U V W X Y Z A B C D E F G I J K L M N O P Q R S T U V W X Y Z A B C D E F G H J K L M N O P Q R S T U V W X Y Z A B C D E F G H I K L M N O P Q R S T U V W X Y Z A B C D E F G H I J L M N O P Q R S T U V W X Y Z A B C D E F G H I J K M N O P Q R S T U V W X Y Z A B C D E F G H I J K L N O P Q R S T U V W X Y Z A B C D E F G H I J K L M O P Q R S T U V W X Y Z A B C D E F G H I J K L M N P Q R S T U V W X Y Z A B C D E F G H I J K L M N O Q R S T U V W X Y Z A B C D E F G H I J K L M N O P R S T U V W X Y Z A B C D E F G H I J K L M N O P Q S T U V W X Y Z A B C D E F G H I J K L M N O P Q R T U V W X Y Z A B C D E F G H I J K L M N O P Q R S U V W X Y Z A B C D E F G H I J K L M N O P Q R S T V W X Y Z A B C D E F G H I J K L M N O P Q R S T U W X Y Z A B C D E F G H I J K L M N O P Q R S T U V X Y Z A B C D E F G H I J K L M N O P Q R S T U V W Y Z A B C D E F G H I J K L M N O P Q R S T U V W X Z 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 根据数学的“全排列”定义,它的排列数应该有26!=40329...584000000 故此密码的编码只是其全排列的很小一部分。 再如DES的8个S盒。(6入4出) 每个S盒有4列16行,共16行32列。 根据数学的“全排列”定义,DES的S盒排列数应该有16!=20927789888000 故此密码的编码只是其全排列的很小一部分。 CRC4和DES的S盒都属于这个全排列,CRC4有16行(明文)256列(初值、权)。 可惜在CRC4的一行(表)中找不到DES的S盒的一行~~~ 但我们可以在CRC4表中到处找到S盒的“身影”。 新版本可以让学密码学的新菜鸟们不会再害怕分组密码中“神奇的S盒”了~~~ 菜农个人的理解S盒为“类同CRC运算(编码)的输出表”,只是“非线性的程度”或“表达式”的不同。 虽然S盒号称“完全非线性”,但俺认为肯定有一确定的表达式,只不过是美国佬不愿公开。 美国佬肯定不愿看见像菜农这样糟蹋CRC一样地糟蹋S盒的~~~ 新版本增添了对CRC4和CRC12的支持,并增添了“可逆选择”。以便菜农与专家论证HotWC3正式版。 特别是菜农认为的“CRC半可逆性”。 新版本还增添了在CRC密钥(初值、权及方向)确定时,明文和密文的“一对一”的关系的实际测试。 由于脚本软件的限制,只在CRC4上作出了“完全一对一”的验证和表格显示。其他CRC也可在某权值时证明。 由于界面尺寸和数据长度的问题,用CRC4研究可能更方便些。因为CRC4~CRC64甚至到CRCXXX内核算法完全一致。 新版本增添了“CRC表”按钮。功能最全的是CRC4,其他主要受PC环境和脚本软件的限制无法发挥。 操作“CRC表”我们可以得到在某“权值”下的“CRC表”,可以看到各种"CRC初值"下“CRC表”的奇妙排列。 每个表都像是个“古典密码”和“S盒”~~~ 真是“CRC真奇妙”----这就是菜农钟爱CRC最大的原因~~~ |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值