instruction stringlengths 32 27.2k |
|---|
I collect entropy from the following sources:
system_entropy = System provided crypto entropy stream (CryptGenRandom on Windows)
user_entropy = User-provided entropy - in a form of a byte stream of serialized random mouse movements, key strokes etc (this is manually entered by the user, similar to how TrueCrypt collec... |
I have a huge list of MD5 hashes, which takes up quite some space. I wonder whether I would achieve (some) compression by encoding the characters (which are A-F 0-9), with Huffman coding. I made a quick script, and seem to notice that almost every character in the strings (A-F 0-9) has the same frequency in the file of... |
Alice encrypts her data with HER secret key. Then she sends the encrypted data to Bob who should encrypt it with HIS secret key.
Caroline should then eventually get this double encrypted data.
Caroline only wants to receive pseudo-random (looking) data which would only be decryptable for her if Alice and Bob BOTH tell ... |
From what I could research, XORing a random key adds confusion.
But I do not undertand the rationale for that classification. Shannon's confusion is supposed to obscure the relationship between the ciphertext and key, but the OTP clearly does not do this: unlike many other ciphers, if one has one plaintext and correspo... |
Boxcryptor uses various CSPRNGs and apparently hashes the output using PBKDF2 to derive the final key. Even though the choice of PBKDF2 is probably not semantically correct (PBKDF2 is intended for passwords), I wonder if this iterative hardening actually makes sense.
Let's suppose the CSPRNG is backdoored/buggy/broken/... |
I am a bit of a newbie to RSA encryption, so please be patient.
I understand that for a 4096 bit RSA, the numbers p and q should be prime. And to have the best security, the p and q should both be about 2048 bits long.
However, we don't have a way of generating and verifying a 2048 bit prime number with 100% accuracy. ... |
I want a code 'black box' that receives data inputs, processes those inputs, then sends out the outputs.
I want the code to be encrypted, or somehow obfuscated.
Is there any known way to do achieve this outcome?
|
All the articles I read on the web about DSA keep telling me that the size of the hash needs to be truncated so that the bit length is equal to or lesser than the bit length of the prime number of the field.
For example, Wikipedia says:
Choose an approved cryptographic hash function H. [...] The hash output may be tr... |
Encrypt-then-Authenticate (EtA) seems to generally be considered the better option, compared to Authenticate-then-Encrypt (AtE) (see this Crypto.SE question, for example). The people writing the RFC for TLS 1.2 seem to have been aware of this, but have chosen to use AtE anyway.
Is there a reason why this is the case? I... |
[This approach is flawed. A different speculative approach using an RNG instead of the cipher as a source of entropy was posted as a separate question]
Assume $E$ is a block cipher, $C_0 = IV$ and $P_0 = 0$
Encryption:
Add an additional block to the message and store the key in it, ie. $P_n = Key$.
Encrypt all non-fin... |
The most promising of the 4 approaches described here (version 4) has been posted as a separate question. This post should be considered for archiving and historical purposes only.
Disclaimer: the algorithms I present here (and in other messages) are used as a hands-on way to learn about developing crypto algorithms, (... |
In a substitution cipher, I recieve 3 bits and than I return another 3 bits.
The key of this cipher could be a matrix represented as:
(0) 0 0 0 => 0 1 1
(1) 0 0 1 => 1 0 1
(2) 0 1 0 => 1 1 1
(3) 0 1 1 => 0 1 0
(4) 1 0 0 => 0 0 1
(5) 1 0 1 => 1 0 0
(6) 1 1 0 => 0 0 0
(7) 1 1 1 => 1 1 0
So, when we receive 000, t... |
In security, and specifically Block Cipher (AES, DES, etc), when we talk about pseudo random permutations, is the term "permutation" refer to the same meaning as in discrete mathematics. That is, the random shuffling of elements?
So let's the input of DES has n 1s and m 0s, is the output gonna be n 1s and m 0s as well?... |
As I understand, ECB should not be used as encryption mode unless you are encrypting single blocks of data which are always unique and only are encrypted once.
I have a collection of ids represented by integers that I encrypt and transmit (individually) with the same public key using RSA/ECB/PKCS1PADDING. Sometimes the... |
I am studying Merkle tree signature. Let $\sigma=(s,Y_s,\sigma_{\text{OTS}},As)$ be a signature of certain document. Here $s$ is the index of leaf, $Y_s$ is the respectively OTS public key and $A_s$ is the authentication path. My questions are:
1) Is there any attack where an adversary changes part of the signature $\s... |
My idea is to use a stream cipher encrypting 16 bytes at a time as a primative block cipher in a mode of operation such as CBC mode. Is this practical or useful in any way?
|
Given the public key (n, e) and private exponent (d), how to calculate CRT parameters (p, q, dP, dQ, and qInv) of this RSA key pair?
|
I'm trying to create an algorithm to find the public exponent e given a plain (non-CRT) private key that doesn't include the public exponent, i.e. I've only got $n$ and $d$.
A question has already been asked how easy it would be to find the public key given a private key. The answer was that it was likely to be easier,... |
I was reading 'Pinocchio Coin' paper by Danezis et al. where they have said,
"If we use the efficient pairing groups of Pinocchio, computing discrete logarithms in the exponent field $\mathbb{F}_p$ with p ≈ 256 is easy. We could switch to non-standard and larger pairing groups, but this seems undesirable as it would br... |
Apple's latest security documentation indicates that it now uses CTR_DRBG for generating pseudo-random numbers (previously Yarrow instead of CTR_DRBG), using "timing variations during boot" and "interrupt timing once the device has booted" as seeds. Calls to the iOS API SecRandomCopyBytes will retrieve random bytes fro... |
Are ring signatures possible with elliptic curves? If so how. The original paper by Rivest, Shamir, Tauman seems to require an invertible trapdoor function. But I've only seen algorithms for secret agreement (ECDH for example) with elliptic curves. That doesn't seem to be adequate to complete the ring - don't you need ... |
I have been trying to use Go (I could post the code, but I think I posted enough already...) to generate a PGP RSA key. However every time I try to encrypt something with it, something fails. However, I can import it into gpg. I also have no idea what is failing as the error codes have not been completely helpful.
Here... |
Aumann and Lindell defined covert adversaries in 2009 which is informally adversaries which have a epsilon-deterrence to cheat. Some authors (for ex. John R. Wallrabenstein) have defined similar adversaries and called it rational adversaries who act "rationally". I have not seen a simulation-based definition of rationa... |
What is the difference between H(M) and H3(M, s, IDA)?
I am aware of Hash function with a Message and a Key, but there are three parameters in:
H3(M, s, IDA).
Here M is the message, s is the key, and IDA is the identity of user A.
I meant that how to implement secure hash H3(M,s,IDA)
|
For calculating accumulated values for set of elements chosen randomly from, say, $\{e_1 ,e_2,...e_n\}\subseteq X$ we use the formula $acc= g^{f(e,s)}$ where $f(e,s)= (e_1+s)(e_2+s).....(e_n+s)$.
Then, the witness for $e_k$ is calculated as $wit_{e_k} = g^{\prod(e_i+s)} $ where $i \ne k $ (i.e., accumulating all value... |
If one wants to set up a decentralized cryptographic enforcement scheme in which the level of 'confidentiality' of information is marked by its position in a poset, why not use Diffie-Hellman to derive the key of a node from its immediate parents?
This is as opposed to the tree-based scheme described in this paper.
In ... |
I would like to know if there is any security issue in sharing a secret key (of an asymmetric cryptography) between several users.
I know that this secret key is no longer "secret", so it's no longer valid for signature.
The advantage of doing that is to allow a user to send a message to many others (all those sharing ... |
I have been searching about if it is more secure to use CBC mode in OTP but I can't find anywhere where people have sad that it is more secure.
Question: Is CBC mode in OTP more secure?
Because I have been reading articles like "https://stackoverflow.com/questions/22212407/how-to-alter-cbc-encrypted-text-to-change-the-... |
I can precompute the key stream for the CTR mode operation and the encryption at that point is similar to a stream cipher. So why are there stream ciphers still used and proposed after RC4? Recently the ChaCha20 as part of the ChaCha20-Poly1305 AE cipher.
Are there advantages to using a stream cipher especially?
|
Are there any practical limitations? Govt driving license, passport, SSN could be digitally signed making it easy for anyone to validate. They can have a qr code in them which can be easily validated using an android or ios app offline if the corresponding public key is pre installed. This will make fake ids impossible... |
Before round 1 begins, all 64 bits of an incoming message and all 56 bits of the secret key are separately permuted (shuffled)
My question is this : Is the shuffling of the bits performed randomly? If it is performed randomly then how does the reciever decrypt the message successfully even though he/she does not know... |
Alice and Bob meet regularly. They have agreed face-to-face a 128 bit password which they want use to encrypt/decrypt emails written between them.
They decide to use 256-bit AES. Alice wrote her message, but found that every AES 256 application she used to encrypt her text provided a different ciphertext. She could not... |
Is there any non-interactive zero-knowledge proof for discrete logarithm without random oracle over the group $\mathbb Z_p$?
|
I'm quite new to the topic and read a bit about poodle and padding oracle.
I quite understand the "regular" padding oracle attack, substituting the last byte of block(n-1) to determine the last byte of block(n) - by "myguess" XOR 0x01 for the last byte and so on.
Articles on poodle however state, that the attack is bas... |
I am studying about different operation modes of block ciphers my question isn't something specific to that, but is how these operation modes are used in cryptography?
I have this picture here (OFB-mode):
(source)
I would like to know how these operations are combined with a block cipher algorithm? For example we have... |
I'm trying to decrypt a PGP Message that is encrypted with an RSA key, but I only have this information:
Public exponent:
65537
Prime 1: c447376fcf2a4d4f03840c83f68b23202f081f8561a1f0295703df258a96b8fd6cc8cb307558d60cbd692a45ed2414370349e28badf0f180419fc1df2cd87e99
Prime 2:
d876bd7c4963b8c06f148da504d1f7c7b9b20a719a0d... |
We are creating a device with a small microcontroller (20 MHz CPU 16 KiB RAM).
We need some way to securely send signed files to device (only signature, no encryption necessary). An external company has come up with an elliptic curve solution but it needs about a minute to verify a signature, without counting the file ... |
I have read the paper Differential Power Analysis of HMAC SHA-2
in the Hamming Weight Model and I want to understand the DPA Attack. In section 3.2.1 Path 1 (page 4) there is written:
The last remaining parts H$^{(0)}$ and C$^{(0)}$ can be recovered by making substitutions in Alg. 1: in Step 7 of round 1, where
H... |
The specification for OMAC has the following to say about OMAC2:
For OMAC2, we adopted u−1 instead of u2 as Cst2. It requires one right shift to compute L· u−1 instead of one left shift to compute (L· u)· u. This would allow to compute both L · u and L · u−1 from L simultaneously if both left shift and right shift are... |
I'm on the study of Diffie-Hellman and its related math (multiplicative group of integers $\mod n$).
In some crypto papers and documents I've read that $g$ needs to be a primitive root mod $n$ ($g$ order in $G = \phi(p)$), but we actually use $g$ as a generator of a large subgroup of order $q$, where $q$ is a large pri... |
The algorithm for mental poker that I saw on Wikipedia and everywhere else relies on an encryption algorithm such that $E_k(E_j(P)) = E_j(E_k(P))$, but I can't find a modern and secure algorithm for which this is true. The only algorithm I found with this property is SRA (I believe that's what it's called) but it relie... |
It seems that several file encryption systems do NOT use authenticated encryption. (E.g. gpg --symmetric and boxcryptor as far as I can determine). I understand that this is generally considered insecure, but is not demanded of full disk encryption. But for individual file encryption, for example where one is storing t... |
I am studying about the AES encryption standard, and as I know from the theory there is no known weaknesses today about this block-cipher.
I would like to find out or at least to understand what "classification" of secureness is AES.
As I know there are several classifications:
Perfectly secure. Which is not able to b... |
In format preserving encryption an attacker knows the format and data type of the plain text. The format of the plain text and cipher text are same. usually cipher text are unreadable form. then how FPE is secure?what are all the possible attacks on FPE cipher?
|
I want to use a key derivation function to derive a key from another one.
I think HKDF is the easiest solution in my case.
This explanation gives a clear definition of HKDF.
In the case where the number of key bits requested from the KDF is equal to the hash output length (i.e. L = k in the definition), do I have to co... |
We are attempting to integrate our application in to a third party system. To do this we need to pass encrypted passwords in to this system. I have decompiled the assembly and looking at the code it seems that they are using something similar to XOR encryption (In a production system...) From what I can see from the de... |
I've come up with an algorithm to solve the socialist millionaire problem, but I'm not sure if the algorithm is secure. I wasn't able to find any flaw in it, but it seems too simple to be secure, so I'm posting it here. Here's how it would work together with Diffie Hellman to prevent man in the middle attacks:
Alice a... |
Is it possible to construct a set membership proof to show $\delta \in \Psi$ where $\delta$ is publicly known and $\Psi$ should stay only known to the prover?
It seems rather impossible but I would like some confirmation.
|
I am reading page 39 in this "Post Quantum Cryptography" book. Why does equation 15 hold? There is no further knowledge about f and you definitely cannot use any power laws. So, why is $f^{2^w-1-b_i}(f^{b_i}(x_i)) = f^{2^w-1} $ valid?
I have my doubts, because $f(x) = x+1$ is already a counterexample.
|
I have this curve in $E(\mathbb{F}_{131})$: $$Y^2 = X^3 + X + 2$$
I want calculate the sum $P + Q$ considering that $$P= (5,1) \quad Q = (60, 49)$$
For calculating the result I use these formulas:
$$\begin{align}
x_r &= \left(\frac{y_2-y_1}{x_2-x_1}\right)^2 - x_1 - x_2\\
y_r &= -y_1 + \frac{y_2-y_1}{x_2-x_1}(x_1 - x_r... |
Having an ElGamal encryption scheme with p=19 which value can not be assigned to
g?
The answers were : 1,7,11,2
I think you can't assign value 1 to g.
|
I intend to authenticate small packets of data, between 16 and 256 bytes each. For some of them encryption will also be required. This will be used on small micro controllers, with RAM sizes ranging in 1 KB to a 64 KB.
My initial approach was to use AES-128 as the base cipher for a block cipher mode with MAC (GCM for i... |
I'm currently reading Cryptography Engineering and in Chapter 7, the topic of secure channel is discussed.
The channel described is using CTR for encryption. Below I include images with pseudo-code used in the book (source):
In Secure Channel: Initialization, 4 different keys are generated (assuming no collisions).
... |
I would like to better understand the operation of the LED algorithm, especially the process of substitution and permutation of the blocks and especially the use of the keys in each round.
The keys in each round are expansions of a single key or keys are different?
Already consulted sources:
https://www.cryptolux.org/i... |
Having shared a pad of length double the length of your anticipated message, splitting it into x and y.
Then using x to encrypt the message, and using y twice to encrypt the next pad, would that be insecure (seeing as the data I'm encrypting would still be random)?
|
I am researching about lightweight hash functions and I've got two related questions:
What is the standard or requirement for a hash function in general to be considered lightweight ?
Why can it be said that the PHOTON hash function is lightweight?
|
Is there any way to parallelize AES running in CBC mode? (The plan is to parallelize it using OpenMP)
|
Why using AES in ECB (Electronic Code Book) mode a bad idea? is CTR mode better? Given only these two can be used for parallelization.
|
GM is a cryptosystem with a modulus $N = pq$ ($p$, $q$ prime) and quadratic nonresidue $r \in (\Bbb Z / N\Bbb Z)^*$ as the public key. You can see the details on Wikipedia.
Anyway, let's say that $N < 2^{1024}$. Then the ciphertext can be represented as a $1024$-bit string regardless of $N$. In which case, you can take... |
$$\begin{pmatrix}2&3&1&1\\
1&2&3&1\\
1&1&2&3\\
3&1&1&2\end{pmatrix}$$
In the above MDS matrix used in AES encryption, why are the numbers $2$,$3$ and $1$ chosen? Why not any other number?
|
Daniel J. Bernstein (and others) have expressed concern over how "verifiably random" curve parameters are generated. He points out that hashing a public seed doesn't prevent, say, the US government (NIST/NSA) from choosing a seed that produces parameters with a one-in-a-million weakness that is not yet known to the ac... |
The biggest problem with using MtE with a mode where it's known to be secure (CBC) is with the padding, where you can't retrieve the authentication until you know where it is by looking at the padding bytes.
Instead, why not just place the MAC at the very end of the last block, and include the padding bytes in the calc... |
I'm looking for Test Vectors to test my implementation of PRESENT. I would like to test a different input from the usual where the key and the plaintext are either 000..000 or FFF...FFF.
|
I want to split a message using Shamir's Secret Sharing by splitting each byte of it so the field I'm using is $2^8$.
Assume $(2,2)$ scheme, i.e., splitting it into $2$ shares and both of them are needed for reconstruction.
By having one share, can I guess the second (I have max $256$ options) and try to build the poly... |
Yesterday I finished programming my own encryption program. It is using an input and a key. Here are all the steps it is going through. For an example, let say the input is "Hello" and the key is "Hi"
You take the input and convert it into binary:
01001000 01100101 01101100 01101100 01101111
You make this Binary str... |
I am using BouncyCastle to perform ECDH and then encrypt the data between the mobile (Android) and my hardware with ECIES. It all works fine. When I try to sign a byte array and send it to the hardware, the hardware fails to verify. My code to sign is as follows. You can see in the code below that I use NONEWithECDSA b... |
I have noticed, during the period I spent studying RSA, that Euler's Totient function can be calculated in another way than $ϕ(N) =(p-1).(q-1)$
Let me explain myself by pointing to a brief example:
$p = 131$
$q = 11953$
$N= p*q = 1565843$
The totient defines the quantity of positive integers less or equal than $N$ copr... |
From wikipedia, the DDH assumption says,given a cyclic group $G$ of order $q$ with generator $g$, $(g^a, g^b, g^{ab})$ looks like $(g^a, g^b, g^c)$ where $a,b,c$ are randomly and independently chosen from $\mathbb{Z}_q$.
Then what I wonder is, whether $(a,(g^a)^b )$ looks like $(a, g^c)$, where $a,b,c$ are randomly and... |
I know hill cipher is a block chipher ,We produce decryption key by inverse of key matirx but we still use different key for decryption. Therefore Can we say that Hill cipher is asymmetric chipher?
|
I need to know:
1- What does exactly correctness mean in this context?
2- How is correctness implied in malicious model?
3- If the correctness means " the adversary cannot cause the output to be incorrectly distributed"[1] then it can change the computation result with the correct distribution.
[1].Carmit Hazay · Yeh... |
Without having any knowledge of common encryption methods, I wonder if an encrypted text can look like random valid words as if it is a sentence. Is it possible? If so, what methods should I use?
|
While practising on paper I've realized of a property of multiplicative group of integers mod $n$.
First, let's define $G$ being $p$ a prime and $g$ a primitive root mod n or a generator of a subgroup of $p$ whose order is a factor of $|G|$.
Example:
$p=23$
$|G|=p-1=22$
Then find a valid $g$ whose $Ord_{p}(g)=p-1$ or $... |
I have an application that I use sha3-512 to hash my password with a randomly generated 64 characters salt for each password. Is it bad to use this method to store passwords? I know many people reference using bcrypt for password storage. What are the advantages/disadvantages of using bcrypt vs. a hash/salt combo?
|
A quick question, we know that raw RSA is a no go. To solve this we have different PKCS standards forcing structure on the input messages.
For EC the story is something else. For signatures we have ECDSA, for general encryption we have ECIES (hybrid) and ElGamal encryption. Or ECDH for key agreement
None of those schem... |
Intro
For deduplication purposes, I need to split a stream of plaintext bytes into variable-sized chunks. The way this is traditionally done is using a rolling hash function defined over some window $w$ (e.g. 48 bytes). This window "slides" along the byte stream and is evaluated at each byte position, and when the valu... |
Consider the case that
$c = a \cdot b \mod p$
where $p$ is a known prime and $0 < a < p$ and $0 < b < p$ are unknown integers numbers. Furthermore, some bits on the value of $c$ are known.
Q1: Can an attacker learn some bits of $a$ using this information?
The question is based on the following non-modular example:
$a =... |
I don't see an immediate risk of using the hash of the key as the nonce for AES GCM. Is there something I could be overlooking?
|
If you are brute forcing a key and trying trillions of combos, how will you know when you accidentally hit the right answer? Clearly you can't look at each decoded answer to see which "looks right".
|
Random oracles don't exist, but aren't PRFs essentially indistinguishable from them? So why can't we substitute pseudorandom functions wherever we use random oracles?
And if we can do this, why is there any controversy over substituting hash functions for random oracles, when we can instead use pseudorandom functions w... |
I was looking the certificate of this website: https://www.cloudflare.com that has an ECC based certification.
I'm just curious to know if is possible to understand which elliptic curve is used and which point is used.
Another thing: I don't understand why in the certificate there is a RSA 2048 public key and not an E... |
It took more than a decade from when MD5 looked like it was going to break to the point when it was actually broken. That's more than a decade of warning. One might suspect that we were fortunate that we got all that time. Even so, it took a long time for the world to move away from MD5.
How can we be sure that when ou... |
Alice has a secret A, Bob has a secret B. They have a secure channel and a MAC. They each want to know the other's secret, but don't particularly want to give up their own. However, neither will not lie about the secret, but if possible, will stop communications once [s]he learns the other's secret.
How can such a prot... |
I have imagined a way to break through any kind of censorship but since I don't have enough professional knowledge of cryptography I don't know whether it is feasible or not.
If there is a method that can only enables the recipient to know this message is for him, and when others catch this message they don't even know... |
If you have the cyclic group of integers modulo $p$, where $p$ is not a safe prime, as well as a generator $g$ with which for all factors $q$ of $(p-1)$,
$g^{(p-1)/q} \ne 1$,
This answer says that given $g$ and $g^x \bmod p$, we can determine $x \bmod q$ in $O(\sqrt{q})$ time.
What algorithm lets us do that?
|
The equation for the elliptic curve is $y^{2} = x^{3} + x$ and is defined over the field $F_{q}$ for some prime $q\equiv 3 \pmod 4$, and set $q=307$. Choose random generator $g=[182, 240]$. My question is that how do I construct a bilinear map $e$ and compute $g_{1} = e(g, g)$?
|
The tag wiki for sha-256 says, in part:
SHA-256 ... processes the input in 512-bit block and has a 256-bit output, for a 128-bit security level.
I'm not a cryptographer, just an interested amateur, but how does it follow that SHA-256 has only a 128-bit security level? (More generally about the whole SHA-2 and SHA-3 f... |
I have quite a big problem, because of a software implementation of TLS I had to adapt I had to create something which is now biting me.
It all comes down to this: I need to know the length of the plaintext when I want to decrypt it and the length of the ciphertext when I want to encrypt it. For the 2nd one I've made a... |
EDIT: Fixed for clarity of intention
I was reading "The FFX Mode of Operation for Format-Preserving Encryption" when I came across Figure 1 (see below). It's obvious why it's reversible (top-down then down-top) but it's not clear why it should strictly be bijective instead of not-injective or not-surjective? What rules... |
size_t decrypt(unsigned char *buffer, size_t buflen)
{
size_t i = 0, j = 0;
signed int seed = 7, temp = 0;
for( ; (temp = (signed int) buffer[i]) && i < buflen; ++i)
{
if (temp == 0x5C) continue;
if (temp >= 0x20)
{
temp -= seed;
if (temp < 0x20)
... |
Occasionally I hear people say that one-time pads are "useless" or even "broken".
"modern cryptography knows more security definitions, under some of
which the one-time pad is completely broken."
-- How do we know a cryptographic primitive won't fail suddenly?
...
One time pad: why is it useless in practice?
..... |
So I am curious about the security analysis of Marvin32, the randomized hash algorithm used in .NET (to prevent hash-table DoS). I found the source code here: marvin32.h, marvin32.c.
At first glance, the construction looks really similar to that of SipHash, but:
Marvin32: 1 round per block and 2 finalization rounds
Si... |
I just have gotten into cryptography and learned about the Vigenère block. I think it's a very good idea because, if used correctly, it is unbreakable. But the only downsite is, the key must be the same length as the message. Well, can't you just simply make the block 27x27 big by adding the space into it. That way you... |
A block cipher in counter mode creates a key stream by:
$$z_i = E_K(IV || i)$$
Where $IV$ is some chosen initialisation vector (with some length $l$ less that $n$ bits) and $i$ is the binary representation of the number $i$ in $n-l$ bits. The keystream is then $z_1 || z_2 || z_3 || \cdot \cdot \cdot$
How can we disting... |
What is the SHA-256 hash if the input is null, i.e. an empty bitstring? (Not the hash of 0 or "0".)
|
Recently Bi-clique Cryptanalysis allowed to obtain following results on full AES ES that claim to have
The first key recovery attack on the full AES-128 with computational
complexity $2^{126.1}$
The first key recovery attack on the full AES-192 with computational complexity $2^{189.7}$
The first key recovery attack on... |
I saw Martijn Grooten's talk on elliptic curves at BSides London this year, and it helped me understand how elliptic curve crypto works, especially in the case of Diffie-Hellman (ECDH). He also touched on the use of EC for random number generators (e.g. Dual_EC_DRBG) and why they can be flawed / backdoored.
This got me... |
I'm a beginner to ECC crypto programming. Can anyone explain to me the difference between using ECDH for shared key exchange and the use of ECIES by encrypting a shared key with the public key of the receiver?
I feel that ECIES could also provide me with secure key exchange as long as the private key is kept secret.
|
Say that one uses a known LFG (2 known lags $a$ & $b$, known inner state length $N$, known modulo $m$) to hide some text with a basic à la Vigenère cipher: $C_i=(P_i + {PRNG}_i) \bmod 26$.
Say that the adversary intercepts some ciphered text (not the LFG output),
could they use it to perform a correlation attack to ge... |
Prover is going to convince verifier that 2 objects are distinct, do you know any Arthur-Merlin protocol for this problem?
|
I haven't really seen what computational complexity class of decryption of AES is. Can anyone provide reference papers or answers here?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.