|
|
Le 03/07/2014 14:06, Lars Rohwedder a écrit :
> Am 01.07.2014 15:30, schrieb Le_Forgeron:
>>
>> Which value of Secret2 would allow the * (without overloading) to
>> reverse the value with a value of Inverse_of_secret2.
>
> if SECRET2 is be 123456789, its inverse is 16969517551553616445.
>
> It is just the "multiplicative inverse modulo 2^64".
>
> Note the arithmetics of unsigned integer data types is always "modulo"
> 2^BITSIZE of that data type.
You use the crypto-version of the * operation (from Nist), not the usual
multiplication. Using "just" and crypto-modified operator in the same
sentence is... delicate.
--
Just because nobody complains does not mean all parachutes are perfect.
Post a reply to this message
|
|