Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
orInt32 example
->
shiftRight
(
4
)
->
mask
(
0x3ffffff
)
)
->
toInt64
(
)
;
$h3
=
$h3
->
addInt32
(
ParagonIE_Sodium_Core32_Int32::
fromReverseString
(
self::
substr
(
$message
, 9, 4
)
)
->
shiftRight
(
6
)
->
mask
(
0x3ffffff
)
)
->
toInt64
(
)
;
$h4
=
$h4
->
addInt32
(
ParagonIE_Sodium_Core32_Int32::
fromReverseString
(
self::
substr
(
$message
, 12, 4
)
)
->
shiftRight
(
8
)
->
orInt32
(
$hibit
)
)
->
toInt64
(
)
;
/* h *= r */
$d0
=
$zero
->
addInt64
(
$h0
->
mulInt64
(
$r0
, 27
)
)
->
addInt64
(
$s4
->
mulInt64
(
$h1
, 27
)
)
->
addInt64
(
$s3
->
mulInt64
(
$h2
, 27
)
)
->
addInt64
(
$s2
->
mulInt64
(
$h3
, 27
)
)
->
addInt64
(
$s1
->
mulInt64
(
$h4
, 27
)
)
;
$d1
=
$zero