#C++ #math #cryptography

Meta/Mathical Sentences

Recently a question on Project Euler site made me think about easily verifiable but hard to generate messages. This can have some cryptographic use. The message contains both the content and the verification in one block. Here is an example: In the above sentence the content is “My name is Otuk” and the rest of the message is for easy verification by the recipient. As long as preparing the verification information is computationally intense, the message cannot be quickly modified. ...

#C++ #math #puzzle #cryptography

Adventure of the Cardboard boxes problem

I was looking through Prof. Ian Stewart’s book “Professor Stewart’s Casebook of Mathematical Mysteries” with an idea in my mind to solve the problems posed with computational brute force rather than smart thinking. For some reason the idea of brute force calculations for mathematical puzzles attract me. On page 23 of the book he mentions the question of the cardboard boxes and in the answers section he expands more on what can be done with the question. ...

#arduino #gy-521 #mpu6050 #gyroscope #hourglass #C #C++ #ledcontrol #tilt sensor #maz7219 #8x8 #Matrix Display

Hourglass Project - Final Status - Part 6

Read earlier parts The Hourglass Project came to a finalization point. Project goals have been achieved. The LEDs light up and turn off giving the illusion of balls/sand particles falling down with the pull of gravity in all compass directions now. The hourglass also does automatic dimming/power saving if unused and on touch wakes up after power save. The combination of these make it a simple, but fully functional object satisfying the original targets. ...

#arduino #C #C++ #Cpp #ledcontrol #max7219

A working prototype - Hourglass Project - Part 4

Read Part 3 first The summary update is that I have a working hourglass prototype that delivers the basic requirements. Since the last update, the code changed considerably. Certain nice object-oriented concepts went away, bit packing and elimination of anything that can be replaced or reused from existing objects resulted in the code footprint to shrink to less than half the original size that was working on the PC. This allowed for a successful compile and upload to Arduino. ...