I use this code for Cryptography home work assignment and can't understand line# 59
thanks for the helpers.
I use this code for Cryptography home work assignment and can't understand line# 59
thanks for the helpers.
Copyright © 2021 Jogjafile Inc.
It's the same as; rotate left by 11 bits for an
int
value.The bottom 21 bits move up 11 while the top 11 bits move down by 21.
It is a common pattern used in hashing as it quickly rearranges the bits of a number without losing randomness.
Source for Integer.rotateLeft