Draft of the padding-breaking code