lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 13 May 2022 00:50:01 +0100
From:   André Coelho <andrealbergaria@...il.com>
To:     linux-kernel@...r.kernel.org
Subject: compress

Hey,


since all numbers are bits, for example a int is 32 bits, can't we use a 
math function to convert from bigger numbers to small numbers?

for example

     int a= 0xaabbccdd


f(a) = 0xff


we could only store 0xff

and for obtaining the a again, just use the inverse function...the 
function has to be bijective though

f-a(0xff) = 0xaabbccdd


thanks


later


andre coelho



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ