https://davimci.github.io/notes/physics/bb84/