Skip to content

Month: March 2018

Paw is nice

Paw is a graphical curl with JSON decoder and a bunch of code generators.

Paw is a nice graphical curl with a JSON decoder and a bunch of code generators. If you want to test or explore a REST API, it’s really helpful.

So let’s autogenerate Grafana Dashboards from config data in a MySQL using Python now.

1 Comment

Hashes in Structures

In Hashes and their uses we have been talking about hash functions in general, and cryptographic hashes in particular. We wanted four things from cryptographic hashes:

  1. The hash should be fast to calculate on a large string of bytes.
  2. The hash is slow to reverse (i.e. only by trying all messages and checking each result).
  3. The hash is slow to find collisions for (i.e. it’s hard to find two input strings that have the same hash value).
  4. The hash does chaotically cascade changes (i.e. a single bit flip in the original message does flip many bits in the hash value).

With these things and general cryptography we can built three very versatile things that see many applications: Digital signatures, eternal logfiles (“blockchains”) and hash trees (“torrents”).