WordPress at a glance
function is not described

ParagonIE_Sodium_Core_ChaCha20::rotate() public WP 1.0

Bitwise left rotation

{} It's a method of the class: ParagonIE_Sodium_Core_ChaCha20{}

No Hooks.

Return

Int. Null. Nothing.

Usage

$result = ParagonIE_Sodium_Core_ChaCha20::rotate( $v, $n );
$v(int) (required)
-
$n(int) (required)
-

Code of ParagonIE_Sodium_Core_ChaCha20::rotate() WP 5.7

<?php
public static function rotate($v, $n)
{
    $v &= 0xffffffff;
    $n &= 31;
    return (int) (
        0xffffffff & (
            ($v << $n)
                |
            ($v >> (32 - $n))
        )
    );
}