Ruby implementation of the Secure QR Login system