instruction stringlengths 32 27.2k |
|---|
I am designing an unkeyed hash based on the SIMON cipher. This is a follow up to “this” question. A quick summary: I have an ECC engine and the SIMON cipher in hardware, and it’s in an extremely power constrained environment. I want a hash generator for two reasons: 1) the ECC shared secret, and 2) if I want to ver... |
If the RNG of a HSM is said to be compliant to FIPS 140-2 (approved DRBG - SP 800-90 CTR mode) does also imply that it is compliant to FIPS 186-2 ?
|
I’ve seen that the question has been asked already but this is still confusing to me.
In a digital signature, Alice sends a message M and the hash(M) which is signed by her private key. Bob recomputes hash(M) (that he retrieves with Alice’s public key) and ensures that he finds the same hash value as Alice.
Therefore... |
First my apologies if this isn't the right forum for this but here's my problem :
I have a black box that takes an input file and produces an output file.
I want to sell this black box to a customer but I want to meter/limit the number of files the customer can use with this box. A counter would not be fair to the cus... |
If we have to determine a file is encrypted or not, can we use Shannon's entropy algorithm on the file?
As discussed here, the entropy (in bits per byte) being closer to 0 is considered as more orderly and being closer to 8 is considered more random.
Intuitively this might be generating false positives a lot. Can any... |
From a definition stand point, can a hashing algorithm have more than one input, ex: $H(m_1, m_2, m_3)$?
If not why are algorithms like bcrypt, scrypt and pbkdf2 referred to as password hashing algorithms?
|
I recently came across OPE and Order-Revealing Encryption (ORE), but I didn't exactly got the idea why they are important. What's exactly important about them? Are they actually used in practice? My recent interest is leakage-resilient cryptography, and I saw there are some papers on leakage in OPE and ORE, but why is ... |
Long ago I created a simple program which obfuscated a file by taking the first byte, then XORing it with the second, taking the (original) 2nd byte and X-ORing with the 3rd, etc, down the line. The file size is unchanged, and I could invoke the same program to undo the obfuscation. No key or password was required. It ... |
I am trying to verify a Triple DES Key Component generated by PC Crypto.
The key portion is:
E6F1081FEA4C402CC192B65DE367EC3E
and the KCV value that should be returned is:
212CF915
In theory, it should be calculated as: encryption of binary 0's with the key portion with 3DES.
I have been trying the following link,... |
I am researching post quantum cryptography and I've stumbled upon this article which presents a PKC with an np-complete (SAT) trapdoor.
I was wondering if someone could help me understand the way the encryption works. From what I understand the cipher text is a formula which consist of a bit (the message) which is then... |
Are there any well-known crypto APIs or libraries that leak or used to leak information (it can be the key or anything else)?
|
Suppose $S: K \times M \to T$ is a secure MAC. ($K$ = key space, $M$ = message space, $T = \{0,1\}^n$ = tag space.)
$S$ being secure means that no matter what messages $m_1,...,m_q$ we throw at $S$ to get back tags $t_1,...,t_q$:
$\{ (m_1,t_1),...,(m_q,t_q) \}$
we cannot subsequently find another message-tag pair $(m,t... |
I wrote a routine for a former employer that took the low six bits of ASCII text and "compressed" by cramming the bits together, so that 4 bytes reduced to 3. This had the advantage of automatically folding lowercase to uppercase (not reversibly) with no computational effort. (Our text data was supposed to be just uppe... |
Long ago I learned about an encryption scheme which uses a random mask of bits which were "half on". I don't recall all the details, but basically, if a mask bit was a one, the input bit was passed through, if not the output bit was random. So, the decryption would lose information (it was nondeterministic) but for som... |
Long ago I created a very simple program that used the C library's rand method to generate bytes to XOR with the bytes of a file. This was a reversible (just run it through again) method to make a file unreadable.
In my simple implementation, I did not change the seed, so it always created the same "random" stream, but... |
I'm trying to implement the Blowfish cipher in Output Feedback mode.
OFB mode has two operations, XOR and the block cipher. XOR inputs two blocks of the same length and outputs one block of the same length. Blowfish inputs two blocks of the same length and outputs two blocks of the same length.
How can XOR and Blowf... |
I'm new to cryptography and I am trying to figure out an equation that convert any big number to a smaller one and another one that reverse the operation to get the same big number again!
The problem here is every equation I use works fine with some numbers and others no.
I want one that works with all like:
Encrypted ... |
I understand that the main motivation for HMAC is extension attacks. If data always has content-length either implicit in the app or even explicitly put into the hash, I get the impression that HMAC is not necessary. The motivation is to allow password based encryption of keys, using widely available primitives, and ... |
In "Simulation without the artificial abort: Simplified proof and improved concrete security for Waters' IBE scheme", Bellare and Ristenpart present a new proof for Waters' IBE scheme that does not use the artificial abort technique. As in the original proof, the authors define an adversary $\mathcal B$ that breaks the... |
I know that knowing the private exponent $d$ corresponding to the private key $k_{pub}\langle n,e\rangle$ it is possible to efficiently factorize n.
The procedure starts stating that:
$ed -1 = s(p-1)(q-1)$
and then saying that:
Randomly picking $x\in\mathbb{Z}_n^*$ we know that $x^{ed-1}\equiv 1\pmod n$ and computing $... |
After an initial study of white-box cryptography, specially around the first article (Chow et. al.), I understood each step of transforming the lookup tables of AES into new ones.
If I understood it correctly, the purpose is to redefine the AES algorithm to propose new tables in each step and to perform lookups into di... |
Let's imagine Alice wants to send Bob a table with 2 columns:
+----------+-----+
| location | age |
+==========+=====+
| ny | 22 |
+----------+-----+
| london | 23 |
+----------+-----+
| ny | 18 |
+----------+-----+
| paris | 25 |
+----------+-----+
| madrid | 28 |
+----------+-----+
| london ... |
RFC 3766, Section 4.1 discusses picking $n$ to achieve some target cost for employing the GNFS, i.e., $T$ is known and $N$ is unknown in the below equation:
$$T = \kappa \cdot \exp{\left(c \cdot (\ln{N})^{1/3} (\ln{\ln{N}})^{2/3}\right)}$$
In the RFC, the authors use $c = 1.92$. By using their empirically-derived coeff... |
For example, in the question “Is there any reason not to use Single-Key EM with AES and a constant key?” it is proposed to use AES with a fixed key as the permutation in a xor-permute-xor construction. In the paper linked in the answer – “Key-Alternating Ciphers in a Provable Setting: Encryption Using a Small Number of... |
I had an idea. Could anyone tell me if this is a thing, if they see any problems with it, and if they know of a commutative hash function that would make it work?
Suppose you had a pair of cryptographic hash functions, one of which could take an a key in addition to its regular input, and that these functions were comm... |
The JSON Web Encryption (JWE) standard defines a number of encryption modes with the same basic form:
First, the a unique content encryption key (CEK) is generated and used to encrypt the payload with associated data in an AEAD mode (e.g. AES-CBC with HMAC or AES-GCM). If a separate block cipher and MAC are used then ... |
In the NTRU key generation, one samples a polynomial from $K = (\mathbb Z/q\mathbb Z)[X]/(X^n+1)$ and tests if it is invertible. What are the chances of this to happen? In other words:
Let $q$ be a prime and $n>4$ be a power of $2$. What is the cardinality of $K^*$?
|
I am trying to cryptanalyze a cipher where bitwise XOR and addition mod $2^n$ are combined together. I've been working on it for a long time but with no result - the main difficulty, which I am unable to overcome, is that even though XOR and addition are linear in their own groups, addition mod $2^n$ is non-linear over... |
I've tried to get a public key size of DSA/Elgamal PGP certificate. Using the Cleopatra I find out that there is actually two public keys - one with DSA with key size 1024 bits and the other Elgamal with 2048 bits.
Now my question is which of this key sizes is the actual key size for this certificate and more importan... |
As someone with a non-crypto background, I learned that differential cryptanalysis is mostly weak against ciphers like DES because, being a chosen plaintext attack, for a state of art complexity of $2^{47}$ there is a need for $2^{47}$ plaintext bits to conduct this attack which is realistically infeasible.
So what's t... |
In the YASHE (Yet Another Somewhat Homomorphic Encryption) algorithm, the beggining of the key generation step specifies:
Sample $\ f',g ← χ_{key}$ and let $\ f = [tf' + 1]_q$.
If $\ f$ is not invertible
modulo $q$, choose a new $\ f'$.
Compute the inverse $\ f^{−1} ∈ R$ of $\ f$ modulo $q$ and set $h = [t\ g\ f^{−1}]... |
I have been designing multiparty computation (MPC) protocols for functions that interest me. Although theoretically I am able to deduce the asymptotic complexity of the protocol, I wish to know as to how this protocol will perform for practical sized inputs. I came across VIFF (virtual ideal functionality framework) wr... |
I'm trying to attack a very simple cipher using differential cryptanalysis as a way of becoming familiar with this method. The cipher is so simple that I've found a differential which I can trace through all the rounds of the cipher with 100% probability (it is not 0 of course).
I've read/watched a few tutorials and if... |
I'm using brainpoolP512r1 elliptic curve for DSA and DH in my application. Recently I've found out on this website that brainpoolP256t1 and brainpoolP384t1 aren't secure. Unfortunately my curve wasn't mentioned.
When I'm using brainpool, my public keys encoded in base64 have around 210 chars, but for curve25519, they e... |
Do all ciphers suffer from the problem of multiple equivalent decryption keys? Is the existence of equivalent keys an essential property for the security of a cipher?
If you could prove that a cipher had no equivalent keys, would that lead to a procedure for recovering the key under the known-plaintext attack model?
|
Assume we have a lattice SIS problem
$A x = 0$, with $\Vert x \Vert < \beta$ and we are given $k$ solutions $x_1, \dots, x_k$ by, say an oracle.
Is it then hard or easy to construct from there a further solution $x_{k+1}$ ?
|
I came across a company that relies on hashing, similar to block chain technology. They explicitly stated in their white paper that hash based cryptographic schemes are inherently post-quantum schemes.
Counter to this, is an article co-authored by Schneier (linked in blog post) that lends support to the idea of Grover... |
If $m^{ed} \bmod n = m$ for message $m$, public key $e$ and private key $d$, then adding any integer multiple of $n$ to $m^{ed}$ still equals $m$ modulo $n$.
Supposing it exists, how do I find an equivalent key, d', such that $m^{ed'} = m^{ed} + kn$?
|
A strong cryptographic hash function in general must guarantee several properties, including: Preimage resistance, second preimage resistance and collision resistance. It turns out, however, that certain applications only require a subset of the properties while others require all of them. The table below gives a summa... |
Let $A_1$ and $A_2$ two $m \times n$ matrices defining SIS problems.
Does there exist a zero knowledge proof that two short solutions are the same, i.e.
$$y_1 = A_1 x $$
$$y_2= A_2 x $$
$$ \Vert x \Vert < \beta$$
|
Confused about RSA message cipher: $c = m^e (mod\ n)$
So if $m^e$ can be greater than n, then you can get duplicate ciphers for the same message. Most postings I've read say that $m^e$ must always be smaller than n to counteract.
But if $m^e$ is smaller than n, then $c = m^e$ and can just be decrypted by $\sqrt[e]{c}... |
I understand that the MAC-then-encrypt approach is susceptible to several attacks including the so called padding oracle attack. I understand that in this attack the attacker modifies the padding and listens for the errors caused which he can then use to infer the plain text. Can someone please explain the attack in la... |
In RSA, to encrypt a message, the following formula is used:
$$c=m^e\bmod n$$
For decryption,
$$m = c^d\bmod n$$
is used.
However, when I try to substitute the value of $c$ from the first into the second formula, I am unable to satisfy the equation, or rather unable to simplify the expression below:
$$m = (m^e\bmod n)... |
Have a look at the following codesample written in C#:
private static byte[] GetRandomBytes(int size)
{
byte[] buff = new byte[size];
// Create an array of crypto-secure random numbers
using (RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider())
{
rng.GetBytes(buff);
}
// Gets ... |
My question in general is:
Question 1: What are the differences between sketch of proof and full proof?
In simulation-based proof, in semi-honest model, we construct a view that is computationally indistinguishable from real view. Then we argue that the two views are computationally indistinguishable.
Question 2: Why... |
It is said that breaking Ed25519 has similar difficulty to breaking RSA with ~3000-bit keys" 1
When using RSA, I prefer 4096-bit keys, but I would like to use Ed25519.
If I wanted to double the security level - similar to RSA with ~6000 bits - what are my options?
Do we have to wait for a new standard to be published?
... |
I am working on a project which computes the hash of the given input, I have to prove that the function is pre-image resistant that is given an output we cannot get back to the input.
While proving the function to be pre-image resistant. The function that I am using has a property that for every output there are more t... |
I was wondering if there is a security difference between Lattice based homomorphic encryption schemes versus an partially homomorphic encryption scheme like Paillier, and El Gamal encryption schemes especially with respect to the security against quantum attacks?
|
I am writing code that needs to produce a truly random number of 96 bits. The requirements are:
The code must be able to produce all $2^{96}$ values.
The likelihood for any value to come up must be the same for all values.
It must be impossible to predict the next $96$-bit number that will come up.
So, using RNGCrypt... |
Let R be a ring.
Is there a known/standard way for N parties to perform some exchanges, such that at the end each party holds an element $r_i\in R^\ast$ and $r_1r_2\dots r_N=1$ (and each party $i$ does not know $r_j$ for each $j\neq i$)?
(Or equivalently, share 0 additively?)
|
This might be in danger of being too elementary a question for this community but I'm hoping for expert help:
Assuming that TLS is not enough to protect messages transmitted between a client and a server, what is a good way to establish secure communication between a client and a server? In my case this is between a w... |
If quantum computers operate in BQP and (using Shor's algorithm) they are able to factor large integers and break the discrete log problem, what does that tell us about the complexity class of these problems?
I just read an article that claims that it is unlikely that RSA or ECC will ever be reduced to NP-complete prob... |
I am having hard time understanding the security proof in Attribute-Based Encryption, especially in Ciphertext-Policy Attribute-Based Encryption.
To do reduction in CP-ABE scheme, how do I check that the security proof is correct or works. For example, there is a CP-ABE scheme in section 3 of Ciphertext-Policy Attribut... |
My question is based on the specification of the protocol LoRaWAN and especially on the part 6.2.5 Join-accept message.
It is said that the join-accept message is encrypted using AES ECB. This is (normally) a single message created like that:
aes128_decrypt(AppKey, AppNonce | NetID | DevAddr | RFU | RxDelay | CFList | ... |
NIST and other - mainly older - standards often don't just mention PKCS#1 RSA algorithms but also X9.31 RSA algorithms.
What are the differences between X9.31 and PKCS#1 (v2.1) with regards to
key pair generation;
signature generation;
encryption (if applicable)?
|
I started working with RSA two weeks ago. But I couldn't really understand how exactly I2OSP & OS2IP are working. I am using some open source for signature verification through RSA PSS algorithm.
I am trying to generate "EM" from a signature of length 256 bytes, public modulus $n$ (256 bytes) and exponent $e$ (0x10001)... |
I would like to have a secret sharing scheme with the following properties:
Generate secret $S$ a split it to $N$ shares $(s_1, s_2, ..., s_N)$
Require $k$ of $N$ shares in order to reconstruct secret $S$
Update $N$ to $N+1$ and generate new share $s_{N+1}$ (everything remains
the same, $N$ shares not changed)
The s... |
In identity-based broadcast encryption, suppose the broadcast ciphertext $(r_1,r_2,\dots,r_i,U,W,V)$ is sent to the receiver.
In some cases, they use some function
$f(x)=k-\prod_{i=1}^{t} (x-v_{i})$ to get $k$ by replacing $v_{i}^{'}$ in place of $x$. In this case, only one function for $t$ receivers is possible.In r... |
The DES key 0E329232EA6D0D73 has the unusual property that decrypting a ciphertext block consisting entirely of zeros gives a plaintext block consisting of eight repetitions of the same byte (0x87).
How was this key originally found?
|
I'm wondering, suppose we have a public key cryptosystem $P = (pk,sk)$ such that $$pk: \{0,1\}^n \to \{0,1\}^{n^2},$$ that is, the ciphertexts are $n$ times longer than the plaintexts (here, $n$ is supposed to be the security parameter). My question is
Does this imply some weakness of any kind on the cryptosystem (as ... |
Are there any signatures based on matrix multiplication with noise? Representing the message as a matrix and multiplying with some randomness coming from another matrix such that the signature itself is a matrix?
|
I need to implement algorithm to create authenticatable irreversible tokens from PAN, without using any secrets.
Is it possible? Is there any standards for that from associations?
I was thinking about HMAC but it needs to distribute secret symmetric key to all relevant parties. How to do it without distributing cryptog... |
I have some data that I CTR-AES-256 encrypt already. I am aware of ways to validate the integrity of the entire file (ie: a separate MAC of the plaintext, or encrypt then MAC, etc). But none of these apply to ranges.
For example: I put a 5TB movie up into a server. It's something crazy like 30 days of camera footage... |
CTR mode does not use the decryption function at all, only the encryption function.
This may suggest that a different primitive that has this "one-way" property could do the trick. For instance, I just thought we could map the secret key with the counter under a secure hash function to obtain a complete usable and sec... |
I was reviewing RSA by hand.
I picked 53 and 59 as my primes.
For e I picked 5.
When I solved for d using extended euclid, I got 1 which obviously doesn't decrypt anything.
I checked my answers online using calculators and got the same result.
Did I pick e or a prime wrong? How do I make sure I don't get 1 as d?
|
In identity-based broadcast encryption system, the ciphertext is
$$ C=<c1,c2,...,cn,U,V,W>$$
There can be a man-in-the-middle who can modify one or all of the $c1,c2,...,cn$ values so that the receiver can not get the correct plaintext.
Why isn’t such a situation considered? (Maybe my thinking is somewhat awkward.)
|
Suppose someone had published a several hundred page (sensitive) book, but had randomized all of the letters in an order known only to them (e.g. with a vector of random numbers of the same length as the book's characters).
This initially strikes me as relatively riskier than something of comparable simplicity (like a ... |
Suppose that I am generating random numbers with Python's random module, so that there is a known random number generator (Mersenne Twister in this case). I've read: "[...] observing a sufficient number of iterations (624 in the case of MT19937, since this is the size of the state vector from which future iterations ... |
I have a unique identifiers that I would like to keep secure and provide information about it through tokens. These tokens should be verifiable after using the same algorithm on other end system with presented ID and comparing these values.
I am thinking to use PBKDF2 as a one-way function to get such tokens from IDs. ... |
An exhaustive search of half the key space requires $2^{n-1}$ work and provides the right answer 75% of the time. If the attacker finds the key, he knows the answer. If he doesn't find the key, he still has a 50% chance of guessing right simply by guessing at random. Overall, his chances of getting the right answer ar... |
zk-SNARK: Zero-Knowledge Succinct Non-interactive Argument of Knowledge
From the Ethereum blog:
One natural use case for the technology is in identity systems. For example, suppose that you want to prove to a system that you are (i) a citizen of a given country, and (ii) over 19 years old. Suppose that your government... |
We're developing a public key cryptosystem whose ciphertexts are actually much more long than the plaintexts (which, according to this question, is more a benefit than an issue).
However, we have a particular property. Most part of the public key can be chosen by the user. More precisely (in a high level explanation), ... |
I’m running an experiment to test the randomness output of many cryptographic algorithms based on INST test suite to measure the randomness of their outcome.
However I’m searching to a sample data set to perform the experiment. Based on my understanding the data set should be non-random to be able to measure the random... |
I am trying to define algorithm that would create a irreversible token from IDs, which are 10 digit information, and then would be compared on two different end points.
Between end points, only sending tokens is allowed, no IDs can be send from one end point to another. End points are not sharing any secret information... |
I read that Google want to integrate this into HTTPS because it is safe against quantum computers.
However, the Wikipedia article might as well be written in Latin because it makes very little sense to me.
How does Ring Learning with Errors work and why is the algorithm safe from quantum computers?
Edit: there's a ques... |
I am currently reading Yehuda Lindell's amazing tutorial on simulation proof technique and trying to write my own proof for the first time. In page 4 of this tutorial it is mentioned that
[...] The value $a$ must therefore be written on the advice tape of the reduction algorithm.
and I also knew that $a$ in context ... |
The standard notion security for MACs is usually expressed by means of experiments like the following one (given an attacker A):
$k \leftarrow \mathsf{KG}(1^\lambda)$
Invoke $A^{\mathsf{TAG}_k(\cdot),\mathsf{VRFY}_k(\cdot,\cdot)}$
Output $1$ if $A$ queried $(m^*,\tau^*)$ to $\mathsf{VRFY}_k(\cdot,\cdot)$ s.t. $\math... |
I want to know which is faster-HMAC or CMAC.I know CMAC is based on block cipher encryption,where output of each block is X-OR with the next plain text block. If security is not a concern,which will be faster to use?
|
The current literature around Information Theoretic Private Information Retrieval (IT-PIR) schemes assume the existence of multiple copies of the database distributed across non-colluding servers. Much of the research seems to be around the servers not communicating with each other but only with the client.
Can the re... |
I have found what I believe to be a straightforward explanation of the oracle padding attack here: http://robertheaton.com/2013/07/29/padding-oracle-attack/
I am however getting confused by something which experts here should I believe find so easy.
When you open the link and browse to the subsection titled "Manipulati... |
In the notes from which I'm studying I read about Kasisky test:
"Key observation: Two identical segments of $l ≤ L$ plaintext letters,
will be encrypted to the same $l ≤ L$ ciphertext letters."
Where $L$ is the length of the keyword in the sense that
$$k=(k_0, k_1, . . . , k_{L−1}) \ with \ k_j \in (0, . . . , 25)$$
I... |
I am currently reading the full version of the SPDZ protocol. I understand that the online phase does multiplication with computational and communication complexity $O(n)$ by using Beaver's multiplicative triples as explained $\Pi_{Online}$ (Fig 1, page 5). These triples are numbers $a$,$b$ and $c$ such that $ab=c$, wh... |
I have read some articles or books (e.g., “Bulletproof SSL and TLS”) about POODLE, but they still don't answer my questions – which are:
From https://www.openssl.org/~bodo/ssl-poodle.pdf,
Usually, the server will reject this record, and the attacker will simply try again with a new request.
My question is:
Becaus... |
I am developing a .NET application spanning multiple servers who should all be able to decrypt data stored in a SQL database. My database is multi-company where each company has its own GUID. since the data being encrypted is personally identifiable information (PII) and the requirement is to be PII compliant, I am enc... |
I've looked in many places including here and can't get quite the answer...
So I thought I'd post a question.
I can't grasp how $d$ is calculated. Obviously the problem is that knowing $e$ and $n$ should not allow determination of $d$ as this would render the whole thing useless.
So I'm assuming there is some efficien... |
How secure would be to use PBKDF2 without salt (or with the same salt for all) with a 16 digits passwords that are unique and randomly generated (there can't be two identical)?
Assuming an adversary with large resources and technical know how, How fast someone would be able to identify password using 10000 or 50000 ite... |
I have some questions about the paper Bounded CCA2-Secure Encryption (pdf).
On page eight "3.2 Construction", the authors have done a black-box construction of an IND-q-CCA security schema and then he says he can prove that result in 6 games (page 8 to page 10).
I do not understand the explanations of each game exactly... |
Suppose I have N potential predefined, publicly known (pseudo?) random bit vectors:
sequence 1: 1001000101010111001...
sequence 2: 0100101011101010100...
...
sequence n: 0101101010111010001...
Suppose you randomly choose a few (call it m) sequences and XOR them bitwise into a final vector. If one wanted to find out w... |
I run into some developers from time to time who sometimes try to modify crypto which I end up saying along the lines of "Don't modify crypto." Usually, the question I get is - "OK, tell me why is this bad? How can this be broken?"
My rule of thumb is usually that cryptographic primitives are supposed to be used they w... |
In the NTRU cryptosystem, it is suggested to take $N$ prime.
I want to understand why.
In Jeffrey Hoffstein, Jill Pipher and H. Silverman An Introduction to Mathematical Cryptography, they suggest (as exercise) to suppose that $N$ is even, to consider the natural map
$$\mathbb{Z}[X]/\langle X^N-1 \rangle \longrightarro... |
In identity-based encryption, for security proof, they sometimes describe random oracle for decryption queries. Therefore, I wonder decryption is handled by decryption oracle for all users? Users need help of decryption oracle for decryption?
|
I'm trying to understand how MICKEY 2.0 works in detail.
In [1], page 6, it says:
... the state of the generator does not repeat within the generation of a single keystream sequence ...
What consequences does this have? As the internal state generates the output, I think that two identical inputs within the same ke... |
I am trying to implement the Feige-Fiat-Shamir identification protocol. I've read another posting here on this site and I tried to adapt - however the end results always fail to match. Maybe because aim doing Feige-Fiat-Shamir and not Fiat-Shamir? To get to the bottom of my problem, I therefore decided to post my own q... |
When an entity $A$ wants to send a message to entity $B$, he can attach a MAC to the message. Entity $B$ on receiving the message can use the pre-shared key to compute the same MAC and confirm if the message is untampered with.
This approach protects $A$ and $B$ from an external attacker who might want to mess with the... |
What I would like to achieve is the following:
Alice sends to Bob the encryption of a datagram that has the following format:
| 256-bit number | SomeLongArrayOfZeroes |
Bob knows the decryption key.
But before the datagram reaches Bob, there are some intermediaries which I would like to be able to add some additional ... |
I am studying about various block ciphers and their weaknesses, so I have a doubt about AES S-boxes, Is the difference distribution table of AES uniform ?
|
I don't understand a part of the paper Priced Oblivious Transfer - How to Sell Digital Goods. Particularly, the authors avoid using zero knowledge proofs and in section 3.3 they explain how they do this, but I don't fully understand this.
At the middle of the last paragraph of 3.3 (page 11 of the document) it is mentio... |
When must an IV be kept secret?
There is an ambiguity in the way that the lack of need for secrecy of the IV is described in multiple places. Does this ambiguity suggest that there are, in fact, situations in which the IV must be kept secret? Or is it a quirk of language that has persisted across several popular sour... |
Two's complement addition (and multiplication) are non-linear with respect to XOR and AND. This means that for bit vectors over $\mathbb{Z}_2$, the operation $a + x$ cannot be expressed as the matrix multiplication $Ax$, where $A$ is some constant matrix derived from $a$.
Because of this non-linear property, why is a L... |
I know that $XOR$ is equivalent to modular addition in the field $\mathbb{F}_2 = \{0,1\}$ (is it right?), and thus should satisfy the following property of a bilinear form:
$$\oplus(u+v,w) = \oplus(u,w) + \oplus(v,w)$$
My doubt is: how has the $+$ in the previous formula to be interpreted? Because if I interprete it li... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.