Wrote a first pass at hash and scaler diff generation