News for hackers. Stuff that matters.
Re:Why 111-1111111 is a valid Windows 95 key by bonney_io on Monday February 27, 2023 @05:18PM (#34962770)
For no reason other than it seemed fun, I used this new knowledge to implement my own version of said key-gen, in my choice of dev environment: Swift and Xcode playgrounds. Fun little exercise.

https://gist.github.com/Bonney/5cc85f41cdeb80146c7d5169ded8a...

Re:Why 111-1111111 is a valid Windows 95 key by chungy on Monday February 27, 2023 @05:32PM (#34962929)
Impressive, I see one definite problem and a potential one:

* I had incorrectly stated the conditions of the Y grouping. The digits must sum up to a multiple of 7, rather than be a multiple of 7 by themselves. 0000007 and 0000016 are valid sequences, for instance, but 0000014 is not.

* The Z grouping probably has to be [0-9]. At least I've never tested non-numeric characters whenever I've installed Windows 95 (I usually type out 00195-OEM-0000007-00000 when I install it).