[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Class ParagonIE_Sodium_Core_BLAKE2b Based on the work of Devi Mandiri in devi/salt.
File Size: | 719 lines (22 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. param: int $high param: int $low return: ParagonIE_Sodium_Core32_Int64 |
to64($num) X-Ref |
Convert an arbitrary number into an SplFixedArray of two 32-bit integers that represents a 64-bit integer. param: int $num return: ParagonIE_Sodium_Core32_Int64 |
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). param: ParagonIE_Sodium_Core32_Int64 $x param: ParagonIE_Sodium_Core32_Int64 $y return: ParagonIE_Sodium_Core32_Int64 |
add364($x, $y, $z) X-Ref |
param: ParagonIE_Sodium_Core32_Int64 $x param: ParagonIE_Sodium_Core32_Int64 $y param: ParagonIE_Sodium_Core32_Int64 $z return: ParagonIE_Sodium_Core32_Int64 |
xor64(ParagonIE_Sodium_Core32_Int64 $x, ParagonIE_Sodium_Core32_Int64 $y) X-Ref |
param: ParagonIE_Sodium_Core32_Int64 $x param: ParagonIE_Sodium_Core32_Int64 $y return: ParagonIE_Sodium_Core32_Int64 |
rotr64(ParagonIE_Sodium_Core32_Int64 $x, $c) X-Ref |
param: ParagonIE_Sodium_Core32_Int64 $x param: int $c return: ParagonIE_Sodium_Core32_Int64 |
load64($x, $i) X-Ref |
param: SplFixedArray $x param: int $i return: ParagonIE_Sodium_Core32_Int64 |
store64(SplFixedArray $x, $i, ParagonIE_Sodium_Core32_Int64 $u) X-Ref |
param: SplFixedArray $x param: int $i param: ParagonIE_Sodium_Core32_Int64 $u return: void |
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 |
param: SplFixedArray $ctx param: SplFixedArray $buf return: void |
G($r, $i, $a, $b, $c, $d, SplFixedArray $v, SplFixedArray $m) X-Ref |
param: int $r param: int $i param: int $a param: int $b param: int $c param: int $d param: SplFixedArray $v param: SplFixedArray $m return: SplFixedArray |
increment_counter($ctx, $inc) X-Ref |
param: SplFixedArray $ctx param: int $inc return: void |
update(SplFixedArray $ctx, SplFixedArray $p, $plen) X-Ref |
param: SplFixedArray $ctx param: SplFixedArray $p param: int $plen return: void |
finish(SplFixedArray $ctx, SplFixedArray $out) X-Ref |
param: SplFixedArray $ctx param: SplFixedArray $out return: SplFixedArray |
init($key = null,$outlen = 64,$salt = null,$personal = null) X-Ref |
param: SplFixedArray|null $key param: int $outlen param: SplFixedArray|null $salt param: SplFixedArray|null $personal return: SplFixedArray |
stringToSplFixedArray($str = '') X-Ref |
Convert a string into an SplFixedArray of integers param: string $str return: SplFixedArray |
SplFixedArrayToString(SplFixedArray $a) X-Ref |
Convert an SplFixedArray of integers into a string param: SplFixedArray $a return: string |
contextToString(SplFixedArray $ctx) X-Ref |
param: SplFixedArray $ctx return: string |
stringToContext($string) X-Ref |
Creates an SplFixedArray containing other SplFixedArray elements, from a string (compatible with \Sodium\crypto_generichash_{init, update, final}) param: string $string return: SplFixedArray |
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |