Time-based cryptanalysis: How to defeat it?