Practical applications of bit shifting

前端 未结 4 518
-上瘾入骨i
-上瘾入骨i 2021-01-03 05:33

I totally understand how to shift bits. I\'ve worked through numerous examples on paper and in code and don\'t need any help there.

I\'m trying to come up

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-03 05:56

    I would not agree that the most important example is endianness but it is useful. Your examples are valid.

    Hash functions often use bitshifts as a way to get a chaotic behavior; not dissimilar to your cryptographic algorithms.

提交回复
热议问题