instruction stringlengths 32 27.2k |
|---|
What is the cryptographic strength of sha512ctr when I simply concatenate a counter and 64 bytes from a cryptographic random number generator (in this case RNGCryptoServiceProvider from .net), and some additional optional data such as the user environment block?
|
NIST SP 800-38D § 6.3 Multiplication Operation on Blocks describes a multiplication algorithm that, in my testing, appears to be a good amount slower then algorithm 2.40 (arbitrary reduction polynomials) in the Guide to Elliptic Curve Cryptography.
My question is...why? Does the algorithm described in NIST SP 800-38D p... |
Suppose $g$ is a pairing-friendly elliptic curve with subgroup generators $G_1$ and $G_2$. Suppose also that $M$ is the message I want to sign.
Setup
Compute $A = a \cdot G_1$ and $P = p \cdot G_2$, where $a$ and $p$ are some secret values.
The public key is then defined as a tuple $(A, P)$.
Signature
Hash message $... |
In my scenario I need to build a pseudo-anonimization service: a machine that given a plainID return a chiperID and vice-versa. chiperID are created when an unknown plainID is provided. So I have an identities table that grows keeping track of this mapping by storing the couple [plainID-chiperID]. To keep it safe again... |
I'm failing to see why 2 can never be used and what weaknesses would be associated with doing so.
There's a similar question asking why it has to be in the form of $2^n$+1 but why not $2^n$
|
Say, we have RSA public key $(n,e)=(221,7)$,
and the encryption of the message $m=12$ is $$c=m^e \bmod n= 12^7 \bmod (221) = 194 \bmod (221)$$
Can we find the $d$ by solving the equation;
$$194^d \bmod(221)=12$$
I get that the numbers I used are way smaller than they are in real life, but this should be easier then j... |
$\phi$-hiding assumption states the following.
Sample 2 random primes $e_0$ and $e_1$ in the range $[5, 2^{\lambda/4}]$. Sample $N = pq$ of length $\lambda$ ($p$ and $q$ are large primes of length $0.5\lambda$) such that only one of $e_0$, $e_1$ divides $\phi(N) = (p-1).(q-1)$. If an poly-time adversary is given $e_b$ ... |
I'm building a tool which generates passwords by hashing a service name with a master key. PBKDF2 was primarily chosen due to availability in the Web Crypto API.
What would be a secure value for the output bit size? Base64 requires 180 bits to produce 30 character-long passwords, but is that tolerable from a cryptograp... |
For the purposes of learning, I'm writing a small utility that allows encrypting a list of passwords using a single master key (using AES-256 and PBKDF2)
Before encrypting or decrypting any password user has to enter the master key (which will be used to derive a key for AES).
I would like to know what is the best opti... |
I'm trying to write a code to perform encryption and decryption of 64-bit DES but I'm having a problem in verifying that my code is working correctly. My graduation project is about DES crypt-analysis so I'm trying to implement DES to generate the pairs used in the attack.
Can anyone give me an example on encryption of... |
Learning with Error (LWE) problem seems like a generalization of Learning Parity with Noise (LPN) problem, where in the latter one uses bits. But, this also makes LPN seem very related to the problem of decoding a random linear code. I was just wondering whether LPN is equivalent to the problem of decoding a random lin... |
In this post, I found that choosing RSA modulus $N$ to be product of safe primes avoids Willam's $p + 1$ factoring attack. Suppose $N = p \cdot q$, where $p$, $q$, $(p-1)/2$ and $(q-1)/2$ are primes. In this case, certainly $p-1$ and $q-1$ are not smooth. They have a very large prime factor. But how can we guarantee th... |
Does anybody know which practical use cases there are to operate on encrypted strings? Even niche problems that can be solved using homomorphic encryption on strings are interesting to me, but not academic ones.
|
I read a paper about a nonlinear invariant attack that is Y.Todo et. al's "Nonlinear Invariant Attack: Practical Attack on Full SCREAM, iSCREAM, and Midori64"
In this paper's Appendix A., they said that
Then, by Gaussian elimination like computation, we compute matrix $M'=[M_1'\|M_2']. $ If rows of $M_2'$ are $[0,0,... |
In my cryptographic scheme, I would like to rely on the hardness or negligibility of the following problem or situation, respectively. Note the original motivation: it shall be impossible to find two distinct ways how to sum up $n$ random strings $r_i$ into the same value, no modulo and limited number of additions (fol... |
I thought like encrypting an IV concatenated with a CTR but instead of XOR-ing this output with the plaintext this output should be used as a temporary key for another encryption block that actually converts the plain- to ciphertext. In other words in a regular CTR mode of operation the XOR would be replaced by a full ... |
Is it possible to create a public key out of a private key, then create another public key from the first public key. And treat the first public key as a private key (So you have two levels of private keys). Is the complexity still there? Is it possible to calculate back from the second public key to the first one? or ... |
In order to understand the construction of a zK-SNARK, I have recently been trying to understand the KEA1 assumption in The Knowledge-of-Exponent Assumptions and 3-Round Zero-Knowledge Protocols by Mihir Bellare and Adriana Palacioy.
I do not understand the meaning of this assumption. For example, why is this "hard pro... |
A randomness extractor is a function that takes an input sampled from high entropy distribution and outputs a value that is close to uniform distribution. It is slightly different from a PRG. PRGs take an input sampled from uniform distribution and output a larger length string which is computationally indistinguishabl... |
Let $A$ be a set of size $n$. Given a random seed $s$, I am looking to build a pseudo-random random permutation $\pi_s: A \rightarrow A$ such that $\pi_s(a)$ is fast to compute for every $a \in A$. By "fast to compute" I mean significantly faster than $O(n)$ time, e.g. $O(1)$ or $O(\log n)$ time.
One suggestion is to u... |
I came across this paper about aggregate lattice-based signatures, however, I'm not able to fully understand it. Specifically, I'm wondering if someone could help answer the following questions:
In part III. System model of Aggregate Signature, the authors state there is a KeyExtract algorithm where "Given parameters ... |
Our company would like to update our .Net apps so that they can run on Windows machines that require FIPS compliance. Currently we are using the System.Security.Cryptography.Rijndael class. I changed our encryption methods to use Cryptography.Aes instead and our apps are able to run on machines with FIPS compliance ena... |
Suppose we have an "ideal" cryptographic hash function
$H: \{0,1\}^{n+k}\to \{0,1\}^{n}$
and a given bitstring $b\in \{0,1\}^{n}$, Can we estimate how many preimages $H^{-1}(b)$ there are?
With ideal I mean that it behaves like a random oracle.
|
I want to construct a seeder for a big state PRNG (xorshift1024 based) and have been thinking about using Aes Ctr using multiple 256 bit keys, where the counter is simply encrypted multiple times (similar to 3DES).
Would this in any way reduce the statistical qualities of Aes Ctr? Security isn't a concern, but uniquene... |
What role does a circuit play in ZK-SNARKS? Is it executed on both the prover's and the verifier's machine? If so, how would you program it to check if one value is greater than another value?
|
Picture a simple substitution cypher of text with length $N$(spaces optional):
Plain : ATTACK AT DAWN
Encrypted: ELLETI EL HEPG
Another way to represent the encrypted text is with an $N \times N$ matrix $P$ of $0$s and $1$s:
$P_{ij} = 1$ if the $i^{th}$ character is the same as the $j^{th}$ character
$P_{ij} = 0$... |
Suppose I have an encryption oracle for AES with some key $k$ (16 bytes) and that I know $n$ bytes of it. Is it possible to recover the rest ($16 - n$) in complexity less than $256^{16-n}$?
|
Are these distributions computationally indistinguishable ?
$f:\{0,1\}^n \to \{0,1\}^n $
$\{X_n\}_{n\in N}$ : uniform distribution for function which $f(0^n)=0^n$ and for other function probability is zero.
$\{Y_n\}_{n\in N}$ : uniform distribution for function which $f(0^n) \neq 0^n$ and for other function probabili... |
I have learned the definition of PRGs and PRFs. As I know the meaning of pseudoreandomness. I think that the pseudo-random sequence and the truly random sequence are indistinguishable.
I did not find a definition of the pseudo-random sequences. And I think the definition should describe some possible collections of "ps... |
As we know, AES-256 is a block cipher with 256-bit key and 128-bit block size.
The CMAC message authentication code outputs tag length equal to block cipher block size - thus 128 bits with AES. And this provides an assurence that only 1 in 2^128 attempts in forgery may possibly succeed.
So is there any point using a ... |
I am looking into libSTARK and specifically TinyRAM and I cannot find out how to provide private inputs in a TinyRAM program. As private input I mean a variable that only the prover knows; i.e. the verifier has zero-knowledge of it.
In the DNA profile match (DPM) example that is described in "Scalable, transparent, and... |
Is it possible to prove that a point on an elliptic curve falls within a given range of another point, without revealing the distance between them. For example:
Let's say $X$ and $Y$ are two points on an elliptic curve such that $X = x \cdot G$ and $Y = y \cdot G$, where $G$ is the generator. The proover knows values o... |
I am currently working on a problem where I have two encrypted messages, their corresponding signatures, and the public key. Furthermore, the value of $r$ is the same in the two signatures. I am trying to recover the plaintext messages and stumbled upon the Wikipedia : Elliptic Curve DSA page that explains that one can... |
I'm trying to find a cipher challenge I saw a few years back, it was an old drawing (I think 1800's or earlier) with clouds and stars on it and French text was hidden in the image.
Does anyone happen to know the name of this drawing/cipher I'm talking about?
|
I was looking at RFC5647: AES Galois Counter Mode for the Secure Shell Transport Layer Protocol and had some questions about section 7.1 "IV and Counter Management". Here's that section:
7. Processing Binary Packets in AES-GCM Secure Shell
7.1. IV and Counter Management
With AES-GCM, the 12-octet IV is broken in... |
In RFC5647, NIST SP 800-38D, etc., || is used to denote concatenation. How did that come to be?
In most programming languages || represents "or" and + denotes concatenation and the fact that crypto texts just kind of mixed it up seems to make for an easy gotcha.
|
The paper The Galois/Counter Mode of Operation (GCM) describes mainly the 128-bit case, for use with 128-bit block ciphers such as AES. AES-GCM test vectors are available from NIST.
The paper also describes GCM for 64-bit block ciphers. My question is, has anyone actually implemented GCM for a 64-bit block cipher, and/... |
A prime $p$ is said to be safe prime if $(p-1)/2$ is also a prime. How to efficiently generate a safe prime? I have written the following code in sagemath which generates a random safe prime of 1536 bits. This code took 426 seconds to generate a safe prime. That's very inefficient. Is there a faster way to efficiently ... |
A running computer has two LUKS volumes that were made with the same password. One volume is open (key is in RAM), the other is closed.
If the running computer is stolen, is the closed volume safe?
If sha256 is broken, is the closed volume safe?
|
To perform a bit flipping attack, the previous block is modified by using XOR. This results in an altered plaintext. However, now the ciphertext of the previous block is altered, hence it will result in an invalid format. Am I correct or am I missing something?
For example, suppose I have the following plaintext name=... |
The BLAKE paper uses round constants derived from $\pi$ to improve diffusion, even if the additions modulo $2^{32}$ are replaced with bitwise XOR when processing a null message and null initial state:
The higher weight in the original model is due to the addition carries induced by the constants $c_0,\dots,c_{15}$. A ... |
Are there cryptographic protocols, where a party should transmit by communication channel simultaneously two or three $\mathbb{F}_q$-points of an elliptic curve over a finite field $\mathbb{F}_q$? Therefore we need a faster compress-decompression method for these two or three points, than just $x$-coordinates. The latt... |
I'm trying to figure out if there's a way of breaking or weakening the following method of signing long messages
Given $M=m_{1}m_{2}...m_{n},\,\,|m_i|=64b,
\,\,h=h(m_{1})\oplus h(m_{2})\oplus\cdots\oplus h(m_{n})$
sign $h$ using the RSA method.
also, is it weaker than the original way (of signing every message separat... |
Let $H_{min}$ = Min-entropy and $H$ = Shannon entropy.
Unless you're gaming the system or deliberately trying to be obtuse, very rarely is $ \frac{H} {H_{min}} > 10$ from any conceivable physical source. To achieve a ratio of >10 in hardware/ real life would be quite a feat of engineering and tantamount to a joke/NSA... |
Let's say I have an elliptic curve where generator $G_1$ has prime order $q$. Let's also say I have committed to a point $A_1 = a \cdot G_1$. Could I use the scheme below to prove that $a < \frac{q}{2}$?
Suppose the order of the curve is $2q$ (the order is even) and there is another generator $G_2$ such that $G_1 = 2 ... |
As explained in my previous question, I want to develop a scheme which would be able to increase the password hash strength without the user password.
According to Thomas Pornin it should be safe to chain BCrypt hashes to generate a new, more expensive hash. I disregarded the handling for the salt in the previous quest... |
Edit
Does the state register (the LFSR) always have to remain with 16 bits (I'm assuming yes).
If so, are we shifting the register right by one (lfsr>>1) and inserting the output bit onto the left-most bit (lfsr>>1 | bit<<15) which allows us to wraparound within the same 16-bit address space.
So with this in mind, how ... |
To understand the distinction between TLS 1.2 and TLS 1.3. I am stuck in the past understanding for TLS and the current reference I am studying:
As I know certificate goes with owner's public key, and its public key is used for key exchange between client and server to generate long-term pre-shared key.
But I feel conf... |
I am trying to understand how point halving on elliptic curves of even order works. Specifically: suppose $g$ is an elliptic curve, and $G$ is a generator point on this curve. The order of group generated by $G$ is even and equal to $q$. Suppose also that $A = x \cdot G$. I know $A$ but I don't know $x$.
My questions a... |
In this paper authors extend Asmuth–Bloom and Kaya schemes to
bipartite access structures and further investigate how SSSs realizing multipartite access structures can be conducted with the CRT.
The authors, also, written Secret Construction procedure is same in Unipartite Secret Construction, Bipartite Secret C... |
The paper "Fast Secure Two-Party ECDSA Signing" by Yehuda Lindell describes a system in which two parties, $P_1$ (with 1/2 of a share of a long-term ECDSA signing key $x_1$) and $P_2$ (with the other 1/2 share, $x_2$), cooperate in order to produce an ECDSA signature, $P_1$ being the party that actually outputs the fin... |
I want to make a commitment on Shamir's Secret Sharing, based on the work of Pedersen, "Non-Interactive and Information-Theoretic Secure Verifiable Secret Sharing".
To implement the commitment protocol, I need two LARGE primes $q$ and $p$ such that $q \mid (p-1)$. How can one generate such primes?
Note: This is differ... |
In this post from security SE, Tom Leek mentioned that, for Diffie-Hellman to be secure order of the group $g$ should have a prime factor at least $2k$ bits long, where $k$ is the security parameter.
Why is it so? Order of $g$ has to be large, otherwise, the discrete log would be easy. But I couldn't see any other reas... |
From my research online, I am confused about the difference between a 'monoalphabetic cipher' and 'monoalphabetic substitution cipher'. However, I have got my answer from the websites Kifanga and Cornell.edu for reference:
The following is my answer:
A monoalphabetic substitution cipher is a cipher in which each occurr... |
I know it is believed that primes appear to be randomly distributed among the integers. Is there a formal conjecture or theorem that expressly states that the occurrence of the prime numbers is random?
|
My secret message is encrypted in a byte buffer with AES-128 in CBC mode. The first 16 bytes are the IV and the message follows contiguously. If I want to securely delete this message is it enough to delete (overwrite with random) the IV, the first block, or both?
In an answer to similar post (crypto shredding by era... |
I have been thinking lately about a block cipher which takes a block of bits and arranges them in a square matrix. Then defining transforms on submatrices of the square matrix to scramble the bits. The key would be a sequence of bits, which identify specific transformations to apply to the submatrices. To unscramble... |
Secret sharing, using methods such as Shamir's Secret Sharing allows for t out of n shares to recreate a secret.
For authentication, the secret can be a user ID. A client with a logged-in user can store a token holding both a user ID and secret share. A server can hold another secret share for each user ID.
When reques... |
I'd like to include an authenticated timestamp in my messages. I'm wondering if I can save a little space by putting the timestamp in the nonce.
Concrete example:
Let's say I'm using XChaCha20-Poly1305 with a shared secret key.
I generate the nonce/IV by concatenating an 8-byte timestamp and a 16-byte random value.
I... |
Recently I've been studying the ECC with the Chinese SM2 standard. One question is on standard part 5, parameters definition, it only defines $p, a, b, n, XG,$ and $YG$, but not cofactor $h$.
I found some useful discussion introducing all the parameters mathematics behind: What is the relationship between p, n, and h.I... |
I'm using PBKDF2 SHA 256 with 100 000 iterations to generate a secret.
I want to increase the cost of brute forcing the passphrase I use to generate the secret.
I'm thinking of using scrypt after the pbkdf2 computation.
scrypt(pbkdf2(passphrase, salt))
Is there a better way?
|
I learned that a digital signature is encrypted using private key and is decrypted using public key.
How does the verifier gets the public for verifying the signature? If a person has to request one and get one, does this mean that the public key will be same for all verifiers?
|
As far as I know:
There are some partially homomorphic encryption (PHE) systems that support either addition or multiplication.
A fully homomorphic encryption (FHE) system can do addition as well as multiplication and thus supports arbitrary computation on ciphertexts.
My question is (disregarding computational efficie... |
I'm wondering if there are any guarantees about AES's randomness in comparison to Random Oracle, but I couldn't find any papers nor publications about it.
Let's say I have a blackbox B which for any input returns either encryption or random data
B(input){
if(hasBeenEncryptedBefore(input)){
fail();
}
with p... |
Is using Argon2 for both password storage and key derivation secure? I'm planning on using different salt values, of course.
The basic concept is something like this:
Alice has some secret data ($data_e$) on her account. It's encrypted with an Argon2 derived key from her password, using a random salt.
$$ k = \operatorn... |
I understand Kerckhoff's principle, in a very practical sense, that the best attack that can be performed on a given cryptographic algorithm should be only as practical, if not less practical, than an exhaustive key search, that is, testing every possible key. My question is, if this is the case, then why go through th... |
I want to store a secret on YubiKey and use it for disk encryption. It's crucial that it be PIN protected. There are a limited number of PIN tries, and after three attempts the YubiKey would be blocked (self-destructed).
All the solutions I have found (like this one) are based on a HMAC-challenge-response YubiKey appli... |
According to the web page for NewHope, an R-LWE post-quantum key encapsulation mechanism (KEM) candidate for standardization, it comes in types that are IND-CPA or IND-CCA secure. I know what CPA and CCA security are, but I don't understand the difference between the two types of NewHope and why there needs to be a cho... |
Cryptographic procedures seem to almost exclusively use discrete logarithms rather than continuous logarithms. Hence, I assume there are good and sound reasons for this.
In essence, answers provided here:
Why is NON DISCRETE logarithm problem not hard as the DISCRETE logarithm problem (so computationally hard)?
sta... |
I have been using RSA signed/encrypted mailing a lot recently. Naturally, I wanted to use RSA mailing also on my phone, not only on my computer. However, I feel uneasy having my private key on my phone (what if I lose my phone?). Therefore I have been thinking about a scheme which allows RSA on mobile devices without s... |
Lightweight block ciphers are mostly expressed for encryption routine and efforts are made to keep it as light as possible mostly in terms of gates count and power usage although some try to keep latency and critical path in consideration. The designers assume that such lightweight block ciphers will be used in a mode ... |
I know that keys in a TPM key hierarchy are encrypted with their parent keys. And I read that those parent keys (for instance an asymmetric SRK) need to have some symmetric secret for said encryption.
Is it mandatory to encrypt child keys with a symmetric key or can I use the asymmetric keys as well?
And if I can on... |
Coupled with the terms bootstrapping and relinearization, the term modulo switching appears a lot in the FHE literature. What is it and how does it relate to the other two?
|
Can I use Zk-SNARKS to prove that a given secret value is greater than another public value. for Example to prove that secret_value >10 . if so How would such a circuit look
I am using snarks.js which uses circuit file .
|
I've read some introduction documents about digital signatures, and all they said is
Signer calculates a hash of data to be signed.
This hash is encrypted with the private key.
Verifier reads the document and calculates hash again and compares it the received hash which is decrypted with a public key of the signer.
T... |
The Salted Challenge Response Authentication Mechanism (SCRAM) specified in RFC 5802 can use arbitrary hash functions to operate. The base version from RFC 5802 uses SHA-1.
From my understanding, SCRAM solely relies on the one-way-ness of the function. It does not need collision resistance. It uses extensive salting an... |
what is the smallest possible modulus for RSA2048? I generate a random data with I want to encrypt by a textbook RSA2048 and I'm not sure where the first 1-bit should be.
According to OpenSSL source code and used padding function, the first byte seems to be 0, 2 follows and than there could be anything. Seems I need fi... |
In the hierocrypt-L3 description, the cipher takes 6, 7, or 8 rounds. Example source code also seems to follow this same specification of 8 rounds for 256-bit keys. Wikipedia shows 8.5 rounds for 256-bits. I found it some other literature as well.
Where does this 1/2 round come from?
|
I have read that when a user contacts an entity like a bank, it creates a pre-master key and then selects a master key for subsequent communications.
Can the lack of PFS, create a security flaw if the pre-master key and
master key are random and different for each session?
How can the knowledge of the private key he... |
I was reading some research papers and saw that in Registration phase/process it is always assumed that communication is over the secure/private channel, whereas, all of the phases communication is happening over the public/open channel. What is the reason for this? on the basis of which parameter! we assume that the c... |
I come across many time a term called ”hostile environment” in cryptographic literature. What does “hostile” mean exactly?
Is it unknown third parties which are responsible for handling and routing our data?
Suppose that we create a connection from node A to node B. Does hostile imply that packets could traverse to un... |
It's well known that by injecting a byte fault during the 8th round of AES 128 just before the mix column the key can be recovered with $2^{32}$-key space. A brute force attack is then possible but it takes some time.
If instead a byte fault, it is just a bit flip does it reduce the key space for K10? And why?
In fa... |
Are there any public key signature schemes that can be compared blindly or partially homomorphically based on the private key without knowing the private key?
Example: let's say I derive a public key from a private key via a secret seed "haha this is a secret 1001" I then derive another public key from another secret s... |
In Fips 186-4, there is an algorithm in Appendix F (at page 117 in my copy of the 2013 version) to calculate the number of rounds of the Miller-Rabin primality test to random bases.
Does anybody know where the magic number 2.00743 comes from or do I really have to work through the paper Average Case Error Estimates f... |
Is There an Opensource Manual Calculation of AES-128 bit as in Cronos
I have to learn calculations manually.
|
I am studying for my cryptography final and I passed by the following term: short authentication string. Please, can anyone explain it to me, thank you very much.
|
I have just started studying cryptography and secp256k1. I just wonder that adding two points can be easily reversible when the generator point is publicly known.
I mean that if $Q=\operatorname{adding}(P, R)$ then we can calculate $P$ as $\operatorname{adding}(Q, R)$, am I right? Would this be considered a weakness? I... |
Does message authentication authenticate the entity?
If the answer is "No", because message authentications like MAC work with the shared symmetric key, then my second question is:
Does a message authentication using an asymmetric key like the digital
signature enable both entity and message authentication?
If th... |
Consider the transformation described in section 6.2 of RFC4634 ("US Secure Hash Algorithms (SHA and HMAC-SHA)"). Given the message block M(i), and hence the message schedule W, as well as the output of the block function H(i), how hard should I expect computing H(i-1) to be?
Interestingly, the 64 "rounds" are easily r... |
If a hash-based signature schemes such as W-OTS is used, do we still need public key based certificates to prove ownership of a public key? I understand that hash-based signatures are one of the candidates for post-quantum signatures. However, if quantum vulnerable schemes such as RSA is used for certificates, it makes... |
Actually, I think I know why, but consider RSA2048 and SHA256. What about to, instead of padding, just use pbkdf2 with just 1 iteration to expand the 256bits hash to full 2048bits and use those 2048bits as an input for the plaintext RSA?
What would be wrong with that crypto-schema?
|
At my Day Job(tm) we've encountered a bug wherein if the leading byte of the X or Y value of a public key are zero, "shit happens" (this bug is in our code - I'm not suggesting there's some problem with EC itself. It's just an encoding thing and it's not particularly interesting for this question).
Naively, this sugges... |
Trying to turn bookish knowledge to practical:
Alice sends half of the encrypted data to eve, eve eavesdrop and tries to decrypt the data and fails as eve has only half of the encrypted block. So, Eve creates a new message and sends the data to Bob
why do most documents say about altering the message content by the
... |
In Fiat-Shamir protocol, the final calculation is
$$y^2=x\,v^c$$
Where $c$ is the random $\{1,0\}$, $x$ is the witness and $v$ is the public key $s^2 \bmod n$.
My questions are:
What stops the attacker from reading $c$, which is never encrypted,
$v$ which is public and then calculate $y^2$ correctly?
How does this... |
By looking at SonicWall Knowledge Base article Key exchange (DH) Groups Supported - Site to Site VPN:
It appears that our firewall supports DH group 25, and 26. Almost everywhere I've seen, they've recommended DH group 20-24 (we don't have DH group 24).
Should we use these groups? I don't understand how the ID of the D... |
Is there a way to prove that a ciphertext $c$ was encrypted under a given public key, $Pk$, without revealing the plain text message $m$?
|
Someone has incorrectly created a public/private key pair where $N$ (modulus) is a prime number.
This makes $p$ and $q$ trivial as they they are $n$ and $1$.
$d$ is solved from
$d \cdot e = \bmod (p-1)(q-1)$ which becomes $d \cdot e = \bmod (n-1)$
I want to create the private key knowing this information but no PEM ... |
I am making an embedded system for a project that uses AES.
As I cannot accommodate key generation (hardware constraints) I am using a static key. I can use another small algorithm to create dynamism and then pass it to the static AES.
I'm concerned about using a static key, is it safe?
|
I am looking for a faster alternative to RSA with OAEP as a IND-CCA2 public key scheme. Elliptic Curve Integrated Encryption Scheme might be a candidate, but I am not sure if it provides IND-CCA2 security.
So the question is if ECIES offers IND-CCA2 security by default? If not, what should be changed so that it does of... |
I can't find out how to break 1 round of feistel network (obtaining the key).
I understand why this equation takes place:
$R_1 \oplus L_0 = f(R_0, k_1)$
EDIT: The function f looks like this:
But how can i find the key ($k_1$) from it?
I saw it's possible in a few references:
http://www.cs.technion.ac.il/~cs236506/04/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.