ParagonIE_Sodium_Core_Salsa20::rotate() public WP 1.0
{} It's a method of the class: ParagonIE_Sodium_Core_Salsa20{}
No Hooks.
Return
Int
. Null. Nothing.
Usage
$result = ParagonIE_Sodium_Core_Salsa20::rotate( $u, $c );
- $u(int) (required)
- -
- $c(int) (required)
- -
Code of ParagonIE_Sodium_Core_Salsa20::rotate() ParagonIE Sodium Core Salsa20::rotate WP 5.7.1
public static function rotate($u, $c)
{
$u &= 0xffffffff;
$c %= 32;
return (int) (0xffffffff & (
($u << $c)
|
($u >> (32 - $c))
)
);
}