Questions tagged [timing-attack]

32 questions
-1
votes
1 answer

Java: Why is this Equal-String function protected against timing attacks

On Stackoverflow I found the following String-Equal-Function, which should be resistent against timing attacks. private boolean equalSignatureString(String signature1, String signature2) { if(signature1.length() != signature2.length()) { …
-3
votes
1 answer

python generating numbers in modulus

i need to iteratively generate number x, which follow these conditions (x^z) mod n * x < n n is known, z changes in every cycle i need it because I'm implementing timing attack on RSA, and it's needed to generate such number to measure time…
wyDra
  • 65
  • 5
1 2
3