instruction
stringlengths
32
27.2k
In schemes like SAKE(Symmetric-key Authenticated Key Exchange) , the master keys (used to authenticate parties and generate session keys) are evolving, ie undergo transition $K=update(K)$. What is a good candidate for $update(.)$ function? Would $K=\operatorname{AES}(K, S)$ have "good properties", with $S$ being arbi...
Phi-hiding assumption can be simply stated as (wrt hardness) It is difficult to find small factors of $\varphi(m)$ where $m$ is a number whose factorization is unknown and $\varphi$ is Euler's totient function. Is the hardness due to this assumption comparatively higher than than the hardness of integer factorization...
There already is this pretty big post about the MOV-attack. It states, that the discrete logarithm problem on elliptic curves can be transformed to a discrete logarithm problem over a finite field. This is possible by using a mapping to a field extension. The attack is not useful, if the resulting field extension $F_{p...
My question concerns the recently uploaded paper On the (in)security of ROS that describes an expected polynomial-time attack on the unforgeability of Schnorr blind signatures. a) Does this mean that Schnorr blind signatures should not be used anymore (ie. is the attack merely theoretic or can it be used in practice)? ...
Example: message = 'sup' // encrypt cipher = aesencrypt(aesencrypt(aesencrypt(message, 'CFB'), 'CTR'), 'OFB') // decrypt message = aesdecrypt(aesdecrypt(aesdecrypt(cipher, 'OFB'), 'CTR'), 'CFB') if it's not a possible vulnerability, it'd just rather use all 3 than decide on one.
Referring the slide 16 from this link: I want to ask why is MAC encrypted along with the data to be transmitted. Why isn't MAC just appended at the end of encrypted data ?
Can someone explain what are the ways to get an output of SHA-1 with first 2-bits which are zeros?
I want to understand the Pollard kangaroo attack on elliptic curves. I found this Pollard's kangaroo attack on Elliptic Curve Groups Q/A pretty helpful, but not complete. The posts provides a pretty good algorithm for the attack: def pollardKangaroo(P, Q, a, b, N): # Tame Kangaroo Iterations: xTame, yTame = 0, ...
I recently learned about the one-time pad method, which has perfect security if the following conditions are met : The key must be truly random. The key must be at least as long as the plaintext. The key must never be reused in whole or in part. The key must be kept completely secret. As a thought experiment, I wonde...
Imagine you took a standard one-way hashing algorithm (like SHA-256), and you implement it in hardware using simple logic gates. Now, replace each logic gate with an equivalent reversible logic gate (e.g. toffoli gates). Let's assume we're limiting our messages to 256 bits. We wind up with a circuit that produces the u...
Are the GPS coordinates (latitude and longitude) a good source of entropy? If yes, why? If no, why? The question would investigate on the fact if the GPS location data can be used as source of entropy in the cryptography field, in general. The question could be trivial or not, it depends by several factors (e.g. the sc...
Suppose we have $N$ encrypted values under homomorphic encryption (BFV/BGV ..), and we know that $M$ of them are below $t$. Is it possible to remove those $M$ values? It is known that some methods (e.g. homomorphic comparison) can out put $N$ encrypted $1$ or $0$s denoting whether the value is above $t$ or not, but I n...
I am struggling to understand why blake2b is faster than blake2s, despite that blake2b is 512 bits hashing. I hope someone can clarify that for me. I read the official paper for blake2b, but I am not a very technical guy. I didn't understand much of it.
In differentially private deep learning, the sensitivity is determined by clipping gradient norm (see Abadi et al.'s paper). In this paper, when the clipping gradient norm is $C$, the sensitivity is $C$. Why is the sensitivity $C$? I think the sensitivity should be $2C$.
Alice and Bob know nothing about one another, and talk for the first time on a video channel that they are not in control over and that might be compromised. They want to create a new secure channel, but can only transmit information about how to do so over the insecure channel. How can they exchange information to cre...
I suggested to my client to use SHA3 instead of SHA2. I know that SHA3 is based on Keccak algorithm which won the NIST's competition. I want to explain the structure of sponge functions in very simple terms; does anybody have a simple explanation of cryptographic sponges?
Isn't it possible to make algorithms that are both computationally complex and have many possible answers if you try to crack them without knowing the password? Why aren't many popular algorithms like AES like this?
While reading the paper on the SIGMA: the ‘SIGn-and-MAc’ Approach to Authenticated Diffie-Hellman and its Use in the IKE Protocols (Krawczyk,2003), I noticed that in the "full-fledge" protocol section on page 24, the author says "Very importantly, the protocols should separate the functions of DH exponentials and fresh...
Was wondering why there is no straightforward way of using ed25519 keys for encryption. Then I found this: https://github.com/indutny/elliptic/issues/108 There it is stated that it's unlike RSA not recommendable for this purpose - one should rather derive a Symmetric key from diffie-hellman style shared secret. It is r...
I have a small number of hashes. I would like to combine them into a single hash. XORing the hashes ignores their order, which is important. Also, it could lead to a result of zero if there were an even number of identical items hashed. Would rotating each hash (by a distance equal to the item's position) before XORin...
Let $\mathcal{R}_q = \mathbb{Z}_q/\langle x^n + 1 \rangle$, with $n$ a power of $2$. Suppose that we sample $\mathbf{r} \leftarrow \mathcal{R}_q^m$ uniformly at random with the property that $0 < ||\mathbf{r}|| \leq \beta$. Given $(\mathbf{A} \leftarrow \mathcal{R}_q^{n \times m}, \mathbf{s} = \mathbf{Ar})$, find $\mat...
An algorithm is simpler than another if It is easier to explain to a noob with basic high-school math knowledge. It is easier to securely self-implement by an intermediate programmer (Yes I know one should never 'roll their own' but this is just a metric of comparing simplicity) Can be done by hand & paper more easily...
Let $e_x$ be a symmetric encryption function in regards to key $x$. Let $y_1 = e_1(x_1), y_2 = e_2(x_2)$. My goal is to prove that: $$x_1 = x_2$$ Is there a way of proving this using ZKP? I can't seem to find anything on zero-knowledge proofs on symmetric encryption. My ultimate goal involves a hash function $H$ and $y...
Unfortunately, this structure doesn't even have a full Wikipedia on it. I'm struggling to understand it. There are no Youtube videos, Lectures, or any educational video on it. I want to understand how the structure works, and I don't care about the maths behind the hash iterative framework. I would also like if someone...
I'm trying to solve a challenge that is no longer active. I failed it when it was active, and I still can't resolve it. The challenge showed me a hash, and I have no idea what kind it is, and how does it make sense that parts of it are separated by hyphens? I thought about md5 , is it possible? 14d6532f-aefb-49c7-b418-...
I'm trying to understand the X3DH protocol used in Signal and many other end to end encrypted messaging apps. There are other questions on this site asking about why the signed prekey exists. I'm asking why the prekey need to be signed. In section 3.3 of the specification, 4 (3 if the one-time prekey is missing) Diffie...
Does it make a difference against birthday attacks if the algorithm that I am using is 512 bit hashing?
I have a server app that stores encrypted payload ($textPayload) that users encrypted on their side (The server is just stores is and serves it). Users can use multiple encryption keys for different payloads ($textPayload)- the server doesn't know. I am thinking about how to implement editing. One approach I came up wi...
During the TLS 1.3 handshake using the cipher suite TLS_AES_128_GCM_SHA256 a server and client traffic key/iv will be derived using HKDF based on the shared secret, see rfc8446 #7.1 Why is it necessary to derive the key/iv for both the server and client instead of a single key/iv for encryption and decryption?
If we just know the Merkle root and the data block and we want to know this block is a member of this merkle tree. We need to know all the blocks from the leaf to the root that are associated with data block and we ignore the rest. But how and whats the point of this?. If the system is doing so much work finding the bl...
If I understand correctly, Whitebox AES is a way of transforming decryption code to make impossible to recover the decryption key, even if you have access to the code. But what's stopping someone from just separating the entire whitebox decryption function from your program and using it inside their program? They won't...
This is my first post. My interest for cryptography is exclusively motivated by cryptocurrencies. My question is: If I generate some keys, how do I actually verify that the address is indeed associated with that private key (without the need to test a transaction on the blockchain)? Can we apply this for all cryptocurr...
I want to encrypt a JSON file while exposing its interface (the name of the object fields) in clear text. Since this exposes part of the content of the file, my guess is that an attacker could use this to hack the encryption key. Are there encryption methods that can circumvent, or at least be safer for cases like this...
Given that it's otherwise just a truncation, I can guess that being able to compute the 224 value from the 256 value is an unwanted property, but that's just speculation.
What is the ChainOfFools/CurveBall Attack on ECDSA on Windows 10 CryptoAPI (Crypt32.dll) Could someone provide details?
Conceivably, Alice could release a public encryption key and promise to release the private decryption key on a certain date. That way anyone could use that encryption key, combined with others from similar services, and throw away the key so the message will only be readable after a certain proportion of the keys have...
I'm a working programmer (read: a person without a maths degree) trying to get a better grasp on elliptic curves specifically in the context of elliptic curve cryptography (though to be clear, this is for personal development — I'm in no way trying to roll my own crypto). One concept that's difficult to grasp for me is...
I am trying to convert a homomorphically encrypted integer to a homomorphically encrypted binary number (in vector form like {Ciphertext(1),Ciphertext(1),Ciphertext(0),Ciphertext(1)}), which I cannot really get the remainder (and any other "intermediate results") without decryption. Is there really a way to do this?
I'm sure there's a proper name for this, but I have no idea what it is. When my family fled Europe, one of the remaining items are a letter and a key from a bank. The general idea was that whomever has the letter and the key, was allow to open a box that then had ... something that is lost to history. One family mem...
So I was supposed to use hash some co-ordinates and I was supposed to use k 3-wise independent hash functions in order for the mathematical explanations behind that algorithm to be hold. But after using k 3 wise independent hash functions, I got kinda bad accuracy(I used tabulation hashing which I myself wrote for this...
I know it is possible to use RSASSA-PKCS1-v1_5 with client certificates in TLS 1.3. But what about the other way around: using RSASSA-PSS with client certificates in TLS 1.2? Is it possible to use RSASSA-PSS signed certificates with TLS 1.2 at all? Do I have to fall-back to RSASSA-PKCS1-v1_5 during handshake? I searche...
From what I understand about crypto such as Ethereum or Bitcoin, Miners are verifying transactions and being awarded for doing so. Right now Ethereum has some really high gas prices. (Price of transfering eth). I have also found out that it's not really profitable to be a miner anymore unless you have a very high end m...
I remember reading that the RSA algorithm was only permitted for encryption when used to encrypt a symmetric key (essentially leading to hybrid encryption). However, reading through Annex A: Approved Security Functions for FIPS PUB 140-2 this doesn't seem to be an option. Did I mis-remember? Are there any approved asym...
Is it possible to have an encryption scheme that could be encrypted with a particular key, then decrypted with a large amount of keys without massively inflating the size of the final result? I am looking for an encryption scheme that would allow me to encrypt a block of data, then be able to decrypt it with a highly s...
I was reading a book called Serious Cryptography. There is a page saying that block size must be large enough to prevent codebook attacks: When 16-bit blocks are used, the lookup table needs only 2^16 × 16 = 2^20 bits of memory, or 128 kilobytes. With 32-bit blocks, memory needs grow to 16 gigabytes, which is still ma...
Granger et al. recently published a paper about breaking a record for discrete logarithm on the Binary field Computation of a 30 750-Bit Binary Field Discrete Logarithm, Robert Granger and Thorsten Kleinjung and Arjen K. Lenstra and Benjamin Wesolowski and Jens Zumbragel, August 2020 They computed the discrete log of...
Let in ECDSA, $G$ is the base point, $P$ is a public key with the corresponding private key $k$. $G_2$ is another base point, $k_2$ is another private key. $P$ and all variables except $k$ are known. Consider the following system of equations: $\begin{align}[k]\,G &= P\\ [k_2]\,G_2 &= P\end{align}$ Givens: $G = (G_x,G...
I'm facing the problem of implementing pseudo random bit generator (PRBG) on a very low power device. NIST.SP800-22 "Statistical test suite for Pseudo Random Generators" suggests a suite of 15 tests for randomness. Is there a way to use those tests as "randomness measures" except from pass / fail? That is, suppose yo...
I was writing in a document about the flaws of the MD construction which pushed cryptographers to create different and more robust constructions. However, I don't know why HAIFA and Sponge constructions don't suffer from this attack.
I'm learning how CTR mode and there is something I have trouble understanding. If I understood correctly, two components are encrypted with the key, a nonce and a counter concatenated, and it looks like for example a5b1fe9ac36701ba0000000000000003 : 8 bytes of nonce and 8 bytes of the counter padded with zeros. However...
So I am looking for an explanation of an experiment. In this experiment, I took a set of k hash functions. Say the total number of data points I am working on is d. Call an algorithm A which used that set of hash functions to do some operations on d data points and have modified them to a matrix B.It is mentionable tha...
Can Noise be used asynchronously without weakening its security properties? Specifically, there are two users, A and B, who communicate asynchronously by leaving messages for each other on an untrusted server, but they may never be online at the same time. They know each other's public static keys in advance, so the KK...
In the research paper Breaking the Bluetooth Pairing – The Fixed Coordinate Invalid Curve Attack? by Biham and Neumann, 2019, they talk about attacks in Bluetooth pairing, they state that in the pairing process which involves ECDH key exchange- "sending both the x-coordinate and the y-coordinate during the public key e...
This video explanation is great because it shows an example using small numbers, if it wasn't for that example my code would be wrong. Still: the code takes 0.5 seconds to calculate 300 point doublings using 256 bit numbers. I found it's faster to do point addition or doubling using the Jacobi transformation or Weierst...
I am trying to find out and learn more about Balanced boolean functions. Wikipedia states that " a balanced boolean function is a boolean function whose output yields as many 0s as 1s over its input set", and states that an example of this is XOR. I want to know how the same works for multi-output bit functions, where ...
Suppose $S \in \mathbb{Z}_q^{m \times m}$, and the norm of $S$ is less than an upper-bound $\beta$. Additionally, $A_1, \cdots, A_k, C_1, \cdots, C_k \in \mathbb{Z}_q^{m \times n}$. Here, $k \geq m>n$, and $q$ is a large prime. And $S$ is unknown. The following equations are satisfied $SA_1 = C_1$ $SA_2 = C_2$ $\vdot...
In the Dutch "IT Security Guidelines for Transport Layer Security (TLS)" the ciphersuites using AES-128-CCM_8 (i.e. CCM with a 64 bit authentication tag) are considered "insufficient". This is the only reason given: AES-CCM_8 is a variant of AES-CCM with a truncated authentication tag, which has a lower security equiv...
We already have quantum computing, but when quantum computing becomes commercially available there is a problem for many but not all encryption algorithm. The One-Time-Pad or OTP is the one and only true mathematical unbreakable encryption scheme because it provides entropic security. The question is if OTP will provid...
I've been reading this in many places and I still don't properly understand what it means to be "sound". As an example of what I am asking for: The Fiat-Shamir transfrom is sound in the Random Oracle Model (ROM), where hash functions are assumed to behave as Random Oracles. I know that being in the ROM means that has...
I went through this post SHA256 output to 1-6 number range?, this post, SHA256 output to 0-99 number range? and I felt like the exact way mentioned in the first one is really helpful. I am looking for help to generalize the way for any arbitrary integer, in other words, if we want the output values in range of 0 to n w...
So I was wondering about what will be the dependence of the outputs when I padded one input with two different strings two times for technically generating two different strings, say the input string is 123 and the first time I have padded 12 before 123 $$H(12\mathbin\|234)$$ and next time I have padded '24' before '12...
I made a simple python program in the Charm framework (https://github.com/JHUISI/charm): from charm.toolbox.pairinggroup import PairingGroup,ZR,G1,G2,GT,pair group = PairingGroup("MNT224") g = group.random(G1) h = group.random(G2) a, b = group.random(ZR, 2) G1 = (g ** a) ** b G2 = g ** (a * b) H1 = (h ** a) ** b H2 =...
I am looking at ChaCha20Poly1305 WolfSSL. It is noted that the ChaCha20Poly1305 AEAD construction has the property, that it only outputs the plaintext, if the verification of the MAC (Authentication Tag) was successful. I am asking myself whether AES-GCM also can provide this (from a security perspective quite importan...
Goal: I want to implement a paillier algorithm to encrypt images and hide some data reversibly. This is the paper that proposed this algorithm: https://www.sciencedirect.com/science/article/abs/pii/S1047320316301808 (this link can be obtained for free on sci-hub: sci-hub.tw) Question: The paper mentioned that paillier ...
So I need to encrypt a file server-side for transport from server to client and storage on client-side. I'm quite confused as to what I have to watch out for, as it seems like it's insanely easy to screw up really bad. The files I need to encrypt Are binary Sometimes contain big areas of null bytes. Are of medium size...
Suppose that $t_1, t_2, \ldots, t_n$ are my clear texts. Suppose that for any $(i,j) \in \{1,2,\ldots,n\}^2$, $t_i$ and $t_j$ only differ in, say, the 1st $m$-many characters. Finally, suppose that I got an encryption function $\texttt{enc} : t_i \mapsto c_i$. By function I mean a programming function, not necessaril...
I have two questions about the sessions keys generated during the last steps of the Handshake phase: Do the "client write key" and the "server write key" have the same value, even though both keys are generated independently on both sides? (Same question) Do the "client write MAC key" and the "server write MAC key" h...
I have two ciphertexts. Encryption algorithm: DES in ECB mode. Ciphertext: 72EE3532F904CE2AAA966C723C463F294CA8AB1C11E9E0B304BBB6A8E2BD1F34 Plaintext: DetectedSpambotsRemailedMalwares Ciphertext: 90E5AE69FEC309C47D655DE91B0C900B06CF5C4D936FCD0F72EE3532F904CE2A Plaintext: InfectedAccountsSpammingDetected How to find...
I tried implementing the Hessian form of an Elliptic curve over the prime field Fp where, p I have taken as 1051. The curve equation I took is $X^3 + Y^3 + cZ^3 = dXYZ$ with c = 1 and d = 6. Selected (4,2,6) as the base point. Followed the equation (5) and (6) of https://www.iacr.org/archive/pkc2010/60560246/60560246....
As block ciphers are defined as a pseudo-random-permutation over the data (keyed with the key), I was wondering, if there are also constructions for which key and data can be switched and the cipher is a permutation over the key space for a fixed (data) input? So the question is, if the output space of $E_k(a)$ for all...
i'm working on a paper about Machine learning and Deep Learning and i'm wondring about the uses of this domain in cryptography!! so what are these application of Ml that we use in cryptography and the tecniques for that !
I've seen multiple examples of boolean functions being used as a permutation. For example the Keccak Chi : 2.3.1 function: from https://keccak.team/figures.html Or as a formula: for $i=\{0..4\}$ $A_i=a_i \oplus (\neg a_{i+1} \wedge a_{i+2})$ with indexes calculated modulo 5 The first question would be, what is the rat...
Problem statement: "Suppose that users Alice and Bob carry out the 3-pass Diffie-Hellman protocol with p = 101. Suppose that Alice chooses a 1 = 19 and Bob chooses b 1 = 13. If Alice wants to send the secret message m=5 to Bob, show all the messages exchanged between Alice and Bob." Official solution: $a_2 = {a_1}^{-1}...
Does anybody know a point-matching function for curve 25519? Or has a straight-forward way how to derive any arbitrary point-matching function? It should be like a reversible mapping from and to a 128+ bit number to and from points on the Curve 25519. The aim is actually to have the point being on the edwards form of t...
I read a CTF writeup about cracking 4 primes RSA numbers from here: Given $p, q, r,$ and $p+q+r$ are prime numbers. The challenge encrypts the flag with a modulus $N=(p∗q∗r)∗(p+q+r)$ and gives the output $n=pqr, k=p+q+r$. To totally break the cryptosystem, we would want to find the totient of the modulus $\varphi(N)=(...
We know that non-trival deterministic algorithm does not guarantee privacy and randomization is essential for privacy (pp.16 in [Dwork and Roth 2014] ). The well-known $\epsilon$-diferential privacy is defined for randomized (probabilistic) algorithm (see the link https://en.wikipedia.org/wiki/Differential_privacy). ...
What I need is a set of pairs, where the first element of the pair is a 384-bit input (including the sequence of 384 zero bits) and the second element is a corresponding 384-bit output of the Xoodoo permutation. Does such a test vector exist?
I am looking at a scenario where I would like to claim to an authority (call it A) that I am indeed me without revealing my identity documents. I am guessing some zero knowledge protocol has to be used. We can assume a trusted authority where I will show my identity documents for authentication. But I do not want A to ...
Is there any way to make an encryption scheme where you can check whether two values were very similar by only looking at the encrypted values. By alike I mean something like 1113740 and 1123740 are alike. Ideal would if you could make something like a threshold distance in a normed space. Is this possible or will thes...
I try to relate my own calculation with the real result being about 150.738.274.937.250. The plugboard has 26 letters, and you have 10 wires to connect pairs of letters. My idea was to calculate first how many possible pairs you can have. 26*25/2 = 325 [(a,a) not allowed, and (a,b)=(b,a) so divide by 2 to remove duplic...
I try to implement aes-128-cfb myself for learning. To confirm whether my implementation is correct, I want to verify it with a well-known library such as OpenSSL. But then I noticed something strange when I try to use OpenSSL to encrypt. I have file cleartext.txt with the following content: This is cleartext that will...
Recently I'm learning about constructing iO from Matrix Branching Programs via Multi-linear Maps (to be exact, [GGH+13] and [GGH15]). However, I have a small question that I couldn't figure out. It seems like the steps of converting a program/circuit into an obfuscated one is to first convert it into an MBP (a bunch of...
Im trying to implement a sponge in Java. The state starts out as an empty 200 byte array of all zeros. In the KMAC samples document from NIST, the following happens: (black line is a pdf page break) The way Im reading this is that a state with a bunch of zeros was sent into KECCAK, and then a state with apparently ra...
NIST explained the process of "Randomness Testing of the AES Candidate Algorithms" in the document. The document explains the generation of 9 datasets for AES candidates with 128-bit block length and 128-key length. The document also state the number of streams and length of each stream that were set in NIST Statistica...
I'm trying to understand what the smallest possible RSA public and private keys are. When using $p = 2, q = 3$, the encryption function doesn't encrypt. So I have to shift one prime to get $p = 3, q = 3$ and then the private key is $(9, 3)$ and the public key is also $(9, 3)$. I know that it is trivial to factor the pr...
I (ACME Corp) run a SaaS website that charges a USD amount (lets say $1) per file processed. I directly employed a sales rep. (Alice) at 8% commission i.e. she makes 8% of $1 for every file uploaded by customers and processed. Alice in turn sub-employed a sales rep. (Bob) at 3% commission (making Alice's actual profit ...
Here is a backgroung for the question on hand. While studying RSA I came up to the question about what happens if $p$ and $q$ involved in modulus computation are not actually primes? There is already a related topic on this (Why does RSA need p and q to be prime numbers?). While most of the answers boil down to efficen...
In short: with AES encryption can an attacker create a new key2 and plaintext2 so that AESkey1(plaintext1) = AESkey2(plaintext2) If so, can it be solved by just applying for instance a MAC like AES-GCM or an AES-CTR with a SHA256 HMAC? Intended application: The encryption of a file. Every client having the key can decr...
Client and Server both know the Client's password. Client wants to login. Server sends Client a random string. Client concatenates the string with their password. Clients sends the HASH of this to the server. Server performs the same operation without sending the hash anywhere. Server verifies their resulting hash e...
Let vector ${\bf d} \in \{ \pm 1 \}^n$ be the message we want to send. In my system, ${\bf d}$ is multiplied by an $n \times n$ Fourier matrix ${\bf F}$, as follows $$ {\bf x} = {\bf F} {\bf d} $$ where $$ {\bf F} = \begin{pmatrix} 1 & 1 & 1 & \cdots & 1 \\ 1 & e^{jw} & e^{j2w}&\cdots & e^{j(n-1)w} \\ \vdots ...
I am writing a program that encrypts data in Python and heard about padding oracle attacks, but I think they are overrated (I mean, what are the real-world uses?) even for the old implementations that are vulnerable (the ones that tell if padding is right or wrong like SSLv3). Because: If all I need are two ciphertext...
I want to verify my knowledge of sensitivity. So in $\epsilon$-differential privacy, the noise is added with the Laplace mechanism depending on the sensitivity and the privacy loss parameter. Laplace takes into account the global sensitivity and the noise is scaled on the L1-norm, ιn $\epsilon-\delta$ differential priv...
I understand that hash functions used for hashing a document or some data before signing it, needs to be collision resistant and 2nd pre-image resistance. Otherwise an adversary could "look" for two random documents with the same hash or for a second document, having the same hash as a given document, and just replace ...
This is a rather general question, but I'd really appreciate your (experts, in my view) opinion on this subject. I was wondering if, using current tech like machine learning, quantum computers and ultrafast GPUs, are we anywhere closer to deciphering the (in)famous 340-sign Zodiac letter which he sent to the press in N...
The dragonfly key exchange scheme (as used by WPA3) received criticism because the way it chooses a generator of the elliptic curve group ('hunting and pecking') is a non-constant time algorithm making it vulnerable to side-channel attacks. My question is: Why is hunting and pecking used at all? Assume there is a known...
According to point 10.6.4 (Encryption in Transit) in Security Standard –Use of Cryptography, one of the criteria for key renegotiation is timeout , Encrypted sessions MUST re-negotiate new symmetric keys after one of the following criteria is met: The “counter” in CTR or GCM mode has exhausted all possible unique val...
I am trying to decrypt a text(~900 characters) and I started with the assumption that its a Vigenère cipher as the one of the identifier tool identified it as Vigenère cipher and also the Index of Coincidence (IOC) for the ciphertext is 0.04492. So I used another tool to check the IOC values for different key lengths (...
I have studied about the mono-alphabetic substitution cipher. With Character frequency graph, the encrypted text can be decoded. I am wondering how can be happen?
I'm trying to understand how man-in-the-middle attacks are prevented during key exchanges, and am confused by this Wikipedia statement: Use of mutual authentication, in which both the server and the client validate the other's communication, covers both ends of a MITM attack, though the default behavior of most connec...
In an RSA-OAEP encrypted symmetric Key (AES for example) message. The message is then decrypted by the other party when R is a Random Number That other party doesn't know about. so How it can retrieve back the key when it's XORed with A Hash (hash1) That it doesn't know. I don't think that output of Hash2 helps with an...