instruction stringlengths 32 27.2k |
|---|
If it is possible, could an attacker create a collision for an MD5 password in a database? Could they look at an MD5 hash output and figure out data that creates the same MD5 hash?
|
Consider the Decision Diffie-Hellman (DDH) over $QR_n$ (the quadratic residue group over $n=pq$ where $p$ and $q$ are safe primes).According to Boneh's paper, DDH should be hard over $QR_n$ (https://link.springer.com/chapter/10.1007/BFb0054851):
[DDH] Given three randomly sampled $g^x, g^y, g^z$ it is hard to tell if $... |
$\forall k \in \{0,1\}^n,m \in \mathbb{M},F_k(m)$ is defined as follows: $F_k(m) = F'_k(m) \oplus k$. It is known that $F'_k$ is a PRF. Note: is the message space and it's assumed that the key $k$ is generated by some Gen algorithm in a random manner.
Must $F_k(m)$ be a PRF too?
I have an intuition that the answer is ... |
Alice wants to store files $m_i$ on Bob's untrusted cloud storage platform, with the additional restriction that she can only store one master key $k$ herself.
She encrypts the files with keys $k_i$ respectively and obtains $c_i := Enc_{k_i}(m_i) $. She also encrypts the keys as $k'_i := Enc_k(k_i)$ and sends the tuple... |
I am looking for an encryption protocol with the following properties.
Alice has a private key $x$. Using this private key, she chooses public key $p$ corresponding to this private key. She let's Bob know about this public key. Bob then uses this public key to encrypt a message to Alice.
Later Alice wants to receive a... |
A few years ago, I've heard about a harsh report from an American institution (I've forgotten which one, but it was something like the NSA) about IACR conferences. Which report could it be?
I think the global point of view of this report was about the fact the topics studied were too much theoretical.
I remembered that... |
I'm interested in data anonymization techniques and scores for the quality of data anonymization in "the real world". I was told this is also part of cryptography.
What I know: In theory one can use k-anonymity, l-diversity or t-closeness to define the quality. Also the open gda score could be used. Common techniques a... |
As the title suggests, I wonder what kinds of attacks there are in the LFSR filter generator. The most representative attack is the fast correlation attack and inversion attack. I wonder what other attacks are possible.
|
I have read FHE lately. In Fully Homomorphic encryption using ideal lattice[Gen09], I noticed his recrypt algorithms:
We have a ciphertext $\phi_1$ which is encrypted by public key $pk_1$, and can be decrypt by secret key $sk_1$.
we use a public key $pk_2$ to encrypt the bits of $sk_1$, and we get $Encrypt_\epsilon(pk... |
Considering the huge amount of RSA certs which have been generated, wouldn't there probably be a small number of certs where one of the primes which may have actually been a composite? Has this ever been a problem in the wild?
I think RSA with such a p & q will fail signature verification & decryption. So in these case... |
I wanted several videos by Computerphile on Elliptic Curve Diffie-Hellman, digital signatures and TLS.
For the most part I understand everything but something is bothering me. Computerphile made a video explaining using RSA with ECDHE to ensure nobody is messing with the messages in the middle. The video is titled Key ... |
Let $H^f$ be a hash function designed using Merkle-Damgård construction on $f:\{0,1\}^{2n}\to\{0,1\}^n$. Write an algorithm that makes approximately $2.2^{n/2}$ many queries to $f$ and find four messages that all hash to same value under $H^f$.
I get an idea to use length extension and 2 birthday attack to get four col... |
Such as the following relation:
$\mathcal{R} = \{(C,g;r): C = g^r \vee C = g^r h^2 \}$
|
It seems there are attacks that work more effectively on AES-256 than AES-128, which makes it less secure in some cases. But the bigger key size should add some safety margin on the other hand, for example making it immune to even quantum computers. And I have heard some people say that more rounds make it less secure,... |
I am a newbie in Cryptography and have trouble to solve the following question.
Let $G: \{0,1 \}^n \rightarrow \{0,1 \}^{l(n)}$ be a PRG and $x
\epsilon \{0,1 \}^n$. Determine if the function $Z: \{0,1 \}^n
\rightarrow \{0,1 \}^{(l(n)+n)}$ s.t. $Z(x) := G(x)||x$ is also a PRG.
My first assumption was that it is a P... |
I have a distributed application with many participants.
The participants can be in different groups (channels).
Is it possible for all data sent in all channels to be accessible as encrypted data,
all participants to be able to verify the integrity of the data but only those who were part of the specific channel can a... |
I am curious at how "good" is computational zero knowledge?
Consider Pedersen Commitment $z = g^x h^y$. There exists perfect ZK protocol (based on Schnorr's) to prove that one knows the secret $x$ and $y$. But how about the following "relaxed" one:
(1) The prover sends $G = g^x$ and $H = h^y$ (and the verifier needs to... |
Some cryptocurrencies use fixed values in some positions in the resulting hash, like a fixed amount of initial zeros. What fixed positions and fixed values are Facebook Diem using?
|
Let's say I want a certain level of security (eg 128 bits) when using ECIES but I also want to minimise communication, does the elliptic curve used matter on the size of the public key? If it does matter, what is the current state of the art elliptic curve and how does it compare with popular elliptic curves such as Cu... |
is $F_{k_{1}}(m)||F_{k_{2}}(F_{k_{1}}(m))$ always a PRF? when F is a PRF
As an intuition it seems to me that the answer is "NO" as the two halves of the output depends on each other
|
Let $K,X$ be sets and let $F:K\times X\rightarrow X$ be a function. For each $k\in K$, let $f_{k}:X\rightarrow X$ be the function where $f_{k}(x)=F(k,x)$ whenever $k\in K,x\in X$. Assume that each $f_{k}$ is a bijection.
Suppose that $F$ is the round function for some cryptographic function such as AES-128 or some cryp... |
In the Noise protocol, is it safe to reuse static key pairs in different handshake patterns? Like using XK to communicate between client and server, and KK to communicate between clients, but with the same static keys.
|
In David Wagner's article A Generalized Birthday Problem, he said and I quote:
Our algorithm works only when one can extend the size of the lists freely, i.e, in the special case where there are sufficiently many solutions to the k-sum problem.
Does that means that the generalized birthday attack only applies for th... |
I need a way to map some printable text to other printable text. E.g.:
Ian Boyd → Kcp Zbas
Notice some of the important requirements:
uppercase is uppercase in output
lowercase in input is lowercase in input
spaces (and anything else outside of A-Z0-9) are left alone
The additional requirement is that it be determini... |
In an answer of here someone mentions:
if you have a hash-function-with-oracle-powers, then it is rather easy to generate a pseudo random stream from a secret key, by hashing K||n where K is the secret key and n is a counter. By XORing this key-dependent pseudo-random stream with the data to encrypt, you have a stream... |
It is known that AES is extremely secure, with its highest standard(AES-256) being able to protect the national secrets of most governments. Due to the nature of its steps, there's the question about its cyclicality, or how many full encryptions with the same key would it need to yield the plaintext back, supposing tha... |
The obvious way for computing the trace of curve is counting the number of curve point and then compute the trace of the curve by $t=p+1-\#E$. Are there any faster way for computing the trace of the curve? The above way is very slow. This question is also following up the Finding of proper $d$ for Edward curve. I hadn'... |
Discussions from highly respected sources (details below) emphasize the importance of the implementation of cryptographic software to the effective security provided, with one particular case being sensitivity to timing attacks.
Clarification - Context is cryptographic signing of non-secret messages
@poncho's initial ... |
I understand there are already few question here which are similar but mine is a bit different in that I want to split AES 256 bit into two 128 bit key and then use a different AES key of 128bit to encrypt the two 128 bit key for transport of the key between two processor. is this secure to do? I am currently limited d... |
I have been messing around with cryptography (for recreational use) and I have created my own function that encrypts things for me. Now, with that being said, I freely admit that I am by no means an expert on cryptography and I know that rule 101 of cryptography is to not do it yourself. However, I am genuinely interes... |
In Bleichenbacher's paper (http://archiv.infsec.ethz.ch/education/fs08/secsem/bleichenbacher98.pdf, section 3.1) he concludes that if m*s is PKCS#1 v1.5 compliant we get the following interval:
$2B \leq m\cdot s \bmod n < 3B$.
(k is the length of n in bits, $ B = 2^{8*(k-2)}$)
Given those bytes in the range, 3 to 11 ma... |
The MuSig paper (2018) describes a Schnorr signature key aggregation scheme which lets a set of individual public keys to be merged into a single, "aggregated" public key.
In the protocol each individual public key creates an own signature which can be merged into the "aggregated signature". The aggregated signature wi... |
In Sage, there is a function: gen_lattice() that can generate a basis $$S \in \mathbb{Z}^{m \times m}_q $$ of a lattice $$\Lambda^\bot_q(A)$$, where $$A \in \mathbb{Z}^{n \times m}_q$$ is a random.
Therefore, $$AS = 0 \pmod q.$$
The question is: is there any method that can further obtain a matrix $$A \in \mathbb{Z}^{n... |
Could you help to find an example of where the next kind of proof is performed, please?
"if we can distinguish the randomly generated bits of a PRNG from a random sequence, then we can distinguish the underlying block cipher/permutation from a random permutation"
|
The common wisdom is that increasing the number of rounds of a block cipher can make it more secure. This is quite true if we consider the linear and differential attacks.
The Tiny encryption algorithm supports this theory. It has a simple round, and it becomes secure after 32 rounds. Even Schneier et. al has the suppo... |
Background info:
I need to encrypt files in a enterprise workspace with several users. The goal is to encrypt files directly from browser to be saved on a server and each user could decrypt files for viewing.
Technical solution:
Create an random generated key Kw for the workspace for encrypting files with AES. This key... |
In IKEv1 (RFC 2409), preshared secret is involved to key derivation where IKEv2 (RFC 7296) use it for only authentication. When we consider post-quantum security, this property makes IKEv1 suitable if preshared key has sufficient entropy. Therefore post-quantum extension of IKEv2 proposed in (RFC 8784) which is basicly... |
Using a block cipher with using either CTR or GCM mode gives us a stream cipher, the only difference being that CTR does not include a MAC tag or AAD but GCM does. I think these are the most commonly used modes of operations for block ciphers because ECB is insecure and CBC is not parallelizable.
Does this not reduce t... |
The string is encrypted with the following properties (using C#):
myAes.Mode = CipherMode.CBC
myAes.KeySize = 128
myAes.Padding = PaddingMode.PKCS7
myAes.BlockSize = 128
myAes.FeedbackSize = 128
Key: 5753B8AA97BE5B5D9584864DF3134E64
This is my decryption function:
int AESdecrypt(unsigned char *ciphertext, size_t cipher... |
I've just learn about NOTS, a quantum-resistant signature scheme based on hash functions that claims to have much shorter signature and key sizes. Is this signature scheme known to be secure? From looking at the paper, I'm suspicious about the way it uses modulus of indices (couldn't an adversary just generate a hash w... |
We have seven different keys derived from DH key and nonces via PRF in IKEv2 as skd, skai, skar, skei, sker, skpi, skpr. Why different keys are generated for initator and responder for encryption? What are the explicit usage of different keys derived from SKEYSEED in IKE?
For example, ska and skp are defined as "a key ... |
How can representation theory be used in cryptography and/or coding theory?
I am studying a MSc in pure mathematics and I am currently working on things related to biset functors, but cryptography and coding theory are some of my interest areas. I know that classical representation theory (complex character theory) can... |
In BGV12(Fully Homomorphic Encryption without bootstapping), they investigate the efficiency of a FHE scheme by considering the per-gate computation overhead of the FHE scheme, defined as the ratio between the time it takes to compute a circuit homomorphically to the time it takes to compute it in the clear. I wanna kn... |
I just found a project that used XSalsa20Poly1305 for transit and encryption at rest. I am trying to find some information if that is something worth trusting data to.
It feels a little hard to put the information I found into context. I read that a Poly1305 (MAC) with (a good number of rounds of) Salsa20 (cipher) can ... |
From the WOTS+ paper:
Furthermore, W-OTS+ uses a family of functions Fn : {f_k : {0, 1}^n → {0, 1}^n | k ∈ Kn} with key space Kn. The reader might think of it as a cryptographic hash function family that is non-compressing. Using Fn we define the following chaining function.
I do not understand the meaning of this pa... |
I'm writing a paper on Authenticated Key Exchange Protocols. I've read Bellare and Rogway's seminal paper on the subject and I think I understand BR Model and I'm now reading Cenetti and Krawczyk's paper which aims to improve on it. I'm confused as to how the CK model is an improvement of the BR. As mentioned in the ap... |
I read Regev's paper in 2005 about Learning with Errors and he mentioned that the secret of a LWE sample is unique but I have not seen a proof of this claim. Can someone point me to a paper proving this claim? Also, for the ring-LWE case, in particular for power of two cyclotomics, is the secret always unique?
|
I'm reading the WOTS+ paper, but I'm having some trouble with its notation and specially the involved units. For example, under my interpretation, the parameters n=11, w=16 and m=256 result in a quantum security level of about 81 bits, with a 992 bytes signature length, but that looks incorrect.
To the best of my knowl... |
In WOTS+ — as described in section 3 of RFC 8391 — public keys, private keys and signatures all consist of $len$ strings with $n$ bytes each, where $len, n \in \mathbb{N}$. Is it safe to use the hash of the concatenation of all $len$ strings as a short public key? Since you just need the message and the signature to co... |
Suppose that $n$ is a power of two, $q=3\pmod 8$, prime and $R=\mathbb{Z}[X]/(X^n+1)$. Denote $\Vert\cdot\Vert$ as the infinity norm in $R_q=R/qR$ on the coefficients of elements in $R_q$. The coefficients are assumed to be in $[-\frac{q-1}{2},\frac{q-1}{2}]$. I'll just cite some facts that I will use in my proof:
$X^... |
I am quite new to the study of elliptic curve cryptography and as such I might be asking something with a mundane solution, but I can't easily find such a solution online. My understanding of ECC is that you can generate a private key (some integer $k$), a starting point on the curve ($G$), and a curve equation, and th... |
Consider the following modification to the Short Integer Solution (SIS) problem:
Let $n$ be an integer and $\alpha=\alpha(n),\beta=\beta(n),m=m(n)>\Omega(n\log \alpha)$ be functions of $n$. Sample a uniform $A\gets[-\alpha,\alpha]^{n\times m}$. The task is to compute "short" vector $e\in\mathbb{Z}^m$ in the kernel of ... |
In Pollard's p-1 algorithm for factoring N, you try to find a L such that p - 1 divides L. Then you check $gcd(pow(a,L,N)- 1, N)$. If 1 < gcd < N, then you have found one of the factors.
I have seen 2 methods to do this.
For n from 1 to Bound, try $L = n!$ (i.e. factorial(n)) & try the $gcd(pow(a,L,N)- 1, N)$ for each... |
I have been messing around with cryptography (for recreational use), and I created my own one-time-pad encryption script in C. Now, with that being said, I freely admit that I am by no means a cryptography expert. I know that Rule No. 1 of cryptography is not to do it yourself. However, I am genuinely interested in whe... |
Take a sequence of byte buffers, hash each of them, interpret the hash digests as square matrices with 8-bit unsigned int elements, and (matrix) multiply them in order. Define the final matrix to be the "hash" of the list of elements.
This definition has some useful properties. In particular, the associative property o... |
Is SIV mode variant equally secure, if you replace CTR mode encryption with full-block CFB mode encryption?
CFB seems to be safe with predictable IV: Is using a predictable IV with CFB mode safe or not?
But is it safe with Encrypt-and-MAC like construction as SIV?
|
I'm implementing IDEA algorithm in java and I need test vectors for the algorithm that include plaintext,ciphertext and keys in each step to verify my code.
|
I'm wondering if the following problem is as hard as computational or decision Diffie-Hellman problem? (Or is it actually an easy problem because $c$ is available?)
Given a cyclic group $G$ and let its order be $q$.
Given $g$, $q$, $g^a$ and $g^b$ and $c \in Z_q$, decide if $c \equiv a*b \mod q$.
Another version of the... |
If there is a limit, does that leave a limited number of prime numbers that can be used for key gen? And, if that is the case is the encryption system vulnerable?
|
After reading a number of ZK-SNARK explainers from here, here, and here, I still don't understand a few things.
The setup of the algorithm uses QAP to calculate polynomial P(x) = L(x) * R(x) - O(x), as well as target divisor polynomial t(x), to represent the generic form of the target computation. Then, to create a pro... |
Reading learnmeabitcoin I found the following how bitcoin works:
The bitcoin difficulty self adjusts so that a block is solved on average in 10 minutes.
Solving a block requires the miner to generate hashes until it reaches a certain valid hash (for example a value lower than a target). This means that the miner will u... |
Can Shamir secret sharing scheme (SSS) be verified using automated verification tools such as AVISPA? I read in the HLPSL manual that we cannot use arithmetic or relative operations such +,-,< ...etc in the HLPSL description of the protocol. Thus, we cannot implement LaGrange's interpolation formula?!! Do all protocol ... |
I am gonna write down formulas that I know and use to generate RSA keys.
we choose $p$, $q$
$N = p\cdot q$
$\varphi(n) = (p-1)\cdot(q-1)$
choose $e$ such as
$1 < e < \varphi(N)$
$e$ is coprime with $N$, $\varphi(n)$
choose $d$ so that $d\cdot e\bmod\varphi(n)=1$
That's it. With these, if we have $p=2$ and $q=7$,... |
GPG and age both offer a --armor option but what is the use case when it comes to file encryption? Surely most channels allow for transmitting binary data nowadays? It seems unnecessary and sounds like it satisfies a rare use case.
I can understand it for sharing key pairs, maybe signatures, but not for file encryption... |
I have a question about the first programming assignment in Dan Boneh's cryptography course on Coursera. You're given 10 ciphertexts that were encrypted with the same key and you can presumably assume that the plaintext consists of letters and whitespace only.
The hint gives that you should consider what happens when a... |
In elliptic curve cryptography using Diffie-Hellman protocol, we need to use large prime numbers.
So my question is what makes discrete logarithm hard to solve when we use large prime numbers.
I guess since we use large prime numbers we will have a lot of points that satisfy our curve equation
|
Being new to cryptology, I'm trying to understand how I would complete RSA encryption by hand.
I can only follow the formula so far before becoming very confused.
I want to encrypt the value "123"
First, I am to select 2 primes. I choose:
$$p = 101\\
q = 103$$
Next, I compute: $$n = p\cdot q = 10403$$.
After that, I co... |
Under which conditions is a large semiprime possible to factor? In particular, is the following 400-digit semiprime actually trivial to factor into primes?
69621551548599632602111004823573576669000945130135134883528586677991997874953404761675666395305748483758957227922919962038733236502745121381284033609436341342593769... |
You are given $d\bmod(p-1)$ , $d\bmod(q-1)$ , $\operatorname{invert}(p,q)$ and $p\bmod2^{200}$, the public exponent is $e=65537$.
$\operatorname{invert}(p,q)$ is the answer of $ p*x \equiv 1 (mod\quad q)$
$d$ is the private exponent, the modulus is unknown.
Is there some way to calculate $p$, $q$?
|
As we know, ECC using $C_2 = r \cdot G, C_1 = M + r \cdot G$; and decrypt with $M=C_1 - K \cdot C_2$. And sign using point $X$:
$X = k \cdot G(x_0,y_0)$. $r = x_0 \cdot K; s = 1 / k \cdot (M + r \cdot d) \mod(n)$; here $d$ is private key, $K$ is public key.
and then verify by is true of $r \cdot G == M \cdot G / s + ... |
I need a cryptographic hash function that will hopefully be strong even in 50 years. Performance is not an issue. Calculating and verifying can take a huge amount of time if needed. The size of the hash can be huge too (let's say up to 10MB). Collisions are not a big threat. I mainly want it to be second-preimage-resis... |
Given powerful GPU and PC hardware, is it realistic to recover a password in a few hours given a cleartext's MD5? Max chars are 95, and the maximum length of the password is 15 characters.
|
If the SHA256 algorithm is public, why can't attackers use it to create more collisions rendering the algorithm useless?
|
I was going through a cryptography course, and I found a question there that: What is the size of the key space of the substitution cipher with 26 letters?
Its answer was 26!
I am not sure what this question means, what does it actually mean by key space with 26 letters, does it mean that our cipher text is having 26 l... |
With the risen popularity of Zero-Knowledge Proofs of Knowledge (ZKPoKs) such as Pinocchio, Groth16 and Sonic, to name some ZKPoKs that are popularly known as zk-SNARKs, I got engaged to understand what is going on behind the hood on these protocols.
The only problem that I encountered is that I do not clearly understa... |
I am using a linear feedback shift register (LFSR) in a scrambler configuration as a randomness extractor for a weakly random source. This source is semi-random (aka. Santha-Vazirani source): the bits are correlated and biased (with a min-entropy of ~0.5 per bit). Here is an example of a LFSR in a scrambler configurati... |
Schnorr comes again. Will he really break RSA this time? But he still didn't give any concrete examples that can enable us to quickly verify his claim.
|
If the data I want to authenticate consists of multiple values and I compute a MAC simply concatenating the values, an adversary can "shift" characters within those values without invalidating the MAC. How is this issue commonly and best addressed?
I have found this existing question about MACing multiple messages, but... |
From the description of CMAC and HMAC, given the key and the tag, I think it is easy to derive the CMAC message than the HMAC message.
After obtaining the key and tag for CMAC, an intruder can apply repeated decryption to get the blocks of the message until it represents a valid English text (assuming common case). For... |
Problem:
I'm slightly worried about counter repeats in CTR mode when using random IV.
If you split it (like half IV, half counter), it increases chances of same IV (it is smaller) and limits message length (if less than half).
If you start with full block IV, counters may overlap.
I would like to somehow get full blo... |
I searched but found nothing except the original paper, and I can't wrap my head around it. Can you help me by giving an overview and then if possible, a short explanation of the algo?
|
I’m trying to get a good understanding of how data encryption and signing work. I imagine these vary a bit depending on the software being used.
In particular, I am wondering about this: how much data can be verified by an electronic signature?
|
I have been studying the DC of DES. As a beginner, I completed the general structure of DES and began DC. I understand the idea of attack, how to find different characteristics for differential cryptanalysis of des-like systems?
Can someone explain them to me or point out a good explanation on the Internet?
|
I have created a hash function. If I am asked whether it conforms to the definition of a hash function, I only know that it should have a fixed-size output. I use multiplication and adding of every plaintext character with the random number I assigned.
Aside from the fixed-size output, what other characteristics must a... |
On this webpage, Daniel Bernstein offers that the curve must be quadratic twisted secure. This means that if the curve has $\#E$ points on $Z_p$ where $\#E=p+1-t$, then the quadratic twist curve has $\#E'=p+1+t$ points. The condition for quadratic twisted secure curves is that the cofactor of a quadratic twist curve is... |
Keccak - as used in SHA-3 / SHAKE amongst others - can also be used for authenticated encryption.
However, there already seem multiple schemes defined for it, including their own implementations:
Ketje:
Kejte Jr;
Kejte Sr;
Kejte Minor and
Kejte Major
Kravatte (excluding the deprecated/broken schemes):
Kravatte-SAN... |
A large number of SCA papers that talk about ECDSA mention the need for blinding/randomisation of the signing process, typically with a single-sentence comment about replacing the projective coordinates (X,Y,Z) with randomised ones (lambda^2X,lambda^3Y,lambda*Z) and declaring the problem solved, but nothing really seem... |
I did try to prove the interactive proof system and generalized interactive proof system are equivalent. According to both definitions are in the pictures. However, I still struggling to do it. Please help me solve this.
|
According to Wiki there is a possibility of non-interactive Zero-Knowledge Proof of discrete logarithm if challenge $c$ is computed via a hash function. But what is the purpose of $c$? Why can not I always set $c=1$? Does it make the system vulnerable?
|
The TLS 1.3 RFC, section 7.1 lists this as the last part of the key schedule:
https://datatracker.ietf.org/doc/html/rfc8446#section-7.1
...
0 -> HKDF-Extract = Master Secret
|
+-----> Derive-Secret(., "c ap traffic",
| ClientHello...server Finis... |
$h'(x) := h(a_1 \parallel x \parallel b_1) \parallel h(a_2 \parallel x \parallel b_2) \parallel h(a_3 \parallel x \parallel b_3) \parallel \dots \parallel h(a_k \parallel x \parallel b_k)$
$a_i$ and $b_i$ are known prefixes and suffixes.
If $h$ is MD2 or MD4, how much work would it take to find a second-preimage to $h... |
If a piece of software is running in FIPS mode and using FIPS-certified cryptographic modules, is it permitted to execute any non-FIPS algorithms even if the security of the system is not uniquely dependent on them?
Example: lets say you have a system that exchanges two ECDH key pairs: one curve25519 key pair and one N... |
I have a device that needs to communicate with another host and exchange fixed-length messages.
All traffic should be encrypted and authenticated, and it should be resistant to replay attacks. Unfortunately relying on TLS is not an option, so I need to implement some custom protocol. I have control of both devices so I... |
I am studying a cryptography video on Coursera here titled: Modes of Operation: Many Time Key (CTR).
I have just two simple questions:
At around 4:30 in the video they show 2^48 without saying where this number came from, perhaps it forms part of the AES specification?
They then go on to explain that they plugged in ... |
A bunch of silicon Physical Unclonable Functions (PUFs) designs rely on variations of the propagation delay (due to process variation) of signals in different path. In many cases, a challenge selects the paths (e.g. using a muxer) to be compared and the response bit(s) compare the two paths (e.g. which signal arrived f... |
I am using sodiumoxide, a Rust binding to libsodium that provides a function named sealedbox that requires the receiver's public key. However, they also mention that the message is encrypted with an ephemeral public key.
Does that mean that the sealedbox provides forward secrecy, or do I need to implement forward secre... |
I am trying to send AES keys from one computer to another, but I need to provide some form of attestation of the key's provenance. How should I go about doing this?
|
This question is potentially relevant to NIST post-quantum cryptography standards, involving code-based cryptosystems such as McEliece, BIKE and HQC.
For these cryptosystems, it seems that an attacker can use a "decoding one out of many" strategy as described here to decrypt one out of a list of $n$ ciphertexts, for a... |
This question is potentially relevant to NIST post-quantum cryptography standards, involving code-based cryptosystems such as McEliece, BIKE and HQC.
This paper estimates the concrete number of bit operations required to perform the May–Meurer–Thomae (MMT) information set decoding (ISD) attack. It shows that this is s... |
Rsynccrypto allegedly uses AES-CBC with a twist: If the last few bytes of plaintext meet a condition*, then stop, pad the current block and start encrypting new block from the current position in file while reusing the IV.
Better example might be in pseudocode:
if (trigger(buffer, i)) {
encrypt_next_block(buffer, i);... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.