hadrieng2 / challenge-solver Goto Github PK
View Code? Open in Web Editor NEWTrying to kill a crypto challenge with fire
Trying to kill a crypto challenge with fire
Hi,
I'm reading your solution (which is quite short, well documented, and in a cool language, so big up for that :D), and I just wanted to share some thoughts about a comment you made on line 114 :
Lines 112 to 114 in 45b12a6
There exist some counterexample to this assertion. For instance, 0b110 (dst) ^= 0b111 (src)
transforms 0b110
into 0b001
, which removes a 1.
However, it seems that in that type of cases, performing the opposite operation should give a better result (0b111 (dst) ^= 0b110 (src)
transforms 0b111
into 0b001
, which removes two 1s).
Any thoughts on this ?
Cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.