std.crypto.math.shift_right_u32
Show source codeHide source code
fn pub shift_right_u32(value: Int, amount: Int) -> Int {
to_u32(value >>> amount)
}
fn pub static shift_right_u32(value: Int, amount: Int) -> Int
Shifts a 32-bits unsigned integer to the right.
Panics
This method panics if amount
is greater than 32 or less than zero.