instruction stringlengths 32 27.2k |
|---|
I currently use Argon2 to derive a key (I will use a salt which I will save in a file as plaintext for when I later need to derive a key again) from a given password which I will use to encrypt a file (Algorithm: AES CBC PKCS7Padding).
When a user enters the password I need to verify it is the correct password, storing... |
I'm trying to digitally sign a message m using El Gamal. So far I've been unable to verify the digital signature ive made using El Gamal.
I am using prime number, p = 8369. prime root g = 3031. Private key parameter x = 61. and the message m = 9876
I am calculating y and r to be:
y = 3031^61 mod 8369 = 3400
r = 3031^1... |
I am currently trying to decrypt an SSH session using memory derived keys and IVs.
My current problem is that the counter value seems to be the IV plus some value < 256.
My question is now why the value is not always the IV? It seems to be totally random which value is added to the IV.
Maybe someone of you can tell me ... |
I am very new in cryptography field, what I want to ask but I cannot find an answer is this: In public key cryptography, such as in RSA, does it matter if the adversary knows/can detect the public key? With only the public key, can he eavesdrop a message?
Thank you
|
If we want to construct a PRF that is length preserving, it is easy to show with hybrid proof that the resulting construction is a PRF.
But what happens when we have longer input. Supose that the key and output length are $n$ and the input size is $2n$.
I have been imagining what could happen to the binary tree. I fe... |
Background: I want to use white-box cryptography to hide the keys stored in a client application.
I am looking for existing implementations of white-box cryptography, such as AES 128 or 256. But I found that almost all the existing implementations are breakable in some reasonable period of time. For example, see the CH... |
Cryptographic tools can often become adopted even when their security proofs lack mathematical rigour - or altogether missing.
Are there famous cases of security breaches in the industry, where the underlying cryptography was (up until then) considered secure?
|
Recently I have watched the video Multi-Precision Arithmetic for Cryptology in C++, at Run-Time and at Compile-Time (at 21:56 seg) :
The speaker says that to use a byte from the user key as a subscript of an array allows side channel attacks. My question is what if to use this during a key crunching stage:
Do
HashO... |
Is there proof that the DSA construction, also used by ECDSA, is secure assuming that discrete logarithms in the relevant group representation are difficult?
|
I have some files that contain important information, so I want to encrypt them by the most secure encryption method possible.
I've read countless StackExchange answers on similar questions and some Wikipedia articles about different ciphers, cryptoanalytic attacks, bad software implementations, cipher modes, etc. Goog... |
If we have a point in a field $c$. Can we get another value $c^{'}$ such that
$\left(c^{\prime}-c\right)$ is invertible in $Z_p$ ?
|
In RSA algorithm we have the value of $e$ & $d$ exponent and also one of the prime numbers. My question is how to produce another prime number that is not equal to the first one and the digit of a prime number is 1024.
|
Given the following Zero-knowledge set-membership protocol https://infoscience.epfl.ch/record/128718/files/CCS08.pdf]. That is given in the following steps (Please refer to page 9).
The Verifier
-select a set of elements denoted as $\phi$
-Select $x \in_{R} \mathbb{Z}_{p}$ and computes $y \leftarrow g^{x}$ and $A_{i}... |
We have Mersenne Twister pseudorandom number generator. It has several variants, CryptMT among them, that is of cryptographic grade.
There are alternatives to Mersenne Twister, like Xorshift or Xoroshiro.
Question: Do those algorithms have cryptographic variants, or are they secure per se, or are there other simple pse... |
Let $H = \{h_r : U \rightarrow [m]\}$. What are the currently known most efficient algorithms such that $H$
is a universal family and
fulfils the homomorphic XOR operation property $\forall h \in H \forall x,y \in U: h(x \oplus y) = h(x) \oplus h(y)$?
|
This is a question I had from an exercise session.
First we do DES in CBC encryption mode using a key $K_1$ and $IV_1 = O^n$.
Then we do DES in ECB decryption mode using $K_1$. And then DES in CBC decryption mode with a secret $IV_2$ and key $K_2$.
Is this construction safe against meet-in-the-middle attack?
Wouldn't t... |
These may include any proofs, reductions, constructions, etc. For example, simple solutions to problems which at first sight seem difficult. Elegant construction that hide deep mathematical concepts, but once presented are easy to use.
Anything which you deem elegant and clever.
Proofs with nice graphics are especi... |
This would be the opposite of a rangeproof.
For example, I wanted to prove that my number was not between 0 and 200 in zero knowledge?
On a separate note: how would I prove that I hold a number, but it is not a specific number x ?
|
For example, prover sends P = xG and verifier somehow sends back P = xH without learning x.
Is this possible?
|
Background
Here's a description of page 182 of "Guide to Elliptic Curve Cryptography" by Hankerson, Menezes and Vanstone. Here's a quote from that page:
The main observation in invalid-curve attacks is that the usual formulae for adding points on an elliptic curve $E$ defined over $\mathbb F_q$ do not involve the coef... |
Is there a known weakness in RSA when the value of modulus (n) is very large?
n = 2466 digits
e = 65537
c = 2466 digits
n cannot be factorized. I checked on factordb.com and no factors were present.
Both, modulus and ciphertext have the same number of digits. Is this not considered secure?
What kind of attacks can be ... |
I want to change some encryption options while using GnuPG to encrypt a file symmetrically.
1) However, for choosing the cipher algorithm, GnuPG has two commands and I don't know which one to use.
Between these two, which one should I use?
--s2k-cipher-algo AES256
--cipher-algo AES256
2) Also for choosing the digest ... |
This is a question I had from an exercise session.
Exercise:
First we do DES in CBC encryption mode using a key $K_1$ and $IV_1 = O^n$.
Then we do DES in ECB decryption mode using $K_1$. And then DES in CBC decryption mode with a secret $IV_2$ and key $K_2$.
My solution:
$IV_1$ = $C''_0$ = $O^n$ and $C'_0$ = $IV_2$
I ... |
p,q should be different,but if I let p = q,and encrypt the plaintext,then I can't decrypt it,so can decrypt it?
|
Important meaning; where the most research is being focussed. Maybe because a break-though seems possible or a break-through would have big consequences.
Any questions that are being researched vigorously?
|
I am trying to find some ECC test vector for using.
I just find some post (like this) and github resource (like this )
They are good reference to my C test code but I'd like to get some more advice...
Most of the test vector given looks like such format:
k (or m):m = 20
X = 0x83A01A9378395BAB9BCD6A0AD03CC56D56E6B19250... |
Most of the cryptography is limited to use of real integer fields. Complex numbers are seldom used. Is there any reason for it? Wouldn't complex numbers provide more structure?
If there is already some work on this area, I would be happy to learn about it.
|
How would a quantum computer decrypt a file (or find the keys to such a file) if it were encrypted with standard RSA 4096 encryption, but encrypted two times with different keys? The keys are known by only one party. They could be different lengths and complexities.
And theoretically, how long would it take (with a ge... |
I am making an end-to-end encryption software program in Java using RSA. I am using BigIntegers and its number theory methods. (I know this is a very slow approach, but I just want to learn to the concept of encryption through this). I have a lot of questions, feel free to only answer as many as you'd like.
I have mos... |
I wonder if someone can give an explain about the different between two Diffie-Hellman Primitives defined in SP800-56A, CH5.7.1
5.7.1.1 Finite Field Cryptography Diffie-Hellman (FFC DH) Primitive
5.7.1.2 Elliptic Curve Cryptography Cofactor Diffie-Hellman (ECC CDH) Primitive
Actually the first one is named as (FFC DH) ... |
Can somebody help me to understand the LOGIC behind Key-Derivation Methods (SP800 56A CH5.8)?
This is my common understanding and please correct me if any wrong..
Alice and Bob can general individual key-pair, by any public
cryptography method (RSA, ECC, DL, etc..);
Based on the Key Exchange protocol (for exp ECDH), A... |
As a senior programmer entering blockchain projects, i'm looking for a comprehensive introduction to relevant cryptographic tools/primitives, preferably one that puts less emphasis on the math and more on the usage.
Are there recommended resources for the mathematically uninitiated?
|
"Common password problem" is well known problem, when user uses one password for many resources (web sites, logins to computers, etc...) For example, if one web site loses it' database, which contains user passwords and emails, somebody when might try to use this password on other sites and come to success...
To solve ... |
Can we have a non-trivial language without a CRS? Why?
|
Initial thinking would be not unless the protocol revealed sensitive local information that could then be analysed by an ML algorithm and applied globally.
local meaning I see messages from Alice and Bob extract some information x,
then apply x to all other users.
Not an expert in ML, this was just initial thoughts.
|
Number field sieve algorithm can is used to break discrete logarithm on field $F_{p^n}$. The algorithm has time complexity $\exp((c+o(1))\cdot(\log p^n)^{1/3}\cdot(\log \log p^n)^{2/3}$. Originally the constant $c$ is $(64/9)^{1/3} = 1.92$. Due to recent works, the more advanced Special extended tower number field siev... |
Preliminaries
Let $p$ be a safe prime number.
Let $\mathbb{Z}_p^*$ be the multiplicative group of integers modulo $p$.
We have $\mathbb{Z}_p = \{\,a \in \mathbb{Z} \mid 1 \le a \lt p\,\}$ .
Let $g \in \mathbb{Z}_p$ be a primitive element of $\mathbb{Z}_p$ .
Let $h$ be an element of $\mathbb{Z}_p$ .
We define the Discre... |
As opposed to RSA or elliptic curve cryptography?
|
Currently, Carter Wegman MACs are popular. Before that, HMAC was popular. What was popular before HMAC? Was it CBC-MAC? Something else?
I know about NIST FIPS 113 "Data Authentication Algorithm" which was CBC-MAC with DES as the block cipher, from 1985. Was that actually used? Even if yes, what was used before 1985? Wh... |
In DSA, the value of $r$ is generated as:
$r = (g^k \bmod p) \bmod q$
ECDSA is similar, using the $x$ coordinate of the generator $g$ scalar-multiplied by $k$, again taken modulo $q$.
It's well-known, particularly by Sony, that $k$ must be different for each message signed, or the private key leaks.
Due to the construc... |
I'm reading on Jubjub, which is planned for the next upgrade of Zcash. It is based on a Twisted Edwards curve with parameters $a = -1$ and $d = −(10240/10241)$. The reading says Jubjub does not need projective coordinates because inversion is cheap.
My question is, is the "cheap inversion" property that of Twisted Edwa... |
Textbooks most of the time assume that a message, say "secret", is already represented in number format, say "8614" (just as an example!). But how exactly is this conversion achieved?
I imagine it to happen something like that:
"secret" is converted into the binary format, say "1001001" (names like ASCII or UTF-8 come... |
I understand the problem of reusing the same key in the one-time pad if the cleartext message only contains characters such as A-Z, a-z and spaces.
But what if our cleartext is composed of arbitrary bytes? Which type of attack can we make to find the key or/and decrypt the ciphertext?
|
I was wondering, why DES is secure against Differential Attacks. Some of the S-Boxes have a very bad Differential Uniformity, only one has a DU of 4, 3 have a DU of 6 and the others are much worse.
So is it because of the few good S-Boxes or because of DES uses 8 different S-Boxes?
|
I was wondering if it was possible to recover an AES-128 blockcipher key, knowing that there is no substitution box (it can be seen as the identity mapping). I thought it would be feasible.
I implemented this AES version and I tried, first, a DFA.
Because MixColumn and ShiftRow are both linear operations we can inject... |
Given that valid private keys on curve25519 must be less than the order of the curve which is (as I understand) already smaller than 2^256, AND a valid key must be clamped to be divisible by 8 and have its high bit set, what is the actual 2^X number of valid private keys approx?
|
In this question, I'd like to discuss the security of the last transformation $T$ employed in the construction of a MV-scheme. MVCrypto is based on solving a system of polynomial equations, but eventually, those polynomials are constructed by a linear combination of $T$ and a vector represententing an univariate polyno... |
I am trying to find the key of an XOR-encrypted string in Java. It is very probable that the key is eight characters long. I have the encrypted string.
I do not understand how to go backwards and find the encrypted string. I did some research and found out about Vigenère cipher, and some other things, which were partly... |
In the book "Introduction to Cryptography with Coding Theory ", in the chapter about the Differential Cryptanalysis for Four Rounds for DES algorithm, the authors say:
There is a weakness in the box $s_{1}$. If we look at the 16 input
pairs with XOR equal to 0011, we discover that 12 of them have output
XOR equal ... |
In the Scheme Based on the SDH Assumption (page 11 of the paper https://link.springer.com/content/pdf/10.1007%2F978-3-540-28628-8_14.pdf), how does the commitment get revealed with the master trapdoor x?
|
I've been playing with Apple's CryptoKit (their effort to make their old CommonCrypto lib more modern and easy to use via Swift, their programming language).
I'm interested to see how portable it is...
They use boxes, similar to libsodium.
Interestingly they only support AES-GCM and ChaChaPoly for authSym, and a handfu... |
I am currently looking into differential and linear cryptanalysis. I am however unsure why do we only approximate only R-1 out of R rounds - is it because we already know the output or why ?
I have read "Linear and Differential Cryptanalysis" by Howard M. Heys, but I am not able to find it there, he only takes it for g... |
When an encrypted message is received, it can be easily decrypted if the offset (=counter) of the received message is known (and also the required private key of course). This allows for random access on decryption. What if the receiver somehow forgot to keep track of the counter. Can the receiver still recreate the or... |
In the BeleniosRF e-voting scheme, Groth-Sahai proofs with the "Instantiation based on the SXDH assumption" are used (see https://eprint.iacr.org/2007/155, version 20160411:065033, page 24).
In the BeleniosRF paper on page 8, Figure 2, a Groth-Sahai proof is used to prove $g_1^\overline{r} = c_1$ with $g_1$ being the g... |
Hi I'm trying to piece together how AES, ECDHE, and SHA all work together. From what I understand ECDHE is uses asymmetric cryptography to generate a shared key from a public and private key which are mathematically related based on points off the ecliptic curve. AES is used for encryption and decryption and requires a... |
I have 20 years of experience at java JEE coding, and 10 years in devops as well,
but no experience with blockchains, or the Go language.
I want to setup a cluster of Quorum blockchain nodes, including the features
provided in ING bank's zkproofs project. I want to be able to complete transactions where a Prover and Ve... |
libsodium documentation says that XChaCha20-Poly1305 can encrypt a message of arbitrary size.
However, the only specification available (still a draft) explains that under the hood the IETF version of ChaCha20-Poly1305 is used (in combination with HChaCha20 for key derivation), which implies at the very least a hard li... |
With DSA / ECDSA using a fixed $k$ means the private key can be trivially easily calculated from two different signatures. To remedy this RFC6979 Deterministic Usage of the Digital Signature Algorithm (DSA) and Elliptic Curve Digital Signature Algorithm (ECDSA) was developed.
OAEP / PSS, as described in PKCS#1 v2.0+, u... |
Does a meet-in-the-middle attack on depend on the used modes for block ciphers?
encryption: $C_i$ = $D_{K2}$($D_{K1}$($E_{K1}$($P_i$ $\oplus$ $C''_{i-1}$))) $\oplus$ $C'_{i-1}$ and $IV_1$ = $C''_0$ = $O^n$
with $C'$ and $C''$ be the intermediate solutions (and $C''$ the first) of each encryption/decryption method.
decr... |
I'm using the notation from the book: Cryptography: Theory and Practice, Third Edition.
I have a cryptosystem with the following information:
$n = p_1 p_2 p_3$ and integer $x$ is encrypted using $y = e_K(x) = x^b$ $mod$ $n$ and the decryption is $x = d_K(y) = y^a \bmod n$
when $ab\equiv 1 \pmod{\varphi(n)}$
$n=231$, ... |
My understanding is that a KDF is like a PRF, except that it has a preliminary step that "extract" entropy. It is thus needed when the entropy is non-uniform (for example the output of ECDH is modulo a number that is not a power of 2, and is thus non-uniform if represented as a bit-string).
Yet, I am not sure there are... |
In the following 3-way authentication protocol:
A -> B: $N_a$ || B || Signature_KprivA
B -> A: $N_a+1$ || $N_b$ || A || Signature_KprivB
A -> B: $N_b+1$ || Signature_KprivA
($N_a$ and $N_b$ are nonces, A and B are Alice and Bob, respectively)
How does the presence of the 3rd message remove the requirement to store nonc... |
This is from a previous exam question and I'm not really sure how to approach this properly
We're using a block-cipher mode that encrypts
$C_i$ = $E_k$ ($P_i$ $\oplus$ $C_{i-1}$ $\oplus$ $P_{i-1}$) with $C_0$
= IV and $P_0$ = 0.
Indicate whether information leaks on the plaintext if too many
plaintext blocks are ... |
Can the Verifiable Encryption of a Discrete Logarithm scheme of the paper https://www.shoup.net/papers/verenc.pdf (page 19) be used to verify that a ciphertext encrypts the same value committed in a Pedersen Commitment?
|
I looked into the math behind RSA and seem to understand the basic encryption and decryption scheme.
Let's say there are two parties, Alice and Bob, who wish to communicate and secure their conversation using RSA.
Alice generates two prime numbers ($p$ and $q$), uses those to compute $n = p q$, and $\phi(n) = (p-1) (q... |
A paper was presented at the INSCRYPT 2018 called: "Searching BN Curves for SM9 (Pay-Walled)"
SM9 is a Chinese National Identity Based Cryptography Standard and was originally published using a 256-bit Barreto-Naehrig Curve as its primary example. This new paper suggests that because attacks against some Barreto-Naeh... |
This is probably a silly question, and similar question was asked before; but I can not figure out what actually is PRP/PRF. For example, it is commented that:
A Pseudo Random Function is a function that is indistinguishable from a function selected at random from the set of all functions with the same domain and val... |
Suppose you use a IV/counter = ffffffffffffffffffffffffffffffffin AES-CTR. What will happen if you encrypt the next block, and thereby increment the counter by one? Will it result in an overflow error of sorts?
|
I am interested to see examples of cryptographic algorithms (namely, keyed or unkeyed permutations that transform an $n$-bit input to an $n$-bit output) where the choice of all rotation values is not based on heuristic methods or empirical evidence (assuming that all rotations are constant, that is, their values do not... |
Outcome: Create a message with a count down timer. Once a top level password is entered, a countdown timer starts. Once timer expires, the message is decrypted.
Known methods: Proof of work. User has to use computing power to decrypt the message.
Problem: The computer power will change in the future. I want ... |
I want to know how to obtain
mixcolum -> invmixcolumns
mixcolumn = [2 3 1 1
1 2 3 1
1 1 2 3
3 1 1 2 ]
->
-1/35 [4 3 11 17
17 4 3 11
11 17 4 3
3 11 17 4]
-> [0e 0b 0d 09
09 0e 0b 0d
0d 09 0e 0b
0b 0d 09 0e]
why ?
[0e 0b 0d 09
09 0e 0b 0d
0d... |
I'm using the mul2, mul3, mul9, mul11, mul13 and mul14 tables for the MixColumn and InvMixColumn steps in AES-128. However, I got these off some Github repository, and now I'm looking for an actual source explaining how these were calculated and so on.
I cannot find anything proper on Google, can anyone help me out?
|
If companies such as Facebook store our passwords as hashes, when they are leaked how can this be a threat to the users? I thought of it because nowadays we do not have computational power to break those hashes, so how can a criminal use those hashes against the users?
|
If we consider the generation of keys as
$$\begin{aligned}
K_0 &= E_K(IV); \\
K_{i+1} &= E_{K_i}(A)
\end{aligned}$$
Where A is a block of zeroes, and the ciphertext blocks are computed as
$$C_i = E_{K_i}(P_i), \quad i \in \{0, 1, 2, \dots\},$$
is there any problem when we encrypt the same message twice with the same ... |
I am using a Python library called PyCryptodome, which offers the following API for AES-GCM ciphers:
https://pycryptodome.readthedocs.io/en/latest/src/cipher/aes.html
As you see, IV is not applicable for GCM ciphers.
There are some C++ libraries that expect the user to specify the IV rather than the nonce.
Let's say th... |
I want to prove security of my system by reduction to the security of an underlying
non-interactive proof system for proving knowledge. I know a game that captures the
desired security property of my system, and I want to reduce to an adversary's
inability to produce a non-interactive proof without a witness (since po... |
I recently saw a sketch relating to provable security in a book, regarding the amount of time it takes to factor N where N = pq and p,q are primes.
It says that "There is a trivial algorithm which always factors a number in time $\sqrt N$ , so there is an adversary $A$ such that $Adv_b (A, 2^{b/2}) = 1$" b is the amoun... |
According to wikipedia: BDZGO is the expected outcome when doing the enigma chipher on the letters AAAAA with rotors I,II,III and reflector B.
ABCDEFGHIJKLMNOPQRSTUVWXYZ | Alphabet
EKMFLGDQVZNTOWYHXUSPAIBRCJ | Rotor I wiring
AJDKSIRUXBLHWTMCQGZNPYFVOE | Rotor II wiring
BDFHJLCPRTXVZNYEIWGAKMUSQO | Rotor III wiring
YR... |
Reference Document: https://eprint.iacr.org/2016/027.pdf
According to appendix D section 4 definition 27
each vertex in V has predecessors sampled independently and uniformly at random from the set U
It appears from the pseudo-code in section 3.1 step 2b, and the reference code given on GitHub hash_state_mix(), that ... |
When implementing EC signing/verification in Javascript, the only options available via the WebCrypto API are:
Curves: P-256, P-384, or P-521
Hashes: SHA-1, SHA-256, SHA-384, or SHA-512
If I was not constrained by these choices, I'd choose Ed25519. Would ECDSA with P-256 and SHA-256 provide an equivalent level of secur... |
I am new to Elliptic Curve Cryptography and I was reading up on it online when I came across this link. It stated the following.
Unfortunately, there is a gap between ECDLP difficulty and ECC security. None of these standards do a good job of ensuring ECC security. There are many attacks that break real-world ECC with... |
While reading through "Cryptographic Extraction and Key Derivation: The HKDF Scheme" by Hugo Krawczyk, I found the following text intriguing:
In some cases, well-defined combinatorial assumptions from the hash functions will suffice while in others one has to resort to idealized modeling and “random oracle” abstracti... |
I've been struggling to find good info on how to do the following:
A(lice) and B(ob) each have a table of data (a and b respectively). Each table has an id column that is consistent between the parties. id is a numeric with largeish but limited range. Otherwise the tables contain different data.
The tables have be... |
I was wondering if there were any verification algorithm in the literature that enables a "probabilistic" verification of well-known signature schemes?
For RSA signature verification for example, is there any way to verify $s^e = H(m) \mod N$ in a fast way but with a certain "error" probability ?
If not for RSA, for an... |
Given A, B, G, H .How would I prove that I know x such that
$A=xG$ and $B=xH$
|
Assuming that x has a sqrt.
Given $P=xG$ is it possible to prove that I know the $sqrt(x)$ in zero knowledge?
|
To me it seems that maybe we can prove that verification of a ring signature must be linear in the number of members, since we need to make sure each members component is correct and the ring is formed correctly.
Is there any proof of this statement, or a refutation?
|
Introduction
I've been playing with group representation theory some time, concretely representing groups as permutation groups (Cayley's theorem), where the group $G$ has an embedding into the symmetric group. The set of symbols is composed by the elements of $G$. In my case, $X=U$, where $U$ are the units of $Z_p^*$,... |
Suppose that primes for RSA modulus are generated using formula:
$P_i(x,y) = \operatorname{next\_prime}(x^{z_i}+y^{z_i}) = x^{z_i}+y^{z_i}+d_i$
where $x,y$ are unknown random numbers with size 128 bits
$z_i$ - are known small integers exponents, lower than 16
$d_i$ - unknown small integer to make it prime
$0<=i<=4$
The... |
I'm looking into coercion-resistant voting schemes and one of the key elements of coercion-resistance is resistance to randomization attacks.
Juels et al. define a randomization attack as one where adversary coerces the voter to vote for a random candidate (as drawn from some distribution). Many other articles have sin... |
I'm learning about the side channel attack on the cache. I came to know that most of the attack (EVICT + TIME, PRIME + PROBE, PRIME + ABORT) on the cache is initiated by building an eviction set(a group of virtual addresses that map to the same cache sets) from the page table. And I also came to know that this is possi... |
I was asked to develop an external user administration for a legacy system so that it could be integrated into company processes. This system is mostly written in Python, but also uses unmanaged DLLs. There is no sufficient documentation about the system, also no source code.
Now I face the following problem:
In order ... |
As we can generate a permuted sequence using KEY in KSA (Key Scheduling Algo) of RC4. Is there any way to check the randomness of the permuted sequence?
Let say I created 100 different permuted sequences of range 256 {0,1,,2,...255} using 100 different keys. Now, I need to check either all 100 sequences have any relat... |
I would like to digitally sign a message in such a way that the signature can only be verified by one specific person. Simply encrypting the signature will not work, because that person could then decrypt and publish the signature and everyone else would be able to verify it.
Does anyone know of a scheme to accomplish ... |
There are a number of questions on this site about how/can you use a U2F key to encrypt something. The main problems with doing this are that U2F keys were designed for authentication, so all they can do is sign data. We could try using this signature as a key (after passing it through a KDF), except that their signatu... |
I am new to cryptography and I need to know some details about the hardwired keys.
Taking as an example the paper "Multi-Input Functional Encryption", a key is hardwired in the description of the key generation scheme.
Is this technique related to encryption schemes or it is a form of circuit construction?
|
I have just learned about the OTP, how it uses XOR, and how it's secure if the keys are random.
But what will happen when the same plaintext is used again with a new key?
$c_1 = k_1 ⊕ p$
$c_2 = k_2 ⊕ p$
$c_3 = k_3 ⊕ p$
$c_n = k_n ⊕ p$
Is this secure?
|
In order to generate secure elliptic curves, this answer recommends to
Calculate the cardinal $|E(\mathbb{F}_p)|$
Check this cardinal is in the hasse interval
(with $p$ prime) and to restart the process with a different $p$ if step 5 (or others) fails. This suggests that cardinality is not always bounded in the wa... |
A few days ago, I designed and s-box then derived the following Cayley table of all possible XOR outputs of hex digits in the range of ${2^4}$ and was curious how many such "valid" possible configurations exist within a 16*16 grid and where the table remains Abelian and has symmetric diagonals, such as this one? (And a... |
A Diceware passphrase is constructed from a set of words chosen from a 7776-word database, using five dice throws to choose each word. The argument is that each word in the phrase adds about 12.92 bits of entropy since $\log_2(7776)≈12.92$. As Arnold Reinhold, the creator of Diceware, explains, the entropy comes from t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.