POV-Ray : Newsgroups : povray.off-topic : How to break a simple "encryption"? : Re: How to break a simple "encryption"? Server Time
28 Jul 2024 10:15:12 EDT (-0400)
  Re: How to break a simple "encryption"?  
From: Le Forgeron
Date: 3 Jul 2014 10:40:52
Message: <53b56b74$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.