instruction stringlengths 33 27.2k |
|---|
I'm working on a project to upgrade an existing system that currently uses RC4 to encrypt a payload with a random session key. The session key is then encrypted with asymmetric public key encryption (RSA PKCS#1 OAEP). The encrypted pair are then transmitted over insecure channels as a token.
I'm looking to replace the ... |
Suppose that messages transmitted over SSL are modified as follows:
the message is splitted in blocks, $B_1, ..., B_m$ (each with at most $2^{14}$ bytes)
for each block $B_i$ we do:
we apply a MAC to the block $B_i$ resulting in $X_i$
we encrypt $X_i$ with a symmetric cryptosystem in mode CBC resulting $Y_i$
we... |
I need help of cryptanalyzing a "bad" RC4 implementation to recover an encrypted text of 13742 bytes.
I don't know the key and this implementation does not utilize the drop-n routine.
But, I know the key length (256). Also, I think it is a bad implementation because the KSA is as follows:
def ksa(key) : ... |
Hi I am stuck in trying to crack the code of finding the key to decrypt a huge message. I have the frequencies of the letters:
A 121
B 0
C 10
D 60
E 39
F 100
G 123
H 19
I 0
J 74
K 87
L 119
M 35
N 8
O 30
P 2
Q 27
R 0
S 135
T 26
U 47
V 47
W 140
X 24
Y 29
Z 78
A 121
B 0
C 10
D 60
E 39
F 100
G 123
H 19
I 0
J 74
K 87
L 119
... |
I wanted to know how does the increase the block size or rounds in AES is not a good idea
|
How often such mechanisms are used by application.
Is it real requirement to support these features for TLS ?
|
I am analysing a small, bespoke end-to-end encryption service's source code, in particular their user registration process. I am finding some interesting things going on and I am wondering if there's some vulnerabilities here:
The client code generates a random Master Key for the user which is 128 bits. This is used t... |
I don't know if my opinion is correct. I think that H(k || m || k) (I mean using Merkle and Damgard algorithm where k is a secret key shared by two parties and m is the message sent) is a good keyed hash function with respect to birthday attack because:
if the attacker finds another message m' different from m such th... |
As can be seen from the following ASN.1 definition of an X.509 certificate, the Signature field is a BIT STRING.
Certificate ::= SEQUENCE {
tbsCertificate TBSCertificate ({ x509_note_tbs_certificate }),
signatureAlgorithm AlgorithmIdentifier,
signature BIT STRING ({ x509_note_signature })
}
How... |
(My interest is academic; I certainly have no intention of rolling my own crypto, especially the known-broken type!)
I know that if the nonce gets reused in a CTR stream, the two cipher blocks can be XOR'ed together to produce a XOR of the plaintexts. From there, the plaintext is recovered using analysis, such as searc... |
I read that there are different ways to apply visual cryptography. One is to generate two images that when overlapped provide the original image. The main issue of using this approach with a video is that I would need to generate those two images for each frame. Is there a way to generate a single decryption image for ... |
DES was announced as a standard in 1976. AES competition started in 1997 and Rijndael was selected as standard in 2000. What are major block ciphers and block cipher designs made/proposed from 1976 to 1997?
|
I'm trying to use DTLS in Preshared key mode for CoAP which necessitates using CipherSuite TLS_PSK_WITH_AES_128_CCM_8
I'm trying to start with the CBC-MAC but I'm not sure how to get an 8 octet ICV out of it?
Do I just truncate the output and only use the first 8 octets?
Do I use an 8 octet block size instead of the 16... |
If I have a set of numbers of the form $\{ {kp+r}:k\geq0\}$ with p a prime or product of primes k large in $\in Z^+$ and r fixed, is it computationally feasible to find a factorisation for any one of these numbers, supposing p is very large > 1000 bits.
For context, I am thinking whether this variant of the integer ... |
this forum is way above me and the members here are far, far smarter than I am, so this probaby isn't the place to ask such a simple question, but whatever.
All I wanted to ask is for at rest encryption, like something on your cloud account, I like to encrypt my files. I either use Serpent 256 or AES 256. The program I... |
I'm interested in the two following processes:
Perform deep learning on homomorphic encrypted data
Perform deep learning predictions with a homomorphic encrypted model on unencrypted data. By this, I mean encrypting weights of a deep learning model, sending them to the data owner, and performing an encrypted predicti... |
Let's say I have a true random number generator TRNG. Random numbers are generated on demand from a HW-entropy source, resulting in a 32-bit random value each time it is called.
I have to fill an array of 10 Bytes (=10*8 bits= 80 bits) with random numbers. Can I make a first call to TRNG, take the fist byte, the second... |
I'm looking for the most efficient in memory and time way to verify integrity of large files which have to be encrypted as well.
Using SHA256 and other crypto hashes over the whole encrypted file?
Split it into blocks and encrypt+hash each one separately?
Use authenticated encryption? Again, block-wise or as a whole?... |
This may be easy, but I'm struggling to find a reasonable solution now.
Alice wants to send data to Bob.
The data that Alice wants to send has been verified by Carl in some way, even though Carl has not seen the data. Anyway, given the data, Carl is able to recognize if it's the original data shown by Alice.
Bob recei... |
I'm new to cryptography and I was trying to familiarize myself with ZKsnarks .
here is an explanation on this blog : https://blog.z.cash/snark-explain/
in the middle of the page from $E(x) = g^x$ it reaches to $E(x+y)$ = $E(x) \cdot E (y)$ which doesn't sound right to me because generally we have :
$$[a \cdot b] \bmod... |
What are the safety issues of using the the hash of plaintext as the key to encrypt it? The first that comes to mind is that if I can guess an approximation or part of the plain text, brute force attack complexity will be reduced considerably. Suppose that this is not an issue. Are there other security risks on this ap... |
I have been reading these slides about Hill cipher.
And there it says that the value of K is the following:
\begin{equation}
K=
\begin{pmatrix}
11&8\\3&7
\end{pmatrix}
\end{equation}
Now I need to calculate $K^{-1}$, so for that reason I calculate the adjoint matrix by using the cofactors. For what I know it should be:... |
Are there any simple to understand and implement, but nontrivial cyphers and hash functions which are easily broken by modern cryptoanalysis methods (for example, ones listed in Wikipedia)?
Ideally it should be encryptable/decryptable/hashable using pen and paper (without computer), allow simple cracking using the meth... |
From FIPS 180-4 § 5.1.1, the padding used for the SHA family of hashes begins with a binary 1, followed by a number of 0s, and finally a 64-bit representation of the message length:
Suppose that the length of the message, M, is bits. Append the bit "1" to the
end of the message, followed by k zero bits, where k is th... |
When adding two points. calculating the lambda.
x3 ≡ λ2 − 2x1 (mod p)
is that ( λ2 − 2x1 ) (mod p)
or is the mod applied only to the 2x1?
|
I have looked at the idea of dual ciphers but I cannot convince myself I really understand them. I think I just need a very simple worked example.
I was given the definition:
Two ciphers $E$ and $E′$ are dual ciphers if they are isomorphic, i.e. if there exist invertible transformations $f(⋅)$, $g(⋅)$, $h(⋅)$ such tha... |
In searching engines, especially for ranked search approaches, How to evaluate the results returned by IR Systems . The precision is evaluated by the below equation:
(Number of relevant documents in retrieved documents)/(Number of retrieved documents).
However, how to decide which returned documents are relevant for th... |
Studying libsodium implementation of x25519 and Ed25519 I saw that it performs an small order check comparing given inputs with a hard coded blacklist of values. Is this list exhaustive or it is a list of currently known invalid points?
Source code:
X25519 blacklist
Ed25519 blacklist
|
I'm writing an assignment on Camellia cipher. In the NTT paper, they declare a speed at least comparable with Rijndael, but, searching around, I found that it is actually much slower. I thought this may be caused by AES using specific CPU subsets, but even without them it is faster than Camellia with them (What is the ... |
I have read some texts concerning fully homomorphic encryption but didn't find the following simple idea.
Let $p$ be a prime. We choose secret key $x_0$ in the interval $1\le x_0<p$. Let $\mathrm{Enc}(m)$ be a polynomial $P(x)=a_{p-2}x^{p-2}+\ldots+a_1x+a_0$ with random $a_{p-2},\ldots,a_1$ and $a_0$ such that $P(x_0)... |
I would like to get the ATECC608A microchip to sign data with ECDSA secp256k1 curve, but the chip only signs using the P256 curve.
Is there an operation I can do using the original message and the signature under P256 that would produce a signature under secp256k1?
|
So for a project at University I wrote a symmetric encryption system that was very similar to how a rubix cube would work. I had each byte of my data mapped to a element in a grid, with 6 grids in total (forming a cube), and the grids had a relationship where you could apply a swap function to each row/column and it wo... |
Reversible computing refers to the type of computing where one minimizes the the amount of data to be deleted usually to save energy (Reversible computing could also thwart side-channel attacks). Energy efficient reversible computers do not exist yet in the free market although some have constructed prototypes and they... |
I am trying to understand the Lucifer cipher and I cant find any clear understandable example of the cipher.
Can anyone please provide me with a step-by-step example of an encryption using the Lucifer cipher?
Can you describe the relation between Lucifer cipher and Feistel
Networks?
Can you please provide references ... |
I am solving a homework problem which defines $(1-\epsilon)$-perfect secrecy as the secrecy satisfied by the encryption scheme when the following inequality holds
$\Pr[M=m\mathrel|C=c]\leq (1+\epsilon)\Pr[M=m]$
Then the problem asks us to prove that $|K|\geq \frac{1}{1+\epsilon}|M|$ where $K,M$ are the key and message ... |
I'm trying to solve a problem where I've been provided with a few public keys and the ciphertext, and I've been told that the plaintext was encrypted repeatedly using all of these keys. However, all of the keys have the same $n$ and a multitude of $e$s, varying from 2 to 126 digits. All of the other attacks involving m... |
I have some issues understanding the original protocol proposed by Daniel J. Bernstein for Diffie-Hellman on Curve25519. On his web page he states to not validate remote public key, but at the same time enumerates a list of bad points for "some protocols". It does not state anything about zero check after scalar multip... |
Studying different implementations of Ed25519 I see that some of them check the order and canonicity of input public key and signature and some other not. Why this difference? Are these tests relevant in the sense that points specially chosen points to be non-canonical or have an small order reduce the strength of the ... |
Assume that I have a hardware entropy source. Not a TRNG, but the source that might feed a TRNG's extraction algorithm. This source produces independent bits with a not unreasonable bias of $60/40$. So that's $p(1) = 0.6$ and $p(0) = 0.4$ and min. entropy would therefore be 0.737 bits/bit.
I then use a cryptographic... |
I was trying to create a python wrapper for RIPPLE crypto currency, and i ran into SHA 512 half which i have no idea or reverse googled it to no avail. Can someone help me understand the difference. Currently i am assuming its any 256 bits of SHA512.
RIPPLE Address Encoding
|
With the Merkle Damgard Transform, how does it handle messages that are shorter than the input message length - hash digest length? Or in other words, how is the last block handled? So for example, if I have a 40 bit long message and I want to use SHA 256 to get a hash digest, how would I do that? Doesn’t SHA 256 requi... |
We all know how DH is great, and ECDH is much greater, but only in case of Eve spying on public keys, so how can ECDH defeat the ablity of "Eve" to change the public keys between Bob and Alice with her own public keys?
Alice generate keys and send her public key to Bob
Eve intercept Alice's public key and send her own... |
I am a beginner to coding and encryption standards... I have this task assigned in a course I am following:
Design and implement a key exchange protocol. Include digital signatures in the protocol for authentication.
Does implementing the Diffie-Hellman algorithm covers both parts as in key exchange and digital signa... |
I've been working on the Cryptopals Cryptography challenge problems, and I recently solved one where you recover a plaintext given a encryption oracle. The oracle produces a ciphertext in ECB mode AES.
You are given a base64 encoded piece of plaintext (encoded so that it isn't immediately human readable). The only thin... |
Given a trapdoor function, is there a way to explain in all generality how it will be used in a cryptographic system in a simple way?
I am writing a project for high school and I am looking for a way to explain why trapdoor functions are so useful.
|
Voters may vote 0 or 1. We want to aggregate their votes, proving runs efficiently $O(n)$ in number of votes but verifying runs $O(1)$ or $O(\log n)$. Voting has to be cryptographically secure - no double voting. Is there a way to return a tally of the votes for 1 and 0?
By secure, we mean we guarantee authenticity, s... |
I have a ciphertext, that is encrypted using 3-DES.
I wondered, why is it possible to decrypt it using 1-DES.
1-DES key is shorter than 3-DES that is used. How does it work like that?
|
How many reversible gates (said counting Toffoli and Controlled NOT, with free NOT) would be required to reversibly implement $(K,P)\mapsto(G,C)$ for the block cipher DES?
$P$ is the plaintext, $C$ the ciphertext, both 64-bit; $K$ is the 56-bit key; $G$ is any 56-bit "garbage".
For any block cipher, the function $(K,P... |
I know that collisions in md5 and sha1 have been demonstrated in particular pairs of files (by incrementing some none viewable portion of a PDF, etc).
Would generating the above string be meaningfully more computationally difficult than generating such a collision?
|
Everywhere in the lessons on asymmetric encryption explains the process of encryption and messaging, but I'm interested in the asymmetric encryption algorithms themselves. The only thing I have so far realized is that the whole point of such encryption is the use of the mathematical operation of the mod. But how do I c... |
I have the following problem:
I want to put a document on a ipfs store. So it is accessible via a distributed network.
Now, at first only two persons (Alice & Bob) should have access on the file. So I need to encrypt it and give them a private key. But I don't want that both have the same private key, because when one ... |
Following the same definition in this question for perfect secrecy for two messages $m,m' \in \mathcal{M}$. I don't understand how the accepted answer produces a secure system?
I mean The adversary would always be able to xor the two ciphertexts to obtain the xor of the original message s thus changing the distributio... |
There is an asymmetric algorithm which signs with a private key and verifies with a public key. Private and public keys are created in pairs.
Assume we have 2 pairs of private and public keys.
Is there a way to combine two private keys to one private key $priv_{comb}$, so that the produced signature $S$, computed with ... |
I have a question about implementation.
How is an operation like this implemented?
$$(g^k)^\alpha\bmod p$$
With all $g$, $k$, and $\alpha$ being large numbers. The thing that I find tricky is that the $k$ is large and in that operation I can't use the modular exponentiation apparently. Once this number is calculated, ... |
Let $M$ denote a message.
Choose (arbitrarily or randomly) five different sequences of bits (their lengths are allowed to be arbitrary, assuming that our HMAC construction will not exceed the maximum input length for SHA-256). Denote them by $S_i$. For example, we can simply choose “0”, “00”, “000”, “0000” and “00000... |
In the cryptography lecture at my university, we had the theorem that (randomized) OFB mode is IND-CPA secure if the used pseudorandom function (PRF) is IND-PRF secure.
Afterwards, we investigated the security of rOFB if a pseudorandom permutation (PRP) is used instead of an PRF. As we can only distinguish a PRP from a... |
I recently learned AES uses $x^4 +1$ to reduce the multiplications in the MixCol layer. However, I used $p(x) = x^8 + x^4 + x^3 + x + 1$ not knowing it was the wrong polynomial and got the correct answer. For example, here is what I did:
\begin{equation*}
\begin{pmatrix}
02 & 03 & 01 & 01 \\
01 & 02 & 03 & 01 \\
01 & 0... |
FIPS 186-3 (APPENDIX A: Generation and Validation of FFC Domain Parameters)
specifies how to generate Finite Field Cryptography Domain parameters and how to perform an explicit domain parameter validation. These parameters consist of the set of values: (p, q, g {, domain_parameter_seed, counter}).
The Standard specifie... |
I am new to cryptography and I am very confused. In fact, I am so confused that I have trouble providing a suitable title for my thread...
I know that a Substitution Cipher is designed to substitute one letter or character for another, to produce a ciphertext as shown in the picture below
With most symmetric cipher, t... |
I'm looking for an encryption scheme that has the following properties:
Decryption is CPU intensive, so decrypting an encrypted text may take some time (relatively, of course). Preferably, encryption should be negligible.
The time to decrypt can be easily raised.
The time to decrypt can be easily lowered.
Naively, I ... |
I have given n, e, c, and 2d+phi(n). any idea how to proceed to solve that RSA. for values click on this:- https://pastebin.com/mdeSdfzD
|
Imagine this situation:
Alice has an AES256GCM key $K$, a plaintext $X$, and $Y$ which is the ciphertext of $X$ encrypted by $K$
Bob has $X$ and $Y$
Alice and Bob can communicate with each other
Bob wants to know whether Alice holds the key which encrypts $X$ into $Y$
In this situation, Can Alice prove that she has $... |
Short Integer Solution ($ SIS_\gamma^{(q,n,m,\beta)}$): Given a matrix $A\in Z_{q}^{n×m}$, find $x \in Z^m $, such that $Ax=0\mod q$ and $||x|| \le \beta$
Is $SIS\in NP$ ?
If $SIS \in NP$, then it should be reduced to any NP-complete problem.
Is there any reduction from $SIS$ to a Hamiltonian cycle?
|
I want to know how to factor this number only given $n$ and $e$, I have tried to factorize $n$ using Fermat's little theorem and also tried primefac module in python (running for the past 4 days) but had no luck, and I want to know how $n$ can be factorized.
For the values follow this link: https://pastebin.com/37WFzBv... |
Codebook (ECB), Cipher Block Chaining (CBC), Cipher Feedback (CFB), and Counter (CTR). Which of these four modes can perform most of the decryption work in parallel? Why?
|
I have recently started studying lattices. The book that I am following is "Complexity of lattice problem by Shafi Goldwasser and Daniele micciancio" but it is too much inclined towards computational complexity and problems.
Can someone refer a good book from cypto perspectives and easy to understand and grasp the con... |
I believe the masker key, $MK$, of a block cipher might be used for several years and is used only to encrypt $\textit{key encrypting keys}$, which in turn are used only to encrypt $\textit{data keys}$. These data keys are the ones actually used in cryptographic computations and are often also called $\textit{session k... |
According to this page, Edward's curve point doubling can be represented in a different way by assuming $c=1$ and $d = r^2$.
It then says we can represent $x y$ as $Y Z$ satisfying $r\cdot y = \frac Y Z$
I am a bit confused. How would I then calculate the $x$ coordinate? For example, they have provided the following ex... |
My question is more about the practical side of designing crypto. protocols and it is related to complexity. So, if you think it's irrelevant to this forum please kindly let me know and I will remove the question.
In many crypto. protocols the communication cost is very important. In the following, I consider a clien... |
According to Wikipedia, Otway-Ress protocol is as follow:
The protocol can be specified as follows in security protocol notation, where Alice is authenticating herself to Bob using a server $S$ ($M$ is a session-identifier, $N_A$ and $N_B$ are nonces):
\begin{align}
A & \rightarrow B : M,A,B, \{N_A,M,A,B\}_{K_{AS}}\... |
I need to decrypt an encrypted file with RC4 to answer to a Internet challenge.
The file in question is a dump of a Teensy ROM and it is completely encrypted.
Luckily, it looks like it's a standard Intel HEX format.
For the example, a clear file taken at random:
:1000000001C100001DC100001BC1000019C100009A
:1000100017C1... |
I was learning about Merkle trees and understood that if A, B, C and D are the leaf nodes, then their parents will be H(H(A)+H(B) and H(H(C)+H(D)) rsp. and the root will be H( H(H(A)+H(B)) + H(H(C)+H(D)) ). What if instead of this, the parents of the leaf node were: H(A+B) and H(C+D) and the root be H(A+B+C+D)?
I intui... |
It's a common adage that for a perfectly secret one time pad, length(key) >= length(message) must hold. But that's wrong isn't it? At least very sloppy maths. Isn't the strict mathematical requirement that:-
entropy(key) >= entropy(message)?
An example. Consider a OTP used for a message in the English language. Fro... |
A message m is encrypted with two symmetric keys, resulting in two ciphers c,
c1 = encrypt(m, key1)
c2 = encrypt(m, key2)
What is the computational cost of guessing symmetric keys for both ciphers that decrypt to the same message?
|
If a key $d$ is used to encrypt a message $m$ that is identical to the key $d$, resulting in a cipher $c$
$c = \text{Encrypt}(m, d) = \text{Encrypt}(d, d)$
is the computational cost to brute force $d$ lower than if the key $d \ne m$ ?
|
I would like to understand why some definitions of correctness allow a negligible failure probability. i.e. the probability that decryption reverses encryption is 1 minus a negligibly small amount.
I have noticed in the Katz, Sahai, Waters Predicate based encryption scheme that when defining correctness in the two cas... |
I'm trying to encrypt some data using triple DES ECB, but I get a discrepancy between OpenSSL and the pyDES library I'm using.
When trying to get a KCV value, I'm using a file consisting of 8 bytes each with value 0.
I'm using the following OpenSSL command (des-ede3 chosen based on this):
openssl enc -des-ede3 -pass p... |
Imagine that Alice generates a number $a$ and Bob generates a number $b$. Is there a way that they can check that $a \not = b$ without revealing any information on $a$ and $b$ (Alice must not know $b$ and Bob must not know $a$) ?
|
I'm not a cryptographic expert by far but I do understand that when it comes to cryptography it's best to stick with established standards.
I have to ensure confidentiality and integrity of a bunch of files (chunks of these files actually).
Getting inspiration from "serious" people, AES-GCM with distinct IVs and keys f... |
I am wondering if it is possible to personalize an eToken to PASS with the following method:
On the server side we configure a physical device eToken to PASS when it belongs to Mr. Bob.
So when he uses his secretly generated number to login we know that it was Mr. Bob.
What I mean by a "personalized" eToken PASS is tha... |
Are there encryption algorithms based on transcendental numbers? Is it just theoretical or are they implemented in practice?
If so, how useful is brute force attacks against them? (My understanding of brute force is that -in simple words- the computer keeps trying each key until it gets it right. But transcendental num... |
It seems there are few books on PRESENT and even fewer that give any reasoning behind the mechanics of the key schedule.
I understand how it works to the extent that I made a simple Excel program of it. I can clearly see all the steps and I assume it works as it matches test vectors.
However, I do not understand why ... |
Say I have a $26\times 26$ matrix $M$, each column$C_i$ of which contains the numbers from 1 to 26 in a random order. To encrypt a word, I take the first letter (e.g., b), convert it to its index $i$ (here, 2) and take the $i$th element of column $C_i$ for the first letter. Let's say that b becomes d. Then I take the f... |
https://www.w3.org/TR/xmldsig-core/#sec-ECParameters defines the same three characters two-field basis's that http://www.secg.org/sec1-v2.pdf#page=107 defines:
GN (Gaussian Normal, I guess)
TP (Trinomial Basis)
PP (Pentanomial Basis)
In http://www.secg.org/sec1-v2.pdf#page=107 just Trinomial basis and pentanomial bas... |
My question is not really about ZKP but is related to the socialist millionaire problem where A and B can check that their message x and y are different without revealing them. I would actually be interested in a method that allow B to construct a y different than x without A having to reveal any information about x. (... |
As simple as it may sound, I was unable to find a collsion free one-way(ish) function which takes 32 bits of input and produces 32 bits of output. I apologize if I just didn't knew the right keywords to find the function.
Of course, $2^{32}$ is within a range which can be easily bruteforced within a couple of seconds o... |
Before today I didn't know the difference between RSA padding for encryption and for signing, I think this answer describes it pretty succinctly, however, I don't know if there is an optimal padding to use or if there are any deficiencies in current paddings I should be wary of (for example, PKCS for RSA encryption).
I... |
If we had a way to break signature or encryption schemes (e.g. recover the key, recover plaintexts from ciphertexts, forge signatures), e.g. a quantum computer that was powerful enough to break discrete log, would the attacker still need to know the public key used to make the encryption or verify the signature in ord... |
For example, if $H$ is a secure cryptographic hash function, is it infeasible to find $x$ such that $H(x)=x$ or such that $H(H(x))=x$ ?
What about finding $x, y$, and $z$ such that $H(y||H(z||x))=x$ ?
|
I have this cryptography puzzle that I am struggling with. To be clear, if possible, I would first just like some hints to point me towards the solution.
The puzzle is as follows:
"There is a secret message intercepted which goes like this:
SDZROZDBITGNUMYNSF
Unfortunately the receiver could not interpret the message s... |
I don't understand how the key gives you the algorithm, in other words I am having trouble understanding how the key works in symmetric encryption. My book says:
"Symmetric encryption transforms plaintext into ciphertext using a secret key and an encryption algorithm"
So what does the secret key do, is it like a pas... |
I recently came across this term and after some research found this article which states the following:
An alternative approach, called key strengthening, extends the key with a random salt, but then (unlike in key stretching) securely deletes the salt. This forces both the attacker and legitimate users to perform a b... |
I'm a Master's Degree student and researching about AES-128 encryption.
My Advisor asked me a question about necessity of iterative rounds in AES.
he asked:"why we couldn't encrypt a 128-bit plaintext with a 128-bit key by doing simple XOR operation on it? it have 2^128 key space and hard to attack.Why we should perfor... |
Key exchange algorithms make it possible to establish a shared secret key.
But isn't a shared secret always just as powerful as each party creating a public/private key pair and sending each other their public key, and using that for exchanging data?
I always read this is not secure because of the risk that the private... |
"If A wishes to confirm B's public
enciphering key, then A need only know
the first half of the public file,
(which is where YB appears) and H(second
half of public file) which is only 100
bits long. A can compute H(public file)
knowing only this information, and yet A
only knew half the entries in the public
file.
In ... |
How does he end up with this result in his article ?
|
I'm trying to learn about anonymous credential systems. I started with Lysyanskaya's thesis, which gives an outline of how to build an AC system given some particular primitives (signature scheme, commitment, etc.), and then looked at some papers building those particular primitives. I have also come across some papers... |
I was having a read of this question: "Is multiplicative secret sharing secure?"
posted in 2013 which asks if the simple multiplicative scheme is secure.
Everyone agreed that it was information theoretic secure, however I am not so sure that this is the case. In particular, if the secret is 0 then does that not mean t... |
X = plaintext
Given N key pairs:
P1 = (P1.private, P1.public)
...
PN = (PN.private, P1.public)
I want to find 2 function Cipher and Decipher such as
Cipher(X, P1.public, P2.public...PN.public) = X encrypted
Decipher(X encrypted, P1.private) = X
...
Decipher(X encrypted, PN.private) = X
Does such scheme exist?
|
Lets say A has a binary vector of length n, B has a permutation matrix of size n. Is there a way for B to permute A's vector so that A only learns about the result of permutation and B does not learn about the original vector?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.