instruction stringlengths 32 27.2k |
|---|
Given a cryptographic permutation $\{0,1\}^n \rightarrow \{0,1\}^n$ does it follow that after some number of iterations you must eventually map the input to itself?
|
I have two questions regarding to statistical distance in distributions.
1: If $Z$ is uniform random variable over $N$ consecutive integers and
$m < N$ then $Z$ mod $m$ has statistical distance at most $m/N$ from the uniform
distribution over $[m]$ ($[m] = {0,1,2,...m-1}$). How this statement is true based on the defi... |
What's the opinion on using an AEAD cipher such as AES-GCM for example as a pure message authentication code (MAC) when only message authentication but not encryption is required.
does it bring any benefits?
does it have any obvious disadvantages?
does it have any security implications?
|
I'm learning some IT security and during practice I found an exercise I couldn't solve.
I have an encrypted message with block cipher in CBC mode.
The blocks are one byte long and the first block is an IV. I know 80% of the plaintext which is a form but there are missing parts. I don't know anything about the encryptio... |
I want to be able to securely (1) create and (2) validate a PIN, typed by a user primarily in a mobile app. There is no 'typical' password, although there is another 2nd factor.
The starting point would be something based on OWASP standards for passwords:
get salt_1 (send to user device)
hash PIN on device using salt_... |
I am using a self implementation of ChaCha20 with Poly1305. Since the nonce is only 96 bits it cannot be chosen at random. Can anyone suggest an efficient method to generate nonce from the key ?
|
I apologize that this is a rather trivial question, but I haven't been able to find an answer anywhere. If the one-time pad is unconditionally secure and impossible to crack (with just ciphertext), why does this not imply $P \not= NP$? If not the one-time pad, what properties would a cryptographic system need to exhi... |
I have a RNG producing sequences of binary numbers, ad I would like to run Dieharder test using them as an ascii txt input file. However I haven't been able to do it properly. Should I use a header like:
type: b
count: 2500000
numbit: 1
1
0
0
...
Thanks.
|
These are contents from the paper Trapdoors for Hard Lattices
and New Cryptographic Constructions(GPV08). I do not know the reason about the last sentence. Why these two distributions $D_{\Lambda, s, c}(x)$ and $D_{\Lambda, s, c^\prime}(x)$ are identical?
|
I was trying to implement the RSA algorithm myself. I have written the key generation part. My question is if I have the word "apple" which I want to encrypt, do I have to convert each alphabet to ASCII and then apply RSA to each letter or are there some other way?
|
Observing the code example from pqcrypto-kyber, is the decapsulate function $d$ homomorphic?
If $d(ct, sk_i) = ss_i$, is it true that $d(ct, \sum_i sk_i) = \sum_i ss_i$ ?
|
I have two different hexadecimal strings (of same length) that I think are encoded plain text strings.
Out of curiosity I XORed them and I found a single hex byte repeated for the length of the two hex strings.
Does it mean anything about the key or the algorithm used to encode the two original strings?
Thank you in ad... |
I know that normally a one-way function takes in a completely random input, but can a one-way function take in something pseudorandom instead of completely random? Will it still be a one-way function? Intuitively it seems like it would be, but I don't actually know why.
|
Suppose that I give you the challenge of successfully factoring any very big random number. That is, you pick a big random number (say, 65536 bits) and try to factor it. If you manage to, you win. If you don't, you can keep trying, or pick another random number, until you factor any big number. How hard is to win this ... |
Certain password strength estimators (for instance, zxcvbn) give estimates that vary with the speed of the hash and the assumed resources of the attacker. I am curious what hash is used by the MacOS FileVault encryption on MacBooks, and whether it should be considered a "fast" or "slow" hash for the purpose of estimati... |
Suppose I construct a Pedersen commitment as $g^m h^r$. I could pick the randomness in a "pseudo-random" fashion, such that $r = H(m)$. My questions are as follows:
Given that $H$ is collision-resistant, does the security properties of the Pedersen commitment still hold? (i.e. is it still hiding and binding?)
Is there... |
Has the decisional version of the discrete logarithm problem been studied somewhere? I mean, for known $G$ in a group, distinguishing $xG$ and $Y$ for unknown integer $x$ and group element $Y$?
|
With the RSA algorithm implemented using the Chinese Remainder Theorem (CRT), the private key has to be provided with not only $p$, $q$ and the private exponent $d$, but often also with the pre-computed value $q^{-1} \bmod p$ for a faster recombination using the CRT.
Assuming that $q^{-1} \bmod p$ is leaked to the adve... |
I am having some troubles understanding the power of an adversary in attack against a MAC.
In chapter 4 in Introduction of Modern Cryptography by Jonathan Katz and Yehuda Lindell, specifically in the message authentication experiment ($Mac-forge_{A,\Pi}(n)$), an adversary $A$ is given access to MAC oracle $Mac_k(\cdot... |
If I have some bytes, and I want to compute a secure hash into a prime field which is 300 bits long I can:
Use a nice hash, like sha3_512, and then
modulo my prime field (introduces some bias).
toss bits most significant bits away until the number is < my prime (some bias toward smaller numbers)
toss bits most signi... |
I'm looking to implement a performant revocation method for JWTs. I'm reading a paper, in which the following section's second paragraph states:
If we use the client hashing approach described previously, we have a greater volume of keys to deal with. One possible approach would be to generate the secret using a set s... |
Google Timeline claims (e.g. here) that "Your Timeline is private, so only you can see it."
What does that mean? As a cryptographer I would take that to mean that the Timeline data is encrypted using a key that only I have access to.
But based on some of the features, that doesn't seem likely. For instance it can be ac... |
I know that perturbation should be proportional to the $\text{L}_1$-sensitivity of the function if someone wants ($\epsilon,0$)-differential privacy, and proportional to the $\text{L}_2$-sensitivity of the function if someone wants ($\epsilon, \delta$)-differential privacy for $\delta > 0$.
But why is that? Can anybody... |
I have a question about AES-256-GCM encryption.
Can I make a fixed-length encryption output?
In my understanding, I cannot make a fixed-length ciphertext. To me, the fixed-length output is much more secure so that no one can guess the input length. If we cannot make a fixed-length output, can someone explain why this i... |
For a "Murder Mystery Party", one person is chosen anonymously to be the murderer
(i.e., only the murderer knows who the murderer is) by shuffling cards with
everyone randomly taking a private card (one card has "You Are The Murderer!"
written on it).
How can I do this cryptographically over an open communication chann... |
The signcryption and the authenticated encryption are both the combine of encryption and authentication with three natural composition (i.e., EtS, StE, E&S). I am not sure that if they are the same cryptographic primitive.
If they are the same, why a cryptographic primitive has two different names?
If not, the only dif... |
SP-cryptosystems Is the order of applying transformations in SP cryptosystems matter? What will change if we first apply the P-transformation and then the S-transformation? Will cryptographic strength be less? And if yes, why?
|
Let’s say I want to find a partial rather than full preimage using the meet-in-the-middle attack. For example, my goal is to find a preimage so that the first 76-bit output of the hash are all consisted of the number 1.
Does finding a partial preimage have a better chance of success than finding a full preimage using ... |
I have some doubts about RSA (the public key $n$ and $e$ is public):
Note $n = pq$ and $\phi (n) = (p-1)(q-1)$
1) Say if some hacker knew $p$, why would it be easy for them to find $q, \phi (n), d$?
$d$ is a prime larger than $p, q$ so that $1 = k\cdot \phi(n) + d\cdot e$
2) Now, say if a hacker knew $\phi (n)$, why... |
I have a doubt about the Diffie-Hellman problem:
Is it possible to send a message to someone using only the Diffie–Hellman key exchange?
Since it's called a key exchange can you only make a key?
|
Here is the actual question that I need to answer:
An RSA encryption scheme has the set-up parameters $p = 31$ and $q = 37$. The public exponent is $e = 17$.
Decrypt the ciphertext $y = 2$ using the CRT.
Verify your result by encrypting the plaintext without using the CRT.
I have figured out the answer for the first ... |
I tried to understand some crypto text but I am new to this.
Does this:
Let $X,X'$ be $\ell$-bit values, and $\Delta X=X\oplus X'$
means that $X$ and $X'$ have $\ell$ bits and $\Delta X=X-X'$ or something else
|
In Section 6.3 from MP12 we have that $encode(m) = Sm$, for $S$ any basis of $\Lambda(G^t)$. Then I have:
$S = \begin{pmatrix}
1 & 2 & 4 & 8 & 16 & 32 & 64 & 128 & 256\\
2 & 4 & 8 & 16 & 32 & 64 & 128 & 256 & 0\\
4 & 8 & 16 & 32 & 64 & 128 & 256 & 0 & 0\\
8 & 16 & 32 & 64 & 128 & 256 & 0 & 0 & 0\\
16 & 32 & 64 & 128 & ... |
In an answer to another question, it was suggested that the shared secret derived from Diffie–Hellman key exchange could then be used directly as a one-time pad to encrypt a message (by XORing the message with the shared secret after writing everything in binary). This forms a simple hybrid cryptosystem.
User fgrieu w... |
My students have asked me some questions about why there are standards being developed for hybrid public key systems with both a classical and a post-quantum component.
Given that when elliptic curve cryptography was first being deployed no one suggested using elliptic curve cryptography with classical RSA or Diffie-... |
The second question my students have asked me about PQ/Classical Hybrids is about why we think they are good for protecting information with a long security lifetime. If we don't trust current PQ schemes enough today to use them to protect information on their own, why should we have any confidence that they would be ... |
This is not a question targeted at a specific crypto implementation, but a question out of curiosity. What's the reason for calling the stream ciphers ChaCha/Salsa?
I couldn't find any information about this on the Internet. Are those names somehow related to their internal structure, or just to make them stand out fr... |
While reading some cryptographic RFCs, came across the Diffie Hellman prime computation formula:
2^1024 - 2^960 - 1 + 2^64 * { [2^894 pi] + 129093 }
I am curious what the expression [2^894 pi] means here. The part specifically confusing me is the space between 2^894 and pi. It cannot be a multiplication operation as th... |
I cannot find what "crypto_box" actually means. In general, and in specific cases, what does "box" do? I know that libsodium is authenticated encryption, but GPG is not. "Box" makes me think the encryption and signing are somehow sealed and protected.
What does "crypto_box" mean in libsodium and NaCl?
|
I am new to cryptanalysis and interested in knowing cryptanalysis tools (black boxing or white boxing) for (not any specific) stream ciphers in general sense.
Scenario: I am given an assignment to evaluate a stream cipher which is implementing techniques like NLFSR and LFSR etc.
|
Suppose that the file linux.words is used as the "book". This is a publicly available list of just shy of half a million words. And suppose that this book is used, not in its native alphabetic order, but in some randomised order. The number of possible random arrangements is a decimal which is over two million decim... |
I started to read about the broadcast encryption problem, specifically, the first, seminal work of FN93 followed by the subset cover technique presented at NNL01, and something really trivial and inherent bothers me.
Consider the complete subtree method presented at NNL01 (section 3.1), which is claimed to have informa... |
Recently I started learning how the RSA algorithm works and there is one single part of the computation which really confuses me and can't get over it.
Let's say I chose 2 prime numbers,
namely
$P = 3$ and $Q = 11$
$N = 3 \times 11 = 33$
$\phi(N) = (P-1)\times(Q-1) = 20$
Now, I have to chose e based on some criteria (... |
As I understand to obtain a Golden Block is to finding a nonce that matches a hash lower than a given target, as shown in this research-gate article.
And here is a "py" kernel: Bitcoin mining python (Github)
As the nonce is only a 4 (8-bit)byte it is only to compare 65,536 hashes, that it seems ridiculous for any GPU.
... |
As I understand pkcs12 defines a container structure that can hold both a certificate and one or more private keys.
openssl pkcs12 -export -inkey test-key.pem -out test.p12 -name 'Test name' -in test.crt
Enter pass phrase for test-key.pem: KEYPW
Enter Export Password: EXPPW
Verifying - Enter Export Password: EXPPW
Re... |
I already built a supply chain that is able to collect product information on Ethereum. Now, that data can be confidential, but I still want to do Matrix calculations on it. I came across homomorphic encryption, but I'm not sure if it would help me. My product information has a JSON format like that:
{
"Timestamp": U... |
I am trying to see specific cases of attacks in the CBC mode, in particular, I am investigating some attacks such as Example of a cut-and-paste attack on CBC. Here I have posted something similar and I have received great answers that are also very clear. But I have tried to look for more examples cut-and-paste attack ... |
I am writing a comparison paper about security of electronic communication and I want to compare end-to-end encryption and TLS by giving two examples such as Whatsapp and Facebook Messenger. However, I am not sure if this is a valid comparison.
If they are comparable solutions to this problem, how should I compare the... |
I'm reading this paper: fips180-4-draft-aug2014
I'm on page 23 where they have two values for SHA-256: T1 and T2. While I understand the operations done, I don't understand the bigger picture. Why do we need T1 and T2 in this case? What do the values T1 and T2 represent?
The paper defines it as "T Temporary w-bit word... |
I saw some SWIFT code that generates IV for AES 256 from selecting 16 characters from a-zA-Z0-9 space. Is this secure? Sufficiently secure?
What is the best practice to generate IV for AES 256? Will picking random 16 bytes from 0x00-0xff be good?
We want to store key and IV in Database and retrieve it for encryption/de... |
Assume I have a block of data consisting of three segments A, B and C. With "segments" I mean a particular section of a bit stream, so if the whole binary data was simply 00 01 02 ... FF, A might be 00 ... 5C, B could be 5D ... 72 and C would then be 73 ... FF.
K1 and K2 are 128 bit AES keys that were securely exchange... |
I'm thinking of implementing text encryption and decryption in my program using AES using key sharing thanks to MPC (the point is that the key should never be provided in full), however, all public libraries that I found offer this option only assuming that one member has the whole key and another plaintext. Does anyon... |
I'm interested about the cryptanalysis side of lattice-based cryptography, and was wondering whether there is a survey paper or something that gives some classification of attacks against lattices, current state-of-the-art in each category, and how they relate to one another. For example, I see on one side there is lat... |
While looking for end-to-end encryption for my app users, I stumbled upon NaCl and libsodium. I am unsure from a security perspective which of these implementations I should use for my cross-platform app.
Are there big differences in the level of security they offer?
|
I am encrypting my password before sending to my server with a public that i have stored as a cookie.
Is there any security risks storing my public key in the cookie?
Are there any better alternatives way for me to retrieve this public key in the user environment?
|
In our file sharing scenario there are three participants: $A$, $B$ and $C$. Each participant has a public-private key pair (let's assume RSA for now). $A$ wants to share a symmetric AES key $k$ with the other participants. $B$ is given access to the file for free, while $C$ has to pay a fee for it. Thus, $A$ may poten... |
The heading tells everything. Any proof or any kind of reference is welcome regarding this:
Can we get more randomness from a deterministic random bit generator than the entropy that we feed to the generator?
|
I am interested in knowing how to calculate period of a stream cipher with more than one FSR (linear as well as non linear). I know for a single FSR, period can be calculated with farmula q^L-1 where q is elements in finite field and L is length of feed back polynomial. However what I am confused in is, is this period ... |
I'm a computer engineering student and I want to implement a cryptographic function for a college project. I want to realize my personal implementation of a WPA2 hash producer in C (and upload it to my FPGA). The main goal would be to use such FPGA as an alternative to Hashcat in bruteforcing passwords.
To do so, I ne... |
When I type in any plaintext to an Enigma machine (Enigma machine emulator) the substitution does not seem to follow any pattern. In other words, there is no cycle in the use of enciphering alphabets (defined as the number of switches done when turning a plaintext letter to a ciphertext letter - which can vary from 0 t... |
From the k-sum definition, the objective is to solve something like:
$\sum_{i=1}^n c_i = v_1$ where $v_1$ is known.
If we use Elliptic Curve Points ($C_i$ and $G$) we can define a bilinear pairing variant:
$\prod_{i=1}^n ê(C_i, G) = v_2$ where $v_2$ is known.
I suppose this would also be efficient to compute, but I'm ... |
I don't understand how to append the length of 128 bits exactly? First, we pad bits to make the length ($n*1024-128$) but then I need to append 128 bit of the plain text length. I find the problem to append 128 bits.
|
In the real world, it's best to use at least two or more algorithms to encrypt data.
From what I know, RSA acts as a wrapper to transfer data safely across web systems or API(s), or acts as a wrapper for symmetric keys such as AES.
If computational power and time are not the main factor (it has reached the secure stand... |
I am going through the voting protocols. I know how blind signature works (Blind Signature), but why is blind signature - unconditionally ”blind”, conditionally ”unforgeable" (as highlighted in the following paragraph). How do you define blindness and unforgeability? Please explain. If possible give an illustration.
Th... |
I'm going to give a small talk on the mathematical background of RSA. My audience will consist mostly of software engineers and to make the mathematical stuff tangible, I wanted to demonstrate how to calculate the private key from the public key and the modulus in some reasonably realistic scenario.
What I was planning... |
Lets assume we have a group $G$ with unknown order.
And we have a pair $(A_1,K_1), (A_2,K_2)$ in which all $A_1,K_1,A_2,K_2$ are group elements.
The claim is $A_1= K_1 ^ x$ and $A_2 = K_2 ^ x$. or informally we want to show they both have the same exponent. ($x$ is prime)
We do not want to share both $K_1,K_2$. We wan... |
For comparing these 3 hash functions SHA3-512, SHA512, and Whirlpool. Which one is strongest against collision and preimage attacks. Are they fundamentally the same because of the same size output? Please disregard all other characteristics of the algorithms.
|
I'm working on a prototype which will use MimbleWimble Confidential Assets transaction protocol using Cosmos as the blockchain layer.
In my prototype a user is always sending a whole amount to another user (so, one transaction has always one input and one output). Each user can have a public-private key.
How can a sen... |
g'day Crypto.SE
I'm working on a practical application of sharing a static key to better-identify a user, between the recipient (server) and the initiator (client ie. user's machine).
My core question is:
For x25519, can multiple PK's resolve to a single SK, or is there ever only one unique PK-SK pair?
I'm wondering w... |
From my reading, a secure pseudo random number generator is called secure if, given a sequence of numbers generated by the PRNG, then if any one of those numbers from the sequence is removed an adversary could not determine the removed number via any method better than guessing. Of course the existence of such secure ... |
As per the title, say we have $\text{MAC}(k,m) = (m,f_k(m))$ where $f$ is a PRF family and every function $f_k$ is PRP, where $f_k(m)$ and $f_k^{-1}(m)$ are efficiently computable. I proved that this scheme is secure, but I do not understand why do we need $f_k^{-1}(m)$ to be efficiently computable, my first thought wa... |
As we know, the most used digital scheme in Blockchain is ECDSA. For now, more and more blockchain projects, I've noticed, are considering substituting EdDSA and BLS signature scheme as the new one. Could anyone offer a bird-view about their respective pros and cons if applied in the Blockchain industry?
|
When studying RSA, and proving simple concepts to myself, I went and understood groups and rings, but I failed to understand Lagrange's theorem.
I did understand how from invertible finite groups I could derive Euler's theorem and Fermat's little theorem, etc. But one point remained...
When extracting the invertibles f... |
I am working on some programs that require the users to store their passwords in my databases.
However, due to the fact that I am not sure whether salt should be stored in databases due to my approach:
(1. I am able to create a random string with the help of ASCII table)
(2. I am able to create a unique ID like a rando... |
RFC 4106 specifies about nonce. It contains a salt of size 4 octets and an iv of size 8 octets. Further, RFC specifies that salt is assigned at the beginning of the security associations which is established through Internet Key Exchange (IKE) and salt value is constant. But all most all of the implementations and desc... |
Given $g^a$ in $Z_p$, it is hard to get the solution $a$. Everyone says yes, I wonder why it is hard. Could anyone give a specific mathematical way to show it is indeed hard?
|
I want to generate a 16,8 perfectly nonlinear S-box for an encryption algorithm I am working on. I don't have a background in math, and I'm an undergrad, so a lot of the math involved is very confusing.
I want the perfectly nonlinear S-box to have 16 bits of input and 8 bits of output.
I have been reading Kaisa Nyberg'... |
Assume we have Group G in which the adaptive root assumption holds.
This assumption states that if we choose an element $w$ and after that, if we receive a prime value $l$ it is hard to find the $u$ such that: $u^l = w$
Now suppose I want to prove that I know a $l\text{-}th$ root of an element $w$ without revealing it... |
During WW1 the German ambassador in Washington, von Bernstorff, blamed their numerous transmissions of the same messages as the cause for the successful decoding done by the British. I don't see the reasoning unless the same messages were sent in different codes, but why would the Germans do that? Bernstorff said:
The... |
I am currently working with the NXP NTAG 424 chips, which feature AES-128 encryption.
In the end, one will be able to read an NDEF message; for example, with a smartphone, the backend server will then verify whether the message was delivered.
However, NXP often implies that the UID should not be communicated in the cl... |
If we take two password strings of different length and attempt to bruteforce match them, it is obvious that the longer one will take longer to crack on average. However if we assume that when selecting a password our maximum password length is given ,does it really matter how long the actually selected password is, if... |
When a program is decrypting a message encrypted by CBC mode, what does it find out, whether the last bytes of the last block is part of the padding or part of the plaintext?
Example: Use CBC mode with 4 Byte blocksize and encrypt the following two messages:
m1 = ABCDEF
m2 = ABCDEF22
M1 gets padding and will be "ABCDE... |
I got introduced to the ADFGVX cipher, and it seems very tedious to decipher such ciphertexts. If I do not have access to the key square and the keyword, and I am just given the ciphertext and a string of numbers, how do you decipher it? The columnar transposition is another thing that makes it even more difficult to b... |
After numerous attempts from myself and all of you guys, I finally came to understand RSA. I can now prove it and understand how I got there. But I still have some very few polishing questions.
1) We generate the keys by doing ed = 1 mod Phi. So when mathematically stating the equation, we know, that M^ed = M Mod N. We... |
It got me confused these days when I encountered the notions of zero-knowledge proofs (ZKP) and zero-knowledge proofs of knowledge (ZKPoK). As far as I know, the two terms are not the same, but all the ZKP systems I know so far also happen to be ZKPoK systems.
Can anyone tell me if there is any non-trivial example of ... |
I am coding a java based implementation of the NTRU public-key cryptosystem. I can comprehend the majority of the algorithms involved in the encryption and decryption process well enough, but the key generation process is giving me serious trouble.
I'll briefly go over some basics of the cryptosystem for those that are... |
I read SafeCurves it indicates Secp256k1 is not SafeCurve by their standards but bitcoin and ETH use it in their blockchain.
I researched more and figured out that using Secp256k1 ECDSA(singing algorithm not encrypting)
is safe and has no problem, since those laking standards are not important in ECDSA but are in ECIES... |
As student I've been asked the following question:
Consider the specific prime $p=17$. Determine the single element generators (by hand or by Java program) of $F^*_{17}$. Recall $F^*_{17}$ is the multiplicative group of size $16 = 17−1$ formed by removing $0$ from the field $F^*_{17}$.
Can anyone explain what the ste... |
I'm experimenting with Microsoft SEAL 3.4.5. I've a simple addition, which I run within a for-loop.
for( int i = 0; i < count; i = i + 1 ) {
outfile << i + 1 << ",";
evaluator.add_inplace(current_encrypted, add_encrypted);
outfile << decryptor.invariant_noise_budget(current_encrypted) << ",";
decryptor.... |
Is a cryptosystem perfectly secure if there are at least as many keys as there are plaintexts?
My guess is yes but I am not sure, new to cyptosystems
|
I'm trying to learn about bulletproofs for my master "Enhancing Privacy in E-voting Systems", but the original paper was too hard for me. I also tried to look at this, but it was also too difficult. So, is there and article or a video or blog that explains bulletproofs on a beginner's level?
edit: i found this it is ea... |
Show that if there exists MPC for all same-output n-party functionalities then there exists MPC
for all diff-output functionalities.
|
A few weeks ago I asked about a new symmetric cryptosystem discovered as consequence of some new mathematics work (link here). As per suggestion of commenters, I spoke with a cryptography professor, a computer security expert, and also continued to discuss with different math professors. We have since established the ... |
I thought I understood big-O notation relatively well, but now I'm not sure. In particular, I've seen several posts like this discussing how the discrete logarithm problem is (probably) hard since our best algorithms are exponential in terms of number of bits.
If I understand correctly, to find an $x$ given an integer ... |
My understanding of duplex construction is usually initialized with the key at the beginning of the mode, but I have noticed that TinyJambu (in addition to key intilization) is using key in each processing call (keyed permutation) as shown in figure.
my questions :
Is there a particular advantage of keyed permutati... |
In their paper On the (In)security of the Fiat-Shamir Paradigm, Goldwasser and Tauman show that the Fiat-Shamir heuristic does not work with any hash function. From the paper:
The most important question however remained open: are the digital signatures produced by the Fiat-Shamir methodology secure? In this paper, we... |
So let's say that there are two messages, $x_1$ and $x_2$, which hash to the same output. In other words, these two messages collide with each other:
$$\operatorname{SHA256}(x_1)=\operatorname{SHA256}(x_2)$$
Questions:
Now, let's say I append identical prefixes and/or suffixes to both $x_1$ and $x_2$:
$$\operatorname... |
I can encrypt my files with a symmetric encryption algorithm like AES, or with an asymmetric encryption algorithm like RSA or ECC (I encrypt my files with my own public key). No communication is involved in this scenario. The latter, which one may call asymmetric self encryption, might seem an unusual choice in situati... |
I'd like to authenticate my users without storing their password, even in a derived form with scrypt/pbkdf or other derivation methods.
I'm exploring the idea of encrypting a random payload with AES GCM, and storing it alongside its IV and tag. Then, authentication would simply be a matter of decrypting that payload wi... |
I'm studying possible attacks on CMAC and I've found the NISTSP800-38B document where a list of possible attacks are defined.
However I have some doubts on possible attacks using forged messages. For example:
Considering a key of 128bit and a message of 128bit, is it possible to recover the key (e.g. if the message is... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.