Skip to content

Instantly share code, notes, and snippets.


Wilson Wong wwong

View GitHub Profile
wwong /
Last active Mar 26, 2017
Solution to Comprevawe from VolgaCTF Quals 2017
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from math import log2, ceil
import numpy as np
from import imread, imsave
import pywt
def processData(fs, sizeW, sizeH, mode = 'symmetric'):
coeffs = fs[:int(sizeW), :int(sizeH)]
cA = coeffs[:int(sizeW/2), :int(sizeH/2)]
You can’t perform that action at this time.