A Quantitative Study of Two Attacks