[[File:B11_diff_plot.png|400px]]
BONUS: Why not use correlation or something else instead of the Sum of Difference metric? You can try that if you'd like:
<syntaxhighlight>
diffs = []
diffs = np.correlate(rsa_one, tm.getTrace(target_trace_number))
plot(diffs)
show()
</syntaxhighlight>
== Automating the Attack ==