instruction stringlengths 32 27.2k |
|---|
The following question is about a specific protocol that uses a modified version of the CCM mode. Since I'm not a cryptographer, the protocol specification provides no reasoning for this change to CCM or proof of security, I'd like to know if this might have any practical or theoretical implication for the security of ... |
We're working with a microcontroller that is not secure enough to store secrets. The ROM could be dumped in a properly equiped lab.
This is why we considered integrating a certified Secure Element that would store the secrets we need for our infrastructure (some keys and certificates). This way the secret would be stor... |
This question comes from an issue raised in another question: Non interactive threshold signature without bilinear pairing (is it possible)?
Is the proposed random oracle model safe when trying to output a distinct and random $m \times G = M$ value?
Doing the interpolation for $t$ compromised shares $m^{'}_i$ results i... |
I want to send a verifiable chunk of data (around 16 bytes) by simply encrypting it with a private RSA key, providing the public key in the source code for the verification. This was my initial thought. (I now know that this is not the same as signing the data, but this does not matter now.)
I tried RSA and ECC to dete... |
I was reading a paper and I am struggling understanding one part of it.
Lets say we have a group $G$ of an unknown order $n$. we know that $B<n<B+C$. both B and C are large values).
we choose a random element $z \in G$. and let's say we have some prime values $B+C<e_1,e_2,...,e_l$. We Calculate $h=z^ {\prod_i e_i}$.
Th... |
I just want to know if there's something obvious that renders this hard problem useless. Not a full cryptoanalisys. Any hint on whatever is welcomed.
We will work with the Ring $\mathbb{Z}_{p}$, $p$ prime.
Now, we define a function $f:\mathbb{Z}_{p}\times\mathbb{Z}_{p}\mapsto\mathbb{Z}_{p}$,
as $f\left(a,b\right)=\frac... |
In RSA key exchange, the client picks a premaster secret and encrypts it with the RSA public key in the server certificate, and sends it to the server. This offers no forward secrecy.
In ECDHE key exchange, the client and server both generate ephemeral EC key pairs, and use DH key exchange to negotiate the premaster se... |
Say, $X= a\cdot b$, where $(a, b) \in Z_q^*$ and $q$ is a large prime. If $X$ is given, then what is the complexity (or hardness) of finding $a$ and $b$?
Note that, either $a$ or $b$ can be reused to compute another $X'$ which is also public.
Edited: (more details)
Let's say Alice chooses two random numbers $a, b\in Z... |
Since a single hardware pass of an XOR with a 64-bit key is speedy, would Triple DES-X with seven 64-bit keys used in the following manner be virtually identical in terms of code size, memory consumption, and execution speed to 3DES?
You have four 128-bit keys and three 64-bit keys.
You take a 128-bit block of plaint... |
The situation:
Alice and Bob are exchanging messages encrypted by some known asymmetric encryption protocol. All their encrypted messages, as well as public keys are intercepted by Charlie.
Can Alice reveal decrypted messages to Charlie and provide him a zero-knowledge proof (for example zkSNARK) that deciphered text o... |
Using web crypto API and it won't let me store an AES key in the indexeddb (it requires a public/private key).
Does anyone have suggestions on how to do this? Should I/could I create a public/private key, store it in the indexeddb and use it to secure the AES key?
The idea is to have shared workspaces for messages and ... |
I am currently working on a Koblitz curve. I have found the curve has two matching groups based on the base curve point and N-1 point. My question is as follows: Is there an algorithm to determine how many X coordinates are the same in an elliptic curve? This will tell me how many groups are inside the entire curve bas... |
This is basically a duplicate of this question which was not answered very clearly. From the documentation, these are the calculations that happen for Alice to compute the shared secret key:
DH1 = DH(IKA, SPKB)
DH2 = DH(EKA, IKB)
DH3 = DH(EKA, SPKB)
DH4 = DH(EKA, OPKB)
SK = KDF(DH1 || DH2 || DH3 || DH4)
If I understa... |
I need to prove, that for a key with $n$ dimensions, they order of the key would be $n!$ and to prove that, I need to use mathematical induction:
$$\text{Let n = 1} \Rightarrow {1} \text{ if there are only one element in the key, there is one way to order it. } \\ \text{Suppose that n = k }\Rightarrow \text{ the orde... |
I read the statement of the Decision Learning with error problem is:
distinguish between $(\vec a, \langle \vec a, \vec s \rangle + e)$ from uniformly random samples.
Can anyone explain what does it mean to distinguish $(\vec a, \langle \vec a, \vec s \rangle + e)$ from random samples? Does it mean subjecting $(\ve... |
If I had many, say a million random numbers (technically public keys.. ~600 bytes each) and I wanted to hash them all together using a fuzzy hash, how accurately could I test that a given hash was a part of the fuzzy hash?
I could use merkle trees, but the problem is in my system, two person should be able to hash toge... |
There are lots of attacks which are on reduced block ciphers. There are practical attack on five rounds of AES-128five rounds aes broken in six minutes. I was just wondering if there is any practical application of reduced rounds of AES where less than 10 rounds are used.
|
Let $X$ denote one distribution. Let $f,g, \text{ and } h$ denote three functions. If we have the results: $g(X)$ is within a negligible statistical distance of $h(X)$. Is it possible to prove
$$(f(X),g(X)) \text{ is within negligible statistical distance of } (f(X),h(X))$$
I was struggling with this problem for a lon... |
Working on a boot process where the application image has to be verified before loading it into DRAM.
We found 2 strategies;
RSA-1024, where the private key is secure in premises and the only public key is distributed with out boards. (Is it better if up-gradable to RSA-2048?)
AES-256 with CMAC, same key available bot... |
Is it possible to build a bilinear map where the underlying group is of unknown order?
To maintain context, the original question appears below.
As per poncho's excellent answer, my original idea is infeasible:
Is it possible to build a bilinear map where the underlying group is an RSA group?
I.e.
$e: \mathbb{Z}_N \ti... |
I read the Wikipedia page on a discrete log zkp, but I don't understand how
$$C' = g^{r'} \cdot (g^x)^{-1} \bmod p$$ would be calculated.
Would it be $$C' = g^{r} \cdot \frac{1}{y} \bmod p$$ where $y = g^x \bmod p$
When I run the following code to check the current implementation (the one I suggested above), I co... |
ssh.com's Tectia offers a few algorithms seemingly unique to itself. Chief among them: crypticore128@ssh.com, crypticore-mac@ssh.com and seed-cbc@ssh.com
Are these algorithms publicly defined anywhere or are the proprietary algorithms?
|
In https://www.win.tue.nl/~berry/papers/crypto99.pdf, Schoenmakers proposes a publicly verifiable secret sharing scheme, that uses a non-interactive DLEQ proof to allow any participant to verify the shares of the secret (section 3.1 of the paper).
In "Distribution of the shares", it says "Applying Fiat-Shamir’s techniq... |
After reading this question, I understood that "game-based" and "simulation-based" have to do with the way that security properties are postulated. In particular, IND-CPA is a canonical example of game-based security property and semantic security is a canonical example of simulation-based security property. Then, I gu... |
This is not homework, but a random thought.
Let $G(x)$ be a PRG.
We define the following function:
$$F_k(x) = G(k\oplus x)$$
My intuition is that it shouldn't be a PRF but I couldn't come with an example yet.
I tried to build a reduction from identifying G to identifying F but I'm not certain how you can simulate an o... |
Some cryptographic schemes are based on the hardness of this problem. The answer to this question determines if those schemes are quantum resistant or not. There are a number similar questions but they consider the classic security not the quantum security.
Thank you
|
I am a master student in computer security, I am preparing a dissertation thesis in the theme is: Algebraic cryptanalys by auxiliary channels, I need reference on this theme (book, thesis, ...), and even I'm looking for specialists in the subject to contact them and work together.
thank you for your attention.
|
this code decrypts encrypted rom code from an arcade game pcb (it is from source code of Mame emulator)
for each byte in rom...
int src, dst;
src = 0xd7; // example value
dst = 0;
if (( src & 0x01) == 0x01) dst ^= 0x04;
if (( src & 0x02) == 0x02) dst ^= 0x21;
if (( src & 0x04) == 0x04) dst ^= 0x01;
if ((~src & 0x08)... |
I am trying to understand the runtime complexity of the discrete log problem (in the most basic sense).
So, if we have $\langle g \rangle = G$ and are trying to find $g^x = a, a \in G, 0 < x < ord(G)$, why can we not just iterate through all elements of $G$ and find an answer in linear time? Even if we have to compute ... |
The wikipedia page for Length Extension Attacks says "Note that since HMAC doesn't use [Merkle–Damgård constructions], HMAC hashes are not prone to length extension attacks."
However, HMACs can be constructed with hashing algorithms such as MD-5, SHA-1, and SHA-256 which use these constructions. I understand that HMACs... |
I was solving a Crypto Challenge in a CTF, and I got a Nihilist Cipher Encoded String. Luckily the additive key was given as a hint, and for the polybius Square key, I kinda bruteforced or I just got lucky somehow and found the word with which the polybius square was made able to decrypt the cipher text.
But what if on... |
Can anyone give the mathematical definition of deterministic and non-deterministic random bit generator?
Providing a reference will also be very helpful.
|
I actually do want to know how to generate the multiplication inverse (M.I) table, I mean the calculation how the M.I been generated.. such as the M.I of 22 is 5A regarding to the table.. Do you know how to calculate M.I how the 22 will become 5A
|
What's the security of Elliptic Curve Cryptography over finite fields of word-sized characteristic $p\approx2^{50\pm10}$? We are talking about $\Bbb F_q$ where $q=p^k$ for some suitable $k$.
Furthermore, I would like to know about the possibility of pairings over fields of such word-sized characteristics.
References a... |
Is there a good way to do repeatable (with the same result) encryption for pseudonymisation where the pseudonym can be decrypted?
I want to set up a system to allow multiple services to communicate about subjects without them being able to join their data together themselves. They would send their requests through a "m... |
It is related to my earlier question:
Can zkSNARK or other zero-knowledge proofs be used to proof message authenticity without revealing private key?
Are there any algorithms for which generating zero-knowledge proof is so computationally complicated that they cannot be generated in any practical time, by mainstream de... |
We have a POS (Ingenico) that uses DES3-CBC encryption using a derived key.
It sends encrypted data, and 10 bytes size Key Serial Number (KSN). I tried to use CKM_DES3_CBC_ENCRYPT_DATA to derive the key, and decrypted the data using DES3-CBC mech. However, I get some gibberish data something like this:
\ufffd\u001dl\u... |
It happens that on the internet I often find that AES encryption should use a 128-bit key only if it is used in conjunction with the GCM mode of operation.
Why only with 128-bit keys?
What happens if I use one of 192 or 256?
Can it be? Why is this recommendation made?
|
In this link: Has GMAC mode a future outside GCM?, the last comment given by the user Demi, indicates that the larger the size of the text to be encrypted, the lower the security of the gmac.
Why is this happening?
|
I am trying to understand https, as I understand https uses the Diffie–Hellman method for keys exchange and then AES for encryption.
But Diffie–Hellman needs two prime numbers, where do these come from?
|
I don't understand the popularity of the idea of QKD (often coupled with OTP). From what I can tell, a quantum-safe key exchange algorithm like McEliece has just as much security while operating over current networks, through repeaters, and not requiring single-photon emitters. Combining this with AES seems convenient ... |
When using the BB84 algorithm for QKD, you arbitrarily choose which of two filters (bases) to use when detecting a photon: rectilinear or diagonal. If you choose rectilinear, you can detect polarization with certainty if the photon is rectilinear, i.e., either vertically- or horizontally-polarized.
But how? A pol... |
I have a PSK. I don't want to use it directly. I want to pass a "salt"/password into a KDF and get a new key for authenticated encryption with ChaCha20-Poly1305 .
I need to give the other side the nonce used.
I don't have enough space to fit all of this in a packet.
My plan was to generate a random nonce. But then tho... |
Alice and Bob have agreed to use the Three Pass Protocol.
p=1009
Alice chooses the encryption exponent
e_A = 101
Bob chooses the encryption exponent
e_B = 209
Now Alice and Bob send three encrypted messages: y1, y2, and y3 in this order.
Which of the following are possible solutions?
a. y1 = 471, y2 = 27, y3 = 14 is ... |
I have a 128 bit Pre-Shared Key. I don't want to use it directly. I'd much rather generated a session key with HKDF(PSK, SALT) = SESSIONKEY.
I'm however under strict size limits for packet size. So I'm looking at the option of a 12 byte (96 bit) salt.
Does this significantly weaken my 128 bit PSK down to 96 bit? What i... |
My question is: I'm using AES with 256 bits key in CTR mode. Will it be less secure if I use a random key and static zero nonce?
key = random;
nonce = 0;
|
I have just learned about the CBC mode of operation and that it gives the cipher by xoring the plaintext m0 with random IV and then encrypt it with random key and I found out that the CBC is not CPA-secure if the IV can be predictable.
I'm considering a new mode like what if CBC work by encrypting the plain text and t... |
I am using HKDF with an IKM and salt, the OKM is used as the key for an HMAC operation. The HMAC algorithm is authenticating messages in a communications system
The salt is the concatenation of 2 nonces, 1 drawn drawn by each of the communicating nodes and can be found by any one observing the communications system
M... |
From a crypto challenge i have the following PMAC variant where the task is to forge a signature to fulfil a specific condition:
Preparation:
in the finite Field GF(2^128) with the polynomial x^128 + x^7 + x^2 + x + 1 as modulus we generate the PMAC-L constants like that:
L(0)=AES(0) -> standard AES-128 with a random f... |
this is a question about Katz-Lindell book, introduction to modern cryptography, 2nd edition, exercise 4.7, part c.
For (a) and (b) it is clear that the Macs are insecure, but for (c) I am struggling to see why.
For me, when the attacker will present his pair $(m^*, \langle r^*,t^* \rangle)$, the MAC will sample unifo... |
Given all message blocks $w[i],i \in 0:63$ and assume that $n<128$ (arbitrary) bits $x_1,x_2,...,x_n$ of the IV values are unknown (e.g., $h_7$ bits are unknown) while other IV values coincide with those in the SHA-256 algorithm. Let $h_{i}^{j}$ denotes $i$-th hash of $j$-th round that is $$(h_{0}^{0},h_{1}^{0},...,h_{... |
Referring to the following URL: http://cryptowiki.net/index.php?title=Goldwasser_Micali_cryptosystem
The decryption of the message is based on wether the bit is a QRn or not, but how do we know/verify (the mathematical operations) if it is a QRn or not.
|
I have a question regarding the relationship between the (search) LPN problem and the GapSVP problem.
I have read a related problem that explains the main theorem in Reg05: the GapSVP problem can be reduced to a search LWE problem (especially, the modulus $p>2\sqrt{n}$).
What is the direct connection between LWE and G... |
Let $H : \{0, 1\}^∗ \mapsto \{0, 1\}^ n$ be a collision-resistant hash function. Define $H_0(M) = H(M)\mathbin\|0^{n−10}$. That is, $H_0$ appends ($n − 10$) zeros to the output of $H$. Clearly $H_0$ is collision resistant.
Now let $H_{00}$ be the result of truncating the output of $H_0$
to $n$ bits. The question is to ... |
So I was implementing the $2$-point method described here[1], which requires to samples two points $P_0, P_1$ in the Frobenius eigenspace initially. It uses a method called Elligator, which seems to me only samples $\mathbb F_p$ rational points.
Suppose one is given a supersingular curve $E$ defined over $\mathbb F_p$ ... |
SHA384 is a hash function that can be (and is) used to verify data by checking it. Can it also be used as the background for a public-key crypto system? Here is what I mean:
A 48-byte string is generated randomly. This is the private key.
That 48-byte string produces another piece of data through SHA384: the public ke... |
For some reasons, I was looking into libgcrypt source code and found this.
If I understand this correctly, while asking to use /dev/random for some bytes, it actually checks first if rdrand is available (without being very explicit about it) and uses it up to 25%, which is fine I guess if it was used standalone.
Where ... |
To encrypt a message $M$, we compute $C=M^k \bmod p$
and to decrypt a Cipher-text we compute $M=C^{k^{−1} \bmod (p−1)} \bmod p$
But if we use Pohlig Hellman twice like $C_1=M^k \bmod p$, and then $C_2=C_1^k \bmod p$,
So is this more secure than doing it just once or not.
And what if we do it multiple times like a Casca... |
While I understand the principle of bit-slicing, several papers mention byte-sliced AES implementations (see e.g. Homomorphic Evaluation of the AES Circuit and Fast Implementations of AES on Various Platforms).
However, I don't clearly understand how byte-slicing works. Especially, one can read in the above mentioned ... |
Let $f(x)$ and $g(x)$ denote two independent, “ideal”, unkeyed, public $n$-bit permutations (two publicly known bijective functions that produce $n$-bit outputs from $n$-bit inputs), where $n$ is an arbitrary natural number greater than or equal to $3$ (the number $3$ is here because it is the minimal size of a “crypto... |
Let's assume the following situation:
The attacker has extracted 1000 password hashes from a website (vuln.com) along with all their usernames and hashing algorithm (assume bcrypt). The only piece of information stopping them from cracking all the hashes is the missing passwords and salts. Assume the salts are all cryp... |
The EdDSA signature scheme is a deterministic scheme. So could it be proven provable security in Random oracle model?
|
I am reading Applebaum et al..
In Lemma 1. (page 7), Applebaum et al. proved the decision to search reduction when the modulus $q=p^e$ for prime $p$.
In the proof, they define the hybrid distribution $A^i_{\mathbf{s},\chi}$ and say "By a hybrid argument and standard amplification techniques, we can use an algorithm $D$... |
There are Client and Server.
Client have previously send public keys for x25519 and ed25519 to the server. And now need to prove that it has private keys for them.
I have found similar solutions in description of ssh protocol by Digital Ocean: https://www.digitalocean.com/community/tutorials/understanding-the-ssh-encry... |
Let $a_1$ through $a_k$ be some permutation of the first $k$ primes. Let $n \in [1,k!]$ be a parameter specifying the exact ordering by taking the $n$th permutation in a sorted list or by some other simple mechanism.
Then define $f(n,k)=a_1^{p_1}+a_2^{p_2}+\ldots+a_k^{p_k}$, where $p_i$ is the $i$th prime, and the $a_i... |
I am implementing a custom challenge-response protocol to authenticate a client to a server. Mutual authentication is not required, i.e. the server doesn't need to be authenticated to the client.
The protocol works over TCP. Client and server are in a LAN (not over the internet). There is only one server and only one c... |
My question is regarding to :
How does AWS Secret key and access key work
The point 5:
AWS service verifies the identity of the sender and integrity of the message by recomputing the HMAC code.
How does the service verify the identity of the sender?
Does the AWS service know the secrete key? if so how does it get ... |
I came up with a threat model where:
Alice and Bob agree on a shared key $K$
Alice sends a plain text $M$ and its $\operatorname{MAC}$ tag, $T = \operatorname{MAC}(K,M)$ to Bob over an untrusted network
Eve collects pair of $M$ and $T$, thus mount a replay attack
First of all, I am curious whether my threat model is ... |
HElib has no general purpose API for number operations such as comparison or division. How can we implement division operation on ciphertext?How to encrypt floating numbers of any length in homomorphism and add, subtract, multiply and divide them?
|
Alice has symmetrically encrypted the large (100Mb) MessageA with a random key K1, and then asymmetrically encrypted K1 with Bobs public key. She then stores the encrypted large message in a central and public repository and sends Bob's key to him.
Can Bob then decrypt the key K1 with his private key and then encrypt t... |
I saw a question on StackOverflow where RC4 was initialized by a 1024 bit key (with 2048 the maximum key size, if I'm not mistaken).
Will such a large key size possibly solve any of the bias of the initial bits of the key stream produced by RC4? Does it increase security any other way - other than brute force?
Is there... |
In an embedded environment, what AES key wrap algorithm is best, in terms of performance and security coverage?
We are using RSA PKI asymmetric encryption.
|
In for example the Microsoft Encrypting File System, the SYM-Key is first encrypted with a RSA-Pub-key and its corresponding private-key is then encrypted using a users password. Why not encrypt the SYM-key directly with the PW?
|
Is there any way to change a password using a PAKE-like algorithm, without the server getting the plaintext of either the old or new password?
|
The enigma machine had a serious flaw: the letters could not be encrypted as themselves. Is there an online enigma simulator I can try that does not have this flaw, which would likely make it secure?
|
In this question regarding integrity of FPE, the main point of the answer is that:
FFX is not malleable. [...] FFX can provide integrity protection in very limited circumstances.
So I was wondering, in practice how does one enforce integrity of the data? For instance if the systems stores credit card information and... |
I’m planning to compare cryptographic algorithms in terms of encryption/decryption time, memory used etc. and for that I’m in need of a standard dataset consisting of plaintexts of different bit sizes and character lengths. Can anyone suggest a source where I can obtain these data?
|
I'm using PHP. The guys over at paragonie have made encryption easy for the PHP eco-system.
Now, on my computer, Alice, when I encrypt a message using Alice's private key and Bob's public key, I am also given a nonce. Its use? I don't know. I just trust the guys that it's needed and safe.
Thing is, this got me thinking... |
I've been looking at the various types of ciphers and I can't seem to find something I want or if it's even possible.
For example the text is "London2234", when run through the cipher, it encrypts into something like "Marble2234" where a person who doesn't have the cipher doesn't see it as garbage but sees it as anothe... |
So, I have a stream of tuples coming in for example [country, state, person], where state and person are unique items.
Now I have to find :
1. for each country, I have to estimate average number of persons in a state.
How do I design a sketch that uses a hash function that does this with a minimum memory storage.
|
I'm trying to understand the following RLWE encryption scheme from this Chris Peikert's paper
Say i choose $q = 97$, $n=8$ and the polynomial
$a = 96 x^8+30 x^7+76 x^6+12 x^5+57 x^4+77 x^3+70 x^2+49 x+83$
secret key $s = 8 x^8+7 x^7+6 x^6+5 x^5+4 x^4+3 x^3+2 x^2+x$
and error $ e = x^6+x^4+x^2+1 $
then $b = a \cdot s ... |
As the Logjam attack allows a Man-in-the-Middle attacker to downgrade vulnerable TLS connections to 512-bit export-grade cryptography by modifying the ClientHello and ServerHello, can the Logjam attack be avoided by verifying the integrity of the ServerHello?
|
So I am developing a python program and encrypting the trained machine learning models which need to be decrypted when loading them on client side. My program will deployed on the client's machine with no internet access and I need to protect my models.
Now I'd like to ask the following
Whether using symmetric key enc... |
Consider a shift cipher that has the following encryption scheme:
The plaintext contains lowercase characters and spaces, is composed of English text, and is length 500. Thus, the message (and ciphertext) space is $\{\text{space}, a, b, ..., z\}^{500}$.
There is a key $K$ of len $t$ (between 1 and 24), which is a sequ... |
NOTE: I know that there are numerous topics here on StackExchange about this but I've read them all and this question still persists.
I'm currently working to enhance the security of a windows based application that is sent to specific clients. We use AES encryption to create a big binary file with license data. In thi... |
I am currently learning about the Diffie-Hellman key exchange. I understand that for a $g$ of $1$, the resulting key would always end up as $1$ which would obviously not be secure.
I read that the $p\! -\! 1$ value for $g$ is not secure either, but there is no explanation as to why - which is my question. I guess it ha... |
My question concerns the elliptic curve $E$ over a prime field $\mathbb F_p$. To the best of my understanding, ECDSA requires a Generator point $G$ of prime order $n$, and the $r$ and $s$ values of the signature must be within the range $[1,n-1]$. The concept of ECDSA is to show a person that one is in possession of a ... |
As i read MD5 have many complex formulas, example:
$k_i := \lfloor \space| \sin(i + 1) \times 2^{32}| \space\rfloor$
My question is why use sin(), how about cos() or tan() or something like that. Does it make any sense when use sin() ? Or just for more complex of formula lead to more secure of algorithm ?
|
I wish to agree with a 3rd party on using RSA-PSS algorithm for a implementing a Digital Signature Scheme. I want to avoid selection of RSA parameters like salt length, hash algorithm etc at my side and share the required configuration parameters.
Instead I want to refer to a standard where all the parameters are alrea... |
Is there a common terminology to designate parties in authentication protocols?
For example, we typically use prover and verifier to designate parties with zero-knowledge proofs.
|
So I need to write a piece for school about ECDSA and how it is secure. Now I thought I had a simple question, however, I can't seem to find an answer anywhere:
Why does the p in the formula need to be a prime number?
Now I understand how you can only have modular inverses of prime numbers, and I thought maybe that had... |
I know that for Poly1305-ChaCha20 reusing the key does reveal information about the plaintext. How it is for the Poly1305 MAC algorithm? Revealing information about the plaintext is not a problem at all, as it is available in plaintext anyways.
Question: Does a reuse of the Mac key reveal information about the key itse... |
both myself and my collaborators are pure mathematicians with only tangential experience in the study of cryptographic systems, so if this question is unclear or does not belong here, please do let me know. I apologize for the length of this question, after necessary background my questions appear in the last part.
As... |
Imagine the following situation:
there are many "big" files (100Gb+) lying on 2 different remote servers
you have no direct access to these files
you can only read a small amount of each file (e.g. 10Mb) as well as it's general information (e.g. file size)
files can have different names and paths but same content/size... |
I have been told by my professor to compare two passwords as we do it in Yao's two-party protocol but without using any crypto functions. We are only allowed to use a hash function. The passwords are taken from the dictionary so we can't even send the hash of that word as we can't risk a dictionary attack.
I am thinkin... |
In this case we are given the distribution D from which secret s is sampled. If I can get some hints to proceed with the questions, it would be of help.
Thanks,
|
In SSL 3.0 and TLS versions 1.0 through 1.2 the last two messages are the "Client Finished" followed by "Server Finished" messages. These messages include an encrypted (under the established session keys) MAC of all the previous messages.
However, in TLS 1.3 and in the abbreviated handshake, the server is the first to ... |
I should prove mathematically that:
$D_k(E_k(p))=p$
I know
$E_k(p)=c=(p+k)\bmod26$
and
$D_k(c)=p=(c-k)\bmod26$
Substituting the two formulas to the initial assertion I have
$((p+k)\bmod26-k)\bmod26=p$
And applying the $\bmod$ property twice I have
$((p \bmod26+k \bmod26)\bmod26)-k)\bmod26=p$
$((p\bmod26+k\bmod... |
How I can prove that ElGamal encryption in $\mathbb{Z}_p^*$ with Optimal Asymmetric Encryption Padding (OAEP) is IND-CPA secure?
|
I am looking at a protocol to securely multiply numbers, so as to preserve privacy of inputs.
In particular, suppose there are three parties $P_1$, $P_2$ and $P_3$ and 2 numbers to multiply, $a \in \mathbb{F}$ and $b \in \mathbb{F}$ such that $\mathbb{F}$ is a finite field of prime order $p$. More precisely, $a$ is th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.