instruction stringlengths 32 27.2k |
|---|
While reading Laurent Bussard's thesis, Section 4.5.1, p91 (p119 of the pdf) I wondered about the following paragraph (emphasis mine):
the prover first picks a random symmetric key $k \in_R \{0, 1\}^m$ and uses
it to encrypt her private key $x$ according to a publicly known
symmetric key encryption method $\mathca... |
I have a problem that I'll simplify here. Let's say I want to store a table of {person, fav color}. Only, I don't want anyone to ever be able to look up a person't favorite color; the only thing someone should be able to do is group people if their favorite color is exactly the same (not just merely similar). The obvio... |
In zkSNARKs in a Nutshell, page 12, what exactly are $I_{free}$ and $V_{free}$? Why do we have $V_{free}$ but not $W_{free}$?
|
For example, there are three signers, A, B, C:
A: PK(a) SK(a) MessageA SignatureA
B: PK(b) SK(b) MessageB SignatureB
C: PK(c) SK(c) MessageC SignatureC
and generate a signature aggregation : SignatureAgg.
Is exist a method to check that if SignatureB contains in SignatureAgg, and do not know SignatureA and SignatureC.... |
What does $1^\lambda$ mean when you pass it as a parameter to the functions of a cryptosystem. The cryptosystem in question is this and a picture reference is this.
I have been told it signifies the "security parameter of the cryptosystem" but this is not clear to me. In this picture, you can see that
$\lvert p \rver... |
I'm not a cryptography expert myself, and know enough to know that I shouldn't design my own crypto schemes, so I thought I'd seek advice here.
In an application, let's say we have two database tables: Lawyers and Clients. There exists a many-to-many relationship between these two models, so a Lawyer can have many Clie... |
SIDH is quantum secure, why is it quantum secure? Exactly which part of the algorithm is proven to be NP-hard? Computing the isogeny function?
|
I was reading the Zero knowledge property for Interactive Proofs. It said that for the proof to be zero knowledge, there should exist a simulator that runs in expected polynomial time for all verifiers, such that the simulator can generate a distribution which is identical to the view of the Verifier.
What was the need... |
In public key encryption from LWE, we do the following steps
$\textbf{PKE.KeyGen($1^n$)}$ takes as input the security parameter n, samples $A \leftarrow \mathbb{Z}_p^{n \times m}$ and $\textbf{e} \leftarrow \chi^m$, and outputs a key-pair $(pk,sk)$ where $sk = s \in \mathbb{Z}^n_q$ and $pk = (A,s^T\cdot A + \textbf{e}... |
The RC6 symmetric block cipher is parameterized with three parameters :
W : The number of bits in a machine word (8 , 16 , 32 , 64)
B : The number of bytes specifying key length (0 to 255)
R : The number of rounds to execute (1 to 255)
A data block is specified as 'uint_t data [4]' where 'uint_t' can be 8, 16, 32, or... |
Why not have each person simply treated as a counterparty to an off-the-record chat?
People show up in groups and show an ID which is cross-referenced against a central database to prevent Sybil attacks.
They have their apps generate a set of random numbers by each committing to one or more values and then revealing t... |
The doc of pycrypto gives an example of using AES in CTR mode:
>>> from Crypto.Cipher import AES
>>> from Crypto.Util import Counter
>>>
>>> pt = b''*1000000
>>> ctr = Counter.new(128)
>>> cipher = AES.new(b''*16, AES.MODE_CTR, counter=ctr)
>>> ct = cipher.encrypt(pt)
I think this isn't safe for encryption of multipl... |
I am currently working on a hardware project that will utilize the native USB and keyboard emulation capabilities of the Teensy device. Essentially, the user will store an encrypted password database on a mounted SD card that the Teensy will read and send to the host computer. This prevents the requirement of storing p... |
I have two keys and they have the same KCV. How is this possible?
I have encrypted data with both keys and I have the same result. Both keys are the result of the derivation of the same IMK, one was done by a software and the other one was done by manual process.
Key A: 04 A4 49 F2 DC 46 D3 2A 3E A7 C7 E3 D3 A1 AB BA
K... |
I used "AES/CBC/PKCS5Padding" to encrypt some files. But I did not provide any identifier to detect if the file is encrypted or not. Now one way to detect if a file is encrypted or not, that I can think of, is to try to decrypt it and see if there is a padding miss match.
Now my question is,
Is it possible for some r... |
The complexity of solving the discrete logarithm problem depends on the choice of the group $G$. A popular choice is $Z_p^*$ where $p$ is a safe prime (${p=2p' +1}$ and $p'$ is also prime). In this case, $G$ is a group of prime order so every element in it is a generator. We can do then:
Pick ${g}$ as a random element... |
When proving theorems in crypto we often make use of the concept of negligible functions or, more simply, negligible parameters.
As a rule of thumb, given today (2018) computational power, what is the smallest inverse power of 2 that we can consider negligible?
I expect this to be something around $2^{-64}$.
|
Say a have a group $G$ chosen as $Z_N^*$ where $N=pq$ and both $p$ and $q$ are safe primes. The algorithm for discrete logarithm is as follows:
Pick $g$ as a random element from $Z_N^*$
Pick $x$ as a random element from $(0, N')$ where ${N' = p' q'}$ where ${p=2p' + 1}$ and ${q=2q' + 1}$
Evaluate ${y = g^x \: mod \: ... |
Ferguson, Schneier and Kohno's Cryptography Engineering §5.4.2 describes a construction, $\operatorname{SHA}_d\text-X(m)$, which is just $\operatorname{SHA-\!}X(\operatorname{SHA-\!}X(0^b\mathbin\|m))$ (where $\operatorname{SHA-\!}X$ is any particular SHA-2 hash, and $0^b$ represents a full input block of zero bits).
I... |
Given the following situation, what sort of cryptographic construction am I looking for?
Alice has a bitfield (vector, polynomial representation, etc.)
Bob has a different bitfield of the same length
Alice and Bob want to know the bitwise AND of their two bitfields without revealing the result to others and without re... |
Given $v \in Z$, a prover knows $v$ and the verifier knows an encryption of $v$.
The prover provides the verifier with the encryptions of two values $m$ and $n$
How can the verifier verify that $m+n=v$ ?
I cannot find any scheme/algorithm in the literature I have searched, other than range proofs, and I am looking for ... |
As I know ECDH can be used with a fixed public key. I read there are two types of static ECDH, ephemeral-static ECDH, and static-static ECDH.
What are the differences between these two types?
|
More of a theoretical question...
Taking a system where Lib Sodium has been used for asymmetric encryption, where a "crypto_box_keypair" has been generated, and the public key has been distributed to a number of different systems.
Would it be possible to sign a message using that keypair?
As in, the message remains in ... |
Given a hash function:
$H(x)$ = y
$y$ is publicly known.
Alice wants to prove to Bob that she knows $x$. Alice could create a non-interactive zero-knowledge proof, and share it with Bob. Then Bob could verify that Alice has a valid $x$.
The protocol is describe here:
https://media.consensys.net/introduction-to-zksnarks... |
With no background in higher math or computer science, I could not quite grasp the value of modular math for simple OTP systems as described in other posts here.
I have an alphabet size of 40 characters, valued from 0 to 39.
The pad uses alphabetics "A" through "Z", valued from 0 to 25.
I am using modulo 40 math.
If my... |
During the heyday of rotor machines, the internal rotor wiring was always a closely guarded secret. Even fully cleared repair staff was not allowed to do anything that could reveal it.
As the wiring seems to be considered part of the algorithm 1 and not some form of long time key, would it be even possible to design a ... |
Schnorr protocol is known to be honest-verifier zero-knowledge and not perfectly zero-knowledge.
What are the practical consequences of this fact? Does it mean a dishonest verifier can do something to discover the secret exponent $x$?
Setup
$P$ chooses a large prime $p$ and a generator $g$ of the $q$ order subgroup ... |
Biggest flaw in VeraCrypt(or other Encryption programs) is Hash Algorithm.
VeraCrypt hashes (SHA,Whirlpool,Streebog) it is the only point where can break an encrypted disk. Because break algorithm (AES,Towish,Camellia,Serpent,Kuznyechik) it is practically impossible.
VeraCrypt hashes can be broken by Police with the... |
I recently read a piece of protocol that avoided sending ephemeral x25519 keys in the clear as an effort to foil deep-packet inspection.
I understand that x25519 public keys are effectively 255 bits, which must be serialized as 256 bits, leaving one unused bit that libraries typically fix as 0. For the purposes of this... |
A 128 bit ideal substitution block cipher substitutes 128 bit blocks with randomly assigned 128 bit blocks using a key table.
How secure is this type of algorithm?
Is this practical?
Thanks!
|
We use true random number generators as a source of keys for encryption. What I can not wrap my head around is: How is this cipher text decrypted in case of symmetric key algorithm as we need the same random number to decrypt the cipher text.
What I could guess is:
Is this random number used as a session key and trans... |
I'm currently implementing a group signature verification on Ethereum and it seems that the Pairing check can only return a boolean.
According to the BBS algorithm, to validate a signature $s$, you need to check $$
e(T_3,g_2)^{s_x}.e(h,w)^{-s_\alpha-s_\beta}.e(h,g_2)^{-s_{\delta_1}-s_{\delta_2}} = (e(g_1,g_2)/e(T_3,w)... |
Suppose we have a policy $A \wedge ( D \vee (B \wedge C))$ with attributes ${\{A,B,C,D}\}$. The set of subsets of attributes which satisfy this policy is ${\{{\{A,D}\},{\{A,B,C}\},{\{A,B,D}\},{\{A,C,D}\}}\}$ of which ${\{{\{A,D}\},{\{A,B,C}\}}\}$ is the set of minimal subsets.
We convert the above boolean formula into ... |
I am implementing shake in 32-bits microcontroller, so I would like to use bit interleaving.
I checked the code in: https://github.com/floodyberry/supercop/blob/master/crypto_hash/keccak/simple32bi/Keccak-simple32BI.c but I do not understand how is the bit interleaving transformation done in this code. Could anyone giv... |
Some background: I am using the MicroChip ATAES132a for hardware encryption/decryption. The ATAES132a is very configurable and can be misconfigured in such a way that the encryption/decryption will be performed using the same nonce. In theory, if the nonce is known I can do an encryption of the plain text and get the s... |
I am wondering if there are any theoretical reasons why obfuscated programs cannot be nearly as efficient as the plaintext programs and whether there is any necessary computational overhead from running obfuscated code instead of plaintext code.
Let $\mathcal{O}$ denote an indistinguishability obfuscator; for each circ... |
The need we have is to pass encrypted messages but such that the encryption key can't be generated from the decryption key.
This sounds like with vanilla asymmetrical crypto I know, but in every schema I've seen, one can generate public key from the private key in a reasonable order of time.
Use case: we have a networ... |
Is there a hierarchical key construction algorithm that achieves forward/backward privacy with any (unlimited) leakage of private non-master keys?
What I mean is that if there's an unbounded number of generated keys where their private key is revealed, the master private information is still safe.
The paper "Hierarchic... |
This is regarding an online roulette game that claims to be fair. Here is the explanation:
Two strings are created:
STRING1 = "[NONCE]:[SERVER SEED]:[NONCE]"
STRING2 = "[NONCE]:[CLIENT SEED]:[NONCE]"
HMAC-SHA512 is used to hash STRING1 with STRING2 as the secret key, giving us a 128-character hex string.
The first 8... |
I'm working with SJCL, specifically using ElGamal to encrypt messages. Behind the scenes, this is doing something similar to what's described in this SO post (emphasis mine):
Regardless how big prime p is, you can always generate a random m
number in the range of 1 to p-1 and use that to produce your
asymmetric ci... |
I'm continuing doing some personal research on rainbow tables, but forsome reason I cannot understand how to choose the correct reduction function. Wikipedia states that
"Only when the attacker has a good idea of what the likely plaintexts will be they can choose a function R that makes sure time and space are only us... |
I know that this depends on which techniques you're using, but roughly speaking, when modern cryptography makes use of so-called "large prime numbers", how large (in bits or digits) are these primes typically?
|
Is there an additive homomorphic encryption scheme which guarantees that if provided with
$E(v)$, $E(m_1)$ and $E(m_2)$
and $E(v)=E(m_1).E(m_2)$ then $v=m_1+m_2$
Please note this is not $v \equiv m_1+m_2 \pmod p$
To illustrate, assuming a group of order $p$, the additive version of ElGamal does not seem to match the... |
Looking at the PKCS#11 2.4 spec, C_Login returns CKR_USER_PIN_NOT_INITIALIZED when a "normal user's PIN has not yet been initialized with C_InitPIN". However, I can not find anything that would be analogous to a situation when a user calls C_Login for a CKU_SO user on a token that has not been initialized using C_Init... |
Shamir's Secret Sharing scheme is really interesting but the pain point is that the secret is generated by one trusted party, then the shares are distributed to other peoples.
Is there any scheme using distributed key generation in order to:
Generate a public key using multiple private keys
Generate a private key using... |
The inversive congruential generator over the prime field $k=Z/pZ$ is given by the iterations of the map $x\mapsto a/x+b$ if $x\neq 0$ or $b$ if $x=0$.
One can choose $a,b$ in $k$ such that the orbit length of the iteration is exactly $p$. My question is very simple:
Is the Inversive Congruential Generator actually use... |
zk-SNARK researcher Eran Tromer came up with the following workflow when describing how these proofs are created:
What I am struggling to understand is how a LIP becomes a zk-SNARK. Is the SNARK a hash of the LIP?
I would appreciate any help, or recommendations for reading materials.
|
Would you please explain to me why in the security definition of ideal/real model paradigm which is described in the efficient secure two-party protocol book(Hazay, Lindell), the simulator tries to simulate inputs and outputs of a party(in the semi-honest model), but the simulator just tries to simulate outputs and not... |
Quite a specific question, but are there any threshold signatures that are also homomorphic? Preferably ones that work in the discrete log setting and don't require any pairings.
|
I just finished reading about padding oracle attacks at https://blog.skullsecurity.org/2013/a-padding-oracle-example, and it blew my mind. I think I understand almost all of it, but I do not understand one critical thing:
When looking for good padding, why should the first one (last byte of the message) be 0x01 when y... |
I am calculating the minimum number of active s_boxes for block cipher using mixed integer programming, when can we say that block cipher is resistance to differential cryptanalysis after which round?
For example AES algorithm or LED
|
I have one question that I couldn't come up with a nice solution.
So let's have this analogy, I have a box full of money and I want to deliver to this my friend. Here if we think of a potential attacker there are two possible ways, first the attacker would be between us , so called postman or he could pretend like he i... |
Any advice would be appreciated:
It seems to me that using an uncomplicated combination of a shamir scheme and schnorr it's fairly trivial to have a threshold signature scheme.
I think it's also easier than other scheme's I've read about, and also probably more secure.
Is there some reason this construction doesn't wor... |
Let's say Alice has access only to a value $a$ and Bob has access to both $a$ and $b$. I need Alice to be able to check whether $a<b$ holds, like a relaxed version of the Yao's Millionaire Problem, given that one of them knows both values. The challenge is that the comparison result cannot be trusted if done by Bob, as... |
Suppose I've got a response from a website using https. Is it possible to store the certificate and keys exchange to prove to a third-party that the response came from that domain?
|
There are multiple S-boxes type, as DES uses 4 bit S-box and AES uses 8 bit S-box. I want to know how this effect the security?? If we use 4 bit or 8 bit. apart from the DC attack. Both provides confusion then why 4 bit and 8 bit different size
|
I am reading the book "Efficient Secure Two-Party Protocol". A question came to my mind. why has the author used a probabilistic polynomial time algorithm for security definition of ideal/real model in the semi-honest model, but used a non-uniform probabilistic polynomial time algorithm in the malicious model?
Thanks f... |
$\mathbb{Z}^*_p$ vs $\mathbb{Z}^*_{p-1}$ vs $\mathbb{Z}^*_{p^2}$ vs $\mathbb{Z}^+_{p^2}$
I know $p$ is the value. The value create must be coprime to $p$.
Does that mean that the value create must be coprime to $p-1$?
What about the rest?
|
I am using block cipher mode (CTR Mode) for the transmission of voice data. Need to know, how can I transfer the same IV at the decryption side (for every call) as the IV for the same packets on encryption and decryption sides must be the same.
|
Can I use the security definition in the malicious model in order to prove the security of a two-party protocol which is in the semi-honest model? (I am using IDEAL/REAL Model paradigm)
Would you please explain it to me?
These definitions are from "Efficient Secure Two-Party Protocols-Hazay-Lindell"
Definition 2.3.1 (M... |
One of my friends is creating his own cryptocurrency, just as a fun project, and he made some design choices that I think are insecure, but I personally don't have enough expertise to evaluate.
Assuming we're considering an secp256k1 private/public key pair and a Bitcoin style address (just a hash of the pubkey), would... |
I have designed a two-party protocol where two parties outsource their input to the cloud. For example, Alice and Bob have inputs $X$ and $Y$, respectively, after which Alice and Bob encrypt their input independently and then each one outsources the encrypted data to the cloud, independently. Afterward, the cloud perfo... |
In CPA, it is said that the adversaries get ciphertext for the choice of plaintext of adversaries through an encryption oracle. Is this a realistic assumption in real-world, in which the adversaries get ciphertext for the choice of their plaintexts? If so, please provide me with some example scenarios illustrating how ... |
If we encrypt our data with a longer SSH key which is protected by a shorter passphrase (with a decent entropy), then the limiting factor is entropy of the passphrase. So why do we use a longer key at all? We could simply encrypt the data with the passphrase.
|
According to the above protocol(Efficient Secure Two-Pary Protocols-Hazay-Lindell-page 27), the authors proved the security of this protocol according to the two paragraphs below:
We separately consider the case where P1 is corrupted and the case where P2 is corrupted. If P1 is corrupted, then the simulator S receive... |
In Anonymous Hierarchical Identity-Based Encryption (Without Random Oracles) by Boyen, to prove security it defined challenge ciphertext like
I actually can't get how does the proof work? Why we should define challenge ciphertext like this?
|
My question is about choosing the rotation values in ARX design such as SIMON-like or SPECK-like ciphers to provide optimal differential and linear immunity. According to this, the selection of $a$ and $b$ values (shown in SIMON-like figure below) must comply with the condition $\text{gcd}(n, a-b) = 1$ where $n$ is the... |
I am writing a paper. One of my references is
1)Barreto, P. and Rijmen, V., “The Khazad Legacy-Level Block Cipher,” Submission
to the NESSIE Project, vol. 97, 2004.
My professor criticize me that why I wrote submission to the NESSIE Project or why you did not write the journal of this paper or did not wrote t... |
Requirements:
only publisher can create messages
publisher & subscriber can both read messages and authenticate the publisher
offline message transfer
messages can't be read by non-participants
subscribers can be mobile platforms (Android, iPhone), i.e. less powerful processors
messages lifetime target is 15 years
mes... |
I used OpenSSL s_client to connect to a test server.
Because OpenSSL generated client side private DH key, I think there will be a way to show the private key or enforce a specific private key to be used in negotiation for test purposes.
How can I do this?
|
Any decent hash algorithm will produce basically "random like" values for any given input including the empty input.
For example MD5 produces d41d8cd98f00b204e9800998ecf8427e on an empty input.
I wonder, however, why the MD5 algorithm wasn't defined to have a final step where the output is XORed with d41d8cd98f00b204e... |
I took a cryptanalysis class in university and I learned Caesar Cipher. But I cannot understand why frequency gives me the "key".
In a meterial, the following sentences are explained:
When Eve tabulates the frequency of letters in this ciphertext, she
gets: I=14, V=13, S=12, and so on. The most common character is I... |
In this paper I found the statement "We reduce the fairness problem in MPC to the problem of fair decryption [...] Fair decryption was shown to be a complete functionality for fair MPC in [GIM+10]".
How is decryption considered to be complete functionality for fair multiparty computation? What do you mean by complete ... |
I wanted to get an idea on how the whole cold-storage private/public key generation works for different cryptocurrencies. So I was playing around with BIP32 deriviation path on:
https://iancoleman.io/bip39/#english
I noticed that for example BTC, XRP, PIRL all have the same BIP32 root key and BIP32 extended private/pub... |
This example is from “Efficient Secure Two-Party Protocols-Carmit Hazay-Yehuda Lindell”.
And the security proof of the above example is this:
I have drawn a picture that is deduced from the above security proof.
Picture1:
[
Picture 2:
I have several questions:
Please, explain to me how the simulator and the adve... |
OpenSSH uses a slightly different ChaCha20Poly1305 AEAD construct then the one proposed by A. Langley and others for TLS.
The TLS version
The openSSH version (and here)
The openSSH version uses two 256bit keys.
First key is used for deriving the Poly1305 MAC key and for encrypting the actual payload
The second key i... |
I'm trying to understand cryptographic protocols, and I've started with the DES algorithm.
DES specs: it uses 64 bits for the plaintext, 56 bits for the key, with a result of the same 64 bits of ciphertext.
But encrypting on online websites I see a totally different thing.
Encrypting the string "hello" with the key "ke... |
I hope the title already explains the problem I have in mind; but let me lay out some more details.
Given public-private key pairs $P_A, P_B, P_C, ... P_Z$, (first $3$ of which are owned by our usual suspects $A$lice, $B$ob and $C$harlie; we want to be able to do a key exchange as defined below:
Alice, Bob and Charlie ... |
I'm working on factorizing a ~450 bit key that I know has been generated with RSALib and thus is vulnerable to ROCA. Now reading the original paper, I can see that the primes are generated in the following form:
$$p = k \cdot M + (65537^{\,\large{a}} \bmod M)$$
where $k$ and $a$ are unknown value to us but where $M$ is... |
I want to make a product cipher containing s box and p box.
where message
$m = \{m_1, m_2, m_3, m_4\}$ where $m_i \in \{0, 1, \dots 25\}$ for $i=1,2,3,4$.
p-box: $P(x_1, x_2, x_3, x_4) = (x_1, x_3, x_2, x_4)$
S-box: $\mathbb{Z}^2 \rightarrow \mathbb{Z}^2$ where $\mathbb{Z} \in \{0, 1, \dots, 25\}$
$S(x,y)=(x+k_1 y \bmo... |
The paper has the following relation:
$$y^{(p-1)/p_i} \equiv \alpha^{x(p-1)/p_i} \equiv \gamma_i^x \equiv \gamma_i^{b_0} \pmod p$$
where $\gamma_i = \alpha^{(p-1)/p_i}$. I understand this relation and can show how each step is derived. However I'm stuck at the next step. From the paper:
$\gamma_i$ is primitive $p_i$t... |
I am using AES-CBC to provide confidentiality for protocol messages. I want to allow the receiver to know the secret key by using a key ID. For this I hash the secret key to generate a key ID. Every time the sender wants to send a message, the sender appends the key ID to the message to allow the receiver to bind the k... |
I tried to make a script to encode a txt with the autokey cipher. From my poor understanding of the cipher I created another cipher which has nothing to do with autokey:
first I encoded a txt with a key which give me a result as long as the original txt -Vigenère cipher used
then I encoded the original txt with first ... |
I don't quite understand the notion of a decider having a probability distribution function associated with it, and what it exactly says about the decider. From here on page 3-4 it says
...Now, in order to carry
out a reduction that breaks some cryptographic primitive or assumption if the ensembles are
not
compu... |
Suppose we have a policy $A \wedge ( D \vee (B \wedge C))$ with attributes ${\{A,B,C,D}\}$. The set of subsets of attributes which satisfy this policy is ${\{{\{A,D}\},{\{A,B,C}\},{\{A,B,D}\},{\{A,C,D}\}}\}$ of which ${\{{\{A,D}\},{\{A,B,C}\}}\}$ is the set of minimal subsets.
We convert the above boolean formula into ... |
Imagine that the malicious adversary in the real world uses $Y = 0$ as its input, therefore he computes the output as ($X$ && $y=0$) = $0$. We can conclude that the real view in the real world is as:
Real view: $X, Y = 0$ and $output = 0$
Real World
Now, imagine the simulator wants to simulate the real world’s view ... |
Could someone explain to me in few lines (even one sentence) what Miller's algorithm computes?
Without talking about divisors and all the other concepts, I would like to be able to explain it to someone who doesn't necessarily know elliptic curve cryptography in details but understands the basics because it's a really ... |
The method that I used before to decode EC point from public key led me in a dead end. So I just want to know what yet I could try.
I've got a public key that I don't know how to decode and I am looking for a list of commonly-used encoding/compression schemes.
Here, a part of the test certificate with EC curve paramete... |
Noob alert! Can we run quantum safe algorithms on commercial devices (like phones, laptops, etc)? I've seen some messaging apps and vpn providers marketing themselves as quantum-proof. How likely is that all these claims are bogus for marketing (imo, very)?
|
I am looking to implement Ed25519 for decentralized identity at scale.
Has Ed25519 has gone through rigorous cryptanalysis?
Could there be a backdoor in the algorithm?
|
I have some understanding of how PKI works, similar to this:
- https://knowledge.digicert.com/solution/SO16297.html
- https://security.stackexchange.com/questions/59566/ssl-certificate-chain-verification
- https://security.stackexchange.com/questions/56389/ssl-certificate-framework-101-how-does-the-browser-actually-ver... |
Considering an AES OFB encryption algorithm, suppose that I'm sending a message over HTTP (not HTTPS) and my message body contains the cyphertext. I'd like to know if transmitting a random initialization vector as a custom HTTP header is considered a bad practice, having into account that it's conventionally appended t... |
According to Wikipedia, this homebrew cipher was originally used in PGP, before Phil Zimmermann replaced it with IDEA. Supposedly, insecurities in the algorithm were pointed out to him, leading to this change. While I have read the PGP 1.0 source code and saw the implementation of the cipher, that didn't help me actual... |
In the paper More is Less: On the End-to-End Security of Group Chats in
Signal, WhatsApp, and Threema, the abstract claims that
We additionally show that strong security properties, such
as Future Secrecy which is a core part of the one-to-one
communication in the Signal protocol, do not hold for its gro... |
What are cryptographic techniques that could be used so that if I wanna to enable a server to send message to certain nodes in a network with preserving the privacy location for them ??
|
Two cryptographic schemes—RSA accumulators, and RSA-based Verifiable Delay Functions (VDFs) such as this one—require an RSA modulus to operate. These RSA constructions are secure if the trapdoor, namely the factorisation of the RSA modulus, is secret. In the context of a blockchain we do not want to trust anyone with t... |
In the book "Foundations of cryptography-Oded Goldreich-Page 33", if we use the deterministic polynomial-time algorithm instead of the probabilistic polynomial-time algorithm for case 2 (Hard to invert), what would be the situation?
|
I am trying to derive the best linear approximation for one round DES.
I read the question and answer
Regarding matsui's Paper on Linear Cryptanalysis of DES
several times but still could not figure out the part
"
y_3y_2y_1y_0 can be propagated to bits 7, 18, 24 and 29 of the output of the round function, this time... |
I heard shared input.
For example, original values $x,y \in M$ are divided into pairs of shares $(x_1,x_2)$ and $(y_1, y_2)$ such that $x_1 + x_2 = x \text{ and } y_1 + y_2 = y$.
Each share is distributed to two parties $P_1$ (who obtains $x_1$ and $y_1$) and $P_2$ (who obtains $x_2$ and $y_2$).
When $M = \mathbb{Z}_2$... |
I would like to know if there is any existing research on the following problem:
$$\text{For }a, b \in \mathbb Z \text{, given }n = a^2 + b^2, \text{output }a, b$$.
Searching for "sum of squares", "quadratic sum", "two squares", etc. on eprint did not return any related results that I could find. The problem itself may... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.