Skip to content

Instantly share code, notes, and snippets.

View unprovable's full-sized avatar
💭
Rubber ducked...

Mark C. unprovable

💭
Rubber ducked...
View GitHub Profile
__author__ = "Mark Carney aka @LargeCardinal"
__copyright__ = "The Author"
__license__ = "MIT"
__status__ = "Proof of Concept - NOT FOR PRODUCTION"
import qiskit
from qiskit import IBMQ
import math
import sympy
@unprovable
unprovable / Breaking_XOR_QC.ipynb
Created November 23, 2021 12:35
Gist for Breaking XOR with Grover on Quantum Computers
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@unprovable
unprovable / Dockerfile
Created January 20, 2025 14:23
Dockerfile for PQC Apache
# You could just use https://github.com/open-quantum-safe/oqs-demos/tree/main/httpd ...
# but if you REALLY want ubuntu flavoured PQC... here's a working version of the script
# on this blog: https://medium.com/be-tech-with-santander/how-to-configure-post-quantum-cryptography-in-your-web-server-fcf79e05e526
# (theirs has a gnarly typo that is fixed below)
# This will PROBABLY BREAK when OpenSSL changes it's format for the default openssl.cnf file, but until then this should be good.
# -M.
# set some versions
ARG OPENSSL_TAG=openssl-3.4.0