Apple's Collatz Hash Patent Application (2013)
google.com
google.com
They even had the nerve to include a generalization of the Collatz function in the patent.
> The hash function can apply more complex variations, such as adding multiplication, addition, modulo or other operation(s) in the even and/or odd operations.
With this generalization one can accidentally construct a variation that simplifies to an existing hash function (prior art?).
Should a patent really be allowed to control the use of an entire class of functions?
How can a patent claim ownership of an infinite number of transformations on an idea?
1. A method comprising:
receiving an input value and an iteration value;
based on the iteration value, iteratively performing steps comprising:
if a least significant bit of the input value is 0,
(1) dividing the input value by a first value,
if a least significant bit of the input value is 1,
(1) multiplying the input value by a second value,
(2) adding one to the input value, and
(3) applying a modulo operation of a prime value to the input value, to yield a first iteration value,
to yield an updated input value;
returning the updated input value as a hash value.
Note that the "first value" and "second value" can be numbers other than 2 or 3. Not even sure how that works.
Also, as the claim is currently written, it seems indefinite, or at least incorrect, because it is unclear if the modulo In step (3) is applied to the input value, or input value + 1, or the input value * second value, or (input value * second value) + 1. An exact reading of the claim implies the former, whereas what they probably want is the latter.
I'm not an expert in either of these areas - but how is cryptographic hashing an obvious application of the Collatz function? Is there some well-known property of Collatz sequences that make them suitable for crypto hashes?
edit: nevermind, it's a patent application and not an issued patent.
HN Posters: Please stop posting patent applications as patents! They are not the same!
OP or mods, can you please update the title? It's currently factually incorrect.
And it's not even remotely cryptographically secure, or even fast.
The problem I see is that this patent claims ownership of an infinite number of transformations that can be made to the Collatz function. There is nothing novel about this. They state that it is used as a hashing function, yet provide no property of the system that qualifies it to be a hashing function.
This belongs in a research paper, not in a patent.
I don't think you and I read the same Alice v. CLS opinion.