timing-attack Questions

4

Solved

From Wikipedia In cryptography, a timing attack is a side channel attack in which the attacker attempts to compromise a cryptosystem by analyzing the time taken to execute cryptographic algori...
Artimas asked 8/2, 2015 at 15:23

1

Solved

This is a borderline topic. Since I wanted to know about programming, CPU cache memory, reading CPU cache lines etc, I'm posting it here. I was implementing AES algorithm in C/C++. Since performin...
Abducent asked 9/5, 2020 at 16:13

1

I'm trying to produce a timing attack in PHP and am using PHP 7.1 with the following script: <?php $find = "hello"; $length = array_combine(range(1, 10), array_fill(1, 10, 0)); for ...
Lulualaba asked 14/1, 2018 at 19:25

2

I have two question that I don't understand. Please help me take a look.Thanks. What is the use of MessageDigest.isEqual function in Java? Explain why, in some versions prior to Java SE 6 Update...
Wellknown asked 10/11, 2015 at 9:7

1

Today I woke up and thought if it would be possible to predict Strings only analyzing the time between each comparison. I create a rudimentary class (I know that it is not the best alghorithm, but...
Algoid asked 13/5, 2015 at 9:6

1

Solved

PHP 5.6 introduced hash_equals() function for safe comparison of password hashes and prevention of timing attacks. Its signature is: bool hash_equals(string $known_string, string $user_string) ...
Vintner asked 12/1, 2015 at 22:8

1

Solved

A naive implementation of memcmp() goes something like this (from this answer): int memcmp_test(const char *cs_in, const char *ct_in, size_t n) { size_t i; const unsigned char * cs = (const uns...
Adlib asked 8/4, 2014 at 11:21

1

Solved

(Note: by "constant time", I mean a constant number of machine cycles when one of the inputs is fixed, rather than O(1). This is the standard meaning of the term in the context of cryptography.) T...
Matchmaker asked 18/8, 2014 at 23:54
1

© 2022 - 2024 — McMap. All rights reserved.