nonlinearfunction.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:crypto 作者: erose1337 项目源码 文件源码
def nonlinear_function2(state_and_constant):
    state, constant = state_and_constant
    state ^= constant        
    state += 1    
    state ^= word(state >> 8).value        
    state ^= word(state << 8).value
    state = word(~state).value
  #  state ^= word(state << 5).value
  #  state ^= word(state >> 3).value


    return (eight_bit_integer(state).value, state)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号