[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Class ParagonIE_Sodium_Core_BLAKE2b Based on the work of Devi Mandiri in devi/salt.
File Size: | 797 lines (24 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
new64($high, $low) X-Ref |
Turn two 32-bit integers into a fixed array representing a 64-bit integer. return: SplFixedArray param: int $high param: int $low |
to64($num) X-Ref |
Convert an arbitrary number into an SplFixedArray of two 32-bit integers that represents a 64-bit integer. return: SplFixedArray param: int $num |
add64($x, $y) X-Ref |
Adds two 64-bit integers together, returning their sum as a SplFixedArray containing two 32-bit integers (representing a 64-bit integer). return: SplFixedArray param: SplFixedArray $x param: SplFixedArray $y |
add364($x, $y, $z) X-Ref |
return: SplFixedArray param: SplFixedArray $x param: SplFixedArray $y param: SplFixedArray $z |
xor64(SplFixedArray $x, SplFixedArray $y) X-Ref |
return: SplFixedArray param: SplFixedArray $x param: SplFixedArray $y |
rotr64($x, $c) X-Ref |
return: SplFixedArray param: SplFixedArray $x param: int $c |
flatten64($x) X-Ref |
return: int param: SplFixedArray $x |
load64(SplFixedArray $x, $i) X-Ref |
return: SplFixedArray param: SplFixedArray $x param: int $i |
store64(SplFixedArray $x, $i, SplFixedArray $u) X-Ref |
return: void param: SplFixedArray $x param: int $i param: SplFixedArray $u |
pseudoConstructor() X-Ref |
This just sets the $iv static variable. return: void |
context() X-Ref |
Returns a fresh BLAKE2 context. return: SplFixedArray |
compress(SplFixedArray $ctx, SplFixedArray $buf) X-Ref |
return: void param: SplFixedArray $ctx param: SplFixedArray $buf |
G($r, $i, $a, $b, $c, $d, SplFixedArray $v, SplFixedArray $m) X-Ref |
return: SplFixedArray param: int $r param: int $i param: int $a param: int $b param: int $c param: int $d param: SplFixedArray $v param: SplFixedArray $m |
increment_counter($ctx, $inc) X-Ref |
return: void param: SplFixedArray $ctx param: int $inc |
update(SplFixedArray $ctx, SplFixedArray $p, $plen) X-Ref |
return: void param: SplFixedArray $ctx param: SplFixedArray $p param: int $plen |
finish(SplFixedArray $ctx, SplFixedArray $out) X-Ref |
return: SplFixedArray param: SplFixedArray $ctx param: SplFixedArray $out |
init($key = null,$outlen = 64,$salt = null,$personal = null) X-Ref |
return: SplFixedArray param: SplFixedArray|null $key param: int $outlen param: SplFixedArray|null $salt param: SplFixedArray|null $personal |
stringToSplFixedArray($str = '') X-Ref |
Convert a string into an SplFixedArray of integers return: SplFixedArray param: string $str |
SplFixedArrayToString(SplFixedArray $a) X-Ref |
Convert an SplFixedArray of integers into a string return: string param: SplFixedArray $a |
contextToString(SplFixedArray $ctx) X-Ref |
return: string param: SplFixedArray $ctx |
stringToContext($string) X-Ref |
Creates an SplFixedArray containing other SplFixedArray elements, from a string (compatible with \Sodium\crypto_generichash_{init, update, final}) return: SplFixedArray param: string $string |
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |