instruction
stringlengths
32
27.2k
I am a layman in regards to the math behind RSA (and in general, relatively), and my goal is to bruteforce a large quantity of 512-bit RSA keys. Having searched around, I see that msieve, yafu, and an Amazon FaaS (Factoring as a Service) program are the main candidates, however, cracking the keys with Amazon would be i...
Given an array or database entries of encrypted data is it possible given a min/mix value to get a range of encrypted entries? The min and max values would also be encrypted.
How can I show that $C' = 2^e·C^* \bmod N$ when it is decrypted will add zero bits in the least significant bit position of the key? I am not sure if the cause is multiplying by a ciphertext which would lead the key to be multiplied by it as well.
What I know so far Fact 1) I know that all cryptographic hash functions have the following properties They are many-to-one in nature They produce fixed size outputs Given an output x it is infeasible to find the original message m such that H(m) = x Fact 2) I know that certain cryptographic hash functions are "s...
I have some basic idea about cryptography and trying to understand zero knowledge proof, so pardon my ignorance and stupidity. I am trying to formalize sigma protocol in Coq theorem prover, and so far everything is correct except the special honest verifier zero knowledge proof. The definition of special honest verifi...
Is there any algorithm that allows to set up a VRF (Verifiable Random Function) from a set of Keypairs such that the knowledge of one private key and all the other public keys is enough to compute the VRF output as well as the Proof and the knowledge of all public keys allows verifying the output? A search on my side h...
I have seen that there are PRNG that can generate a specific number of random-numbers. The Mersenne Twister as an example, can generate 2**19937 (if I'm not wrong) but... can we use a cryptographic hash function to generate infinite random numbers setting any seed to it? So I can set text for the seed and do it like th...
I just encountered a problem when I tried to understand a basepoint conversion from x25519 to ed25519. I can't really wrap my head around how the value of $x$ can be the stated value below? Can someone please, go through the derivation steps of $x$, especially the modular arithmetic part? From Base point in Ed25519? $...
Disclaimer: I have no background in cryptography, and everything I'm asking about is what I've learnt from last couple of days of frantic reading on this topic. Any help is much appreciated. Q: What does the computational complexity of generating a zkSNARK proof and verifying it scale with? Specifically, how many bili...
I would like to use Blum Blum Shub, or Blum Micali methods as random number generators only. I am not interested in their encryption capabilities. I was wondering, if I replaced the prime numbers with other random numbers that are not prime, how much will this affect: the security of RNG the randomness of the num...
My apologies for the somewhat inaccurate terminology. Basically I have some simple messages (entropy ~50 bits) the user will use for registration. The messages should remain private, and I don't plan to keep that in my database. However, I do need to keep a hash so that I know when the same message is used again. (thi...
I am new to PGP/GPG and I am somewhat confused by the idea of the Web of Trust (WoT). Isn't signing a public key with its private key enough to prove the ownership of it? if it is so, why don't key servers just do that before storing the keys instead of relying on users to trust each other?
I want to calculate a random number (1 to 6) from the output of sha256. Can I assurance the probability of 6 abilities is the same?
So I have been reading about Diffie Hellman and specifically the MitM attacks that it is vulnerable to. I am aware that these are solved currently in ssl for instance by using rsa signatures to authenticate dh public keys (as in the $g^a$ mod n bit) to prevent a middle man from compromising the connection. I also am ...
Take OpenPGP fingerprint for example. If the 40-digit hex standard remains unchanged, would it be helpful to upgrade SHA-1 to SHA-256 (but only taking the last 160 bits), in terms of reducing the risk of collision?
I saw in the market several hardware options for creating strong RNG to produce strong KEYS: HSM TPM internal TRNG Intel RDSEED (TRNG)/RDRAND My questions are; What is the strength/entropy difference between them? (using intel RDSEED is much lower cost than buying an HSM) Why feeding TRNG seed (like RDSEED) into th...
I understood the meaning of interactive assumption from What is the notion of an interactive assumption? . However, I am not sure why there exists a research field of constructing PRF from standard assumption. What is the advantage of standard assumption over interactive model in general and especially for PRF?
I have a simple question. Is it more weak to encrypt with the private key against the public key with RSA ? Like is it easier to "crack", "brake", "solve", "decrypt" when I encrypt with the private key against the public key. Is it really the same process of encryption? (In both cases we assume that the "breaker" doesn...
I'm trying to figure out how to verify an XML digital signature. I have received a signed XML response (in string) in following format: <?xml version="1.0" encoding="UTF-8"?> <ROOT> <HEADER> <tag1 /> </HEADER> <Body /> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <SignedInfo> ...
Let's say we have a group of users, authenticated by a server that providers the service, communicating on a secure channel (e.g. over HTTPS/TLS) and each user has a corresponding curve25519 key pair. Each user keeps a database of public keys of the other users but it needs first to verify that the other users actually...
For the Needham-Schroder protocol, assuming Alice and Bob are both able to guarantee each other's public keys (e.g. through a Certificate authority), the protocol is 1) A sends to B: $E_{publicB} [N_1 \mathbin\| ID_A]$ 2) B sends to A: $E_{publicA} [N_1 \mathbin\| N_2]$ 3) A sends to B: $E_{publicB} [N_2 \mathbin\| K]$...
As the title, if I have: A stream of 1D noise And I know: The noise is generated using the Perlin method with a known number of octaves > 1. (as implemented here) The random numbers used in each call to the Perlin noise method are generated using the Mersenne twister. The Mersenne twister is initialised with the sam...
In RSA, ECDSA, ElGamal and quite a few other schemes, using a secret (random) value equal to 1 might not provide any form of security, while still being mathematically sound. For RSA, ECDSA or ElGamal, the secret random value might typically be the secret exponent, for example. Or for ElGamal and ECDSA, it might be the...
For password hashing the NIST Digital Identity Guidelines state In addition, verifiers SHOULD perform an additional iteration of a key derivation function using a salt value that is secret and known only to the verifier. This salt value, if used, SHALL be generated by an approved random bit generator [SP 800-90Ar1] an...
The throw away private keys below (master ed25519 & subkey curve 25519) were exported without being password encrypted. % cat skaht_0523F5B4_Secret.asc -----BEGIN PGP PRIVATE KEY BLOCK----- lFgEXfAoixYJKwYBBAHaRw8BAQdAQ5l6GBKYVua9IGVmHiZNEZykd2h0AkxO5mcL NanWJO0AAQC2JM3xGd6htChecBpLTYGM+Z0tRLQs1Oo5FGBgE2D6wg97tCdza2Fo...
Attacking a Diffie-Hellman exchange with logjam involves a massive precomputation effort once for the group, and then a comparatively simple reduction stage that is necessary to break each individual handshake. At what DH size does the reduction step, which isn't precomputed, become impractical? For example, if the red...
I'm currently working on the development of an unorthodox system in which, ideally, there would be one master key pair, with thousands of keys derived from it. There needs to be a way to prove that any one of those keys is derived from the master key. In this scenario, the private and the public keys of all of the deri...
Question about DES-CBC : how to know IV if I have key, input buffer (plaintext), output buffer (encrypted) and decrypted result where first 8 bytes are incorrect but all other bytes are correct ?"
With EFS, we know that a symmetric key, File Encryption Key (FEK), is used for encrypting files. The FEK is then protected by encrypting it with the public key of the user that can be recovered by decrypting with their corresponding private key. The private key is again encrypted with the user's log-in password. My arg...
In a Diffie-Hellman key exchange protocol, the system parameters are given as follows: finite field $GF(2^5)$ defined with irreducible polynomial $f(x) = x^5 + x^2 + 1$ and primitive element $\alpha= x$ in the field. Suppose that Alice selected random number $a = 5$ and Bob selected $b = 6$, show the steps performed by...
I saw the AES algorithm that at the end of algorithm the buffer that stored in the beginning of algorithm the encrypt/decrypt key. now is store the last subkey. What is the last subkey? Why do I need to know it?
As far as I know, PBKDF2 uses an underlying pseudorandom function in order to generate a hash (like SHA256) so as far I understood PBKDF2 is basically a hash function that uses an underlying function in order to generate a hash but what I don't understand is that what's the point of hmac here? I expected to use somethi...
It seems that with both anonymous communication protocols we can achieve some level of forwarding anonymity, however, is one protocol better than the other in this respect? It seems that they both offer the same level of anonymity with different drawbacks: Mixnets are vulnerable to replay attacks which can allow atta...
Most modern papers on zero-knowledge proofs (for example, BBB+16) recycle essentially the same list of boilerplate definitions, concerning soundness (formulated using extraction or some form of "emulation") and zero-knowledge (involving simulation). Yet Katz and Lindell's incredible book does not use these definitions—...
I want to read the full output hash of SHA-256 as a number. How I can do it? Is it in the range of 0 to 2^256?
I'm lacking quite some mathematical knowledge here, but could anyone please explain to me why the Paillier cryptosystem is still (additive/multiplicative) homomorphic despite introducing a random value? $[\![w_1w_2]\!]_g$ = $[\![w_1]\!]_g + [\![w_2]\!]_g\ \bmod\ n$ Does it have to do with the value being sampled from $...
In the shamir secret sharing scheme, the Secret s is set as the constant in the equation $ y_p = s+ \sum_{i=0}^{i = t-1} a_i * x_p^i$ s can only be the constant term or the last coefficient or the secret may be leaked. This is also per question below: Coefficients in Shamir's Secret Sharing Scheme How can I show this ...
I have topic for my research paper is modified AES algorithm for enhaced security of WPA-2 , it posible ? what i should learn ? thanks
I have been doing a lot of research on Diffie-Hellman, and I understand how Alice and Bob are able to get a shared g^ab using both of their private keys. However, I am unsure about how this can be applied to passwords (strings). I assume you have to do something with the hex version of both the password and g^ab, but w...
I came across with cryptosystem whose decryption method is: $\ m = c^2 \bmod n $. It's exact opposite of Rabin's, where's the same formula is used for encryption. What is the name of this cryptosystem? How does the encryption function in this system work?
In Trapdoors for Lattices:Simpler, Tighter, Faster, Smaller, Micciancio and Peikert proposed a CCA-secure encryption. However, I am confused about the step in decryption algorithm (p.36 Lemma 6.2.). That is, $\mathbf{v}^t \begin{bmatrix} R \\I \end{bmatrix} = 2(\mathbf{s}^th(u)\mathbf{G}$ mod $q$) + encode(m) mod $2q$....
Lets say I have the following modified RSA scheme We choose two large primes P, Q, with additional restriction that these are relatively prime to (p-1) and (q-1) We choose N = PQ as public key We calculate $P'$ such that $P'P \bmod (Q-1) = 1$ and $Q'$ such that $Q'Q \bmod (P-1) = 1$ Encryption is $C = M^N \bmod N$ T...
I read about ElGamal from various resources and I was wondering if the following is true. Would appreciate if you could elaborate on it so I can understand better: Is it possible to construct, given an encrypted message $c_1=E(m)$, another encrypted ciphertext $c_2$ that will be decrypted to the same message without kn...
So I know that you can recover the state of a mersenne twister generator by observing a sequence which is long enough. I was wondering if you could be able to recover the actual seed value used or if an attempt would yield an equivalent at best? Also, closely related, let's say we use a 32-bit seed value. Does this me...
I'm considering an implementation of PRF $F:\{0,1\} \times \mathcal{K} \rightarrow \{0,1\}^{1024}$ with a key space $\mathcal{K}$ in particular with AES-128 in counter mode. Since output space is 1024 bit and one block size is 128 bit, we need to use 8 blocks to encrypt a counter and a nonce. The counter is incremente...
Can you please tell me what should be the quality of an encryption function using a key size of 256 bits... I realized from my previous question that a simple XOR of plaintext (256 bits) with a suitable key of same size is totally unsafe, as the key can be totally recovered by a simple known plaintext attack. I was t...
This is a form of the Kerberos protocol I have two questions. Why does this protocol give the opportunity of a known plain-text attack because of no authentication of Joe? And how would an attacker perform a known plain-text attack?
I am working on a project that requires encrypting messages with different ciphers. I am looking for the following ciphers: PRESENT, CLEFIA, LEA, Hill cipher, Affine cipher, Elliptic Curve Cryptography. In the past, I used AES from openssl UNIX utility which is pretty much standardized. I found some implementa...
Let's say I used this encryption schema: In words instead of images: Hash the encryption key with SHA256 Split it in half, first half use as XOR key for first 128 bit block of plaintext Hash the second half from previous step with SHA256 Carry the hash to point 2), rinse, repeat. What are potential problems/weakpoi...
Is there a pseudo RNG and function $f$ with 1.) The RNG produces a value $v_0$ out of $N$ different values (set $S$). 2.) Independent of the RNG the function $f$ generates $v_{i+1}=f(v_i)$ Requirements: $\bullet$ $v_{i+N} = v_i$ $\bullet$ $\forall i$: $\{v_{i+k}, 1\le k \le N\} = S$ $\bullet$ $v_{i+j} = f^j(v_i)$ so ...
In Elliptic Curve Digital Signature Algorithm (ECDSA) I often see 2 different written equations of it: Elliptic curve point multiplication by a scalar, $Q_{A}=d_{A}\times G$, source Modular exponentiation, $y:=g^{x}\mod p$, source Both methods work other than one is multiplication the other is exponent. Are there any...
If I have the plain text, the ciphertext and the key for an AES-128 CBC operation, can I determine the IV, even if I don't know the padding (assuming the padding follows one of the more common formats)? I believe it should be possible since my understanding is that the IV is only used as an initial XOR of the plain tex...
Assume we are designing a CSPRNG to be used in encryption like that used for ECC-based cryptography. Is it required that the seed always produces the same random number always? Or should it be designed to produce different numbers, making it even more secure?
I am struggling with these two cipher texts, I cannot identify which king of cipher was used. First: otnpeetrnneepeufofutisrtrllohcdmetoeheeatyngonrmrm And second: mvevgpwosytaeeisvcgofotbisfnoamtersmeslykuoakaypep
MPC is $f(E_1(a), E_2(b)) = c$, where $E$ is encryption by different keys $k_1$ and $k_2$. Homomorphic encryption is $f(E_1(a)) = E_1(c)$, where the input and output are encrypted. I want $f(E_1(a)) = c$, because I'm going to use $c$ but can't see $a$. One user will give me private inputs, I'll run a computation and ge...
To find possible key sizes for an encrypted message, I break the message into blocks with length s, blocks :: String -> Int -> [String] blocks s n = (take n s) : blocks (drop n s) n for each such partition find the average Hamming distance (normalised by the block's length) between any 2 of the blocks and find the k...
I recently started learning about Hash Functions for my first time, and I've gone through and have tried to understand the SHA1 process. Brilliant does an excellent job of explaining it step by step. https://brilliant.org/wiki/secure-hashing-algorithms/ As far as I've understood, hash functions are meant to be collisio...
I am exploring Keybase and I thought it was merely a wrapper for gpg and connecting its public key with social accounts (e.g. github, twitter, etc...). But after reading the very short and unclear post in https://keybase.io/blog/keybase-new-key-model it seems that Keybase now by default generates 2 key pairs (one is cu...
Is there a way to figure out what RSA padding type was used on signature during verification (when calling EVP_VerifyInit, EVP_VerifyUpdate and EVP_VerifyFinal) or is it a matter of convention which has to be known in advance?
I'm a high schooler who is interested in learning about post-quantum cryptography. I would like to read some papers of post-quantum public key algorithms, shortlisted by NIST: https://csrc.nist.gov/projects/post-quantum-cryptography/round-2-submissions. I have a basic understanding of abstract algebra, number theory,...
I asked a question yesterday about the Keybase key model and got no answers, unfortunately. Let me rephrase the question to make it clearer: in the case, if 2 users just want to send each other low-frequency e2e encrypted messages (e.g. files) via a 3rd party semi-trusted server over a secure channel i.e. TLS, using c...
Benaloh cryptosystem requires $\gcd(r, (q-1))=1$ which is impossible if $q>2$ (since it needs to be a large prime) and $r=2$. This confuses me, since Benaloh is referred to as an "extension" or "generalization" of Goldwasser-Micali cryptosystem, but even though they're extremely close, Benaloh doesn't seem to work at $...
What is the chances to forge a signature for the system implementing Rabin signature with total message recovery, if attacker posses the public key and have some message pairs? The last byte of message to be signed is freely changeable. The attacker doesn't have access to signing oracle.
For an OTP I need the 'best' random data I can acquire. Please check if my thinking for stacking PRNGs together in a pipeline can only make the output statistically better, never worse?! So take a hardware USB PRNG that uses some 'technique' to produce random data, the data may look pretty random - but we may never kno...
Again and again are we adviced to make good passwords: At least 12 chars, numbers, signs, upper and lowercase. But why is that really needed? I can see the need, if the system uses a hashing algorithm that can be implemented in ASIC, where an attacker can test trillions of combinations per second. But using scrypt, Arg...
I am trying to deal with Bulletproof. I can not find confirmation or refutation of the following assumption: Bulletproof cannot work without the random oracle, which is a necessary part of the protocol. Thanks in advance for your answers.
A story appeared on Forbes today claiming that we now have an absolutely unbreakable cipher. It cites a paper published in Nature Communications. However, I'm skeptical: But what if there were a method of enabling data to be sent using an "absolutely unbreakable" one-time communication technique? What if that techniqu...
Assume that I operate a user-facing online file syncing service that offers end-to-end encryption of large files, such that files are encrypted client-side first, then uploaded to the server for storage. Assume that at present, files are encrypted with AES-CBC. My question is, how is a such a service to safely facilita...
On the wiki page for HKDF, in the Python Implementation, there is a hash_length variable for the sha256 digest length, used in the hmac in the hmac_sha256 function. However, if I wanted to replace the hmac with a kmac, I would have to change the hmac(...) into kmac(...), where the underlying hash algorithm is the shake...
in LWE instance $b=A^t s +e$, can we find an orthogonal basis of coefficient matrix A in polynomial time, let it be B.Multiply B to get $Bb=Be$ as term with s will vanish. Then solve for $e$. After getting $e$, subtract from $b$ and get the equation without error. Solve for $s$. My doubt is, "Is finding orthogonal co...
I understand how hashing and encryption/decryption work at a very high level, where the functions work as a black box. Hashing scrambles the input in a non-uniquely reversible way, whereas encryption uses a key to scramble the input in a reversible way where it's highly unlikely that any other key could produce the sam...
I need cryptography advice regarding this issue. Kamus is a service that encrypts secrets for applications running on Kubernetes. When using AES (actually, Rijndael) symmetric encryption, Kamus uses a single key to encrypt the secrets for all apps. Let's say I want to create from the generic key, a key that is unique ...
I'm fairly entry-level crypto; not a cryptographer by any stretch... I am at the level of ability to implement most of the traditional packages in python; the hashlib hashes and EAS, ECDSA implementations, etc. And generally logically grasp what they're doing under the hood and when they're appropriate. I've come here ...
Imagine the following communication diagram: C1-----\ /--B1 C2------P---B2 ...----/ \--... We have multiple C(lients), call them C1, C2, etc. They connect to a single P(roxy), using the SNI extension of the TLS protocol. The proxy uses the SNI metadata to decide, to which backend (B1, B2, etc) the connections should b...
I'd like to encrypt a message using PGP keys, and elliptic curve cryptography as the method. In practice, using the Erlang :crypto module, but first, I'd like to wrap my head around how I would begin to go about this. Should I generate an ECC PGP key? Should I use my normal PGP key and sign using :crypto module using E...
When I read some articles about cryptography on wikipedia, I took note of the following statements (please, correct me, if any of these are wrong): Perfect S-box (based on bent functions) provides maximum possible security against linear (and differential?) cryptanalysis. The problem with using perfect S-boxes is that...
If Alice is going to share a symmetric encryption key and a kmac key with Bob using asymmetric encryption (sign with static key, encrypt with ephemeral keys - an authenticated KEM), what are the advantages and/or disadvantages of sending 2 random keys (signed, encrypted assymetrically), compared to sending 1 master key...
Design of efficient of block ciphers needs consideration of many factors such as register size. i found that some ciphers can be SIMD implemented such as TWINE , SM4 , chacha20 ,SPIX ,and others. What components in block (Feistel and SPN) and stream ciphers are tricky to be implemented in vectorizations? Does the Sb...
Let's say I have some sensitive information, and I want to encrypt it with a OTP and send it to the FBI or something. Now, in order for the recipient to successfully decrypt the message, he needs to know the OTP key as well. But, you don't just send the key as plain text to the recipient, this is fairly obvious since a...
Suppose I have a symmetric semantic-secure encryption system $\Pi = (Enc, Dec)$ and an OWF $f$. Now, define the following encryption scheme $\Pi^{'} = (Enc^{'}, Dec^{'})$ where , $Dec^{'} = Dec$ and $Enc^{'}(k, m) = Enc(k,m)\mathbin\|f(k)$ Is that encryption still secure? I already tried to formally prove this claim wi...
I am working in a project inspired in digital cash where we would like to use partially-blind signatures. This is so that the Bank signs a check with a hidden serial number (S), but a plainly visible denomination value (V). Because we may not wholly trust the signer (the Bank), we'd also like this to be threshold or mu...
Let talk about Implementation and performance analysis of Barkan, Biham and Keller’s attack on A5/2. In this paper, mentioned that we need to brute force attack on register 4 ($R_4$) to get keystream from below: $$HP^{-1}C=HP^{-1}K. \tag{1}$$ Where $HP^{-1}$ is parity check and $C$ is ciphertext and $K$ is keystre...
Newbie here. Not familiar with cryptography; just interested and reading up about it from time to time. We know that the RSA problem (let's say $c=m^e \bmod N, c^d= m \bmod N$) is about recovering $m$ given $N, c$ and $e$. However, if given $N, m, C$ and $e$ - can I recover $d$?
Break the RSA code whose key is $(n, e) = (8369428283, 1234567)$. Find the deciphering key and then decipher the message under the assumption that the plaintext consists of 7-letter blocks in the alphabet, converted to an integer between 0 and 26^(7) −1 in the usual way, and the ciphertext consists of 8-letter blocks ...
If two strings of equal length from random offsets in Pi were XORed together, would this result in a cryptographically secure random number suitable for use in a one-time pad? If so, would this mean that using a secure low-bandwidth channel, you could bass three digits (two offsets and a length) to provide an arbitrari...
I have read some oblivious transfer protocols, and I am confused about why they do not mention the malicious behavior that the corrupted sender may encrypt the wrong message $x_0'$ and $x_1'$ so that the honest receiver will receive the wrong result $x_\sigma'$. I think this totally breaks the correctness of OT and I d...
I am wondering whether the confusion and diffusion are quantified in any way when we examine hashing algorithms and, if so, how they are quantified and what units (if any) are used to represent them.
I am implementing a ECDH using Curve25519 to communicate two system. One system have library that use for weierstrass curve only, it can define with domain parameter like p, a, b, G_x, G_y. I have read and find that Curve25519 can converse to weierstrass, I can find that converse domain paramerter for Curve25519 here (...
So I recently learned about the concept of a One Time Pad; and I from what I understand it means that if a XOR key is completely random and equal to or longer than the plaintext, it makes it so that anyone trying to break the encryption would basically only be able to narrow it down to all appropriate possibilities fro...
I am not very familiar with RSA, so this question may appear to be stupid. Suppose that in RSA encryption, we are given $c$ (the ciphertext) and $N$ (the semi-prime modulus), can we find a pair of exponents such that $c^a \bmod N = c^b \bmod N$? This has nothing to do with decrypting RSA; I’m just curious whether it i...
I have encrypted plaintext with an RSA public key. It is stored in a database. This public key will be encrypted by another key with a different encryption algorithm. What does key rotation look like here? How would I rotate the keys that are directly encrypting the plaintext.
Does checking sig with DSA implies both that the sender is verified , and the msg is original without change of any bit? (case i dont have a reference HASH for that file, only public key)
I am implementing a cross platform AES cipher. Everything works fine except for super large file, those I encrypt by for example taking first 1kb of the file generating a cipher message (all chunks have same IV and password) then appending that part of the ciphered message to a new file. So to decrypt it we simply load...
I want to try to break an LCG generator just as programming practice task. I found similar issue at Cracking a linear congruential generator. Assume that m is given. The answer to the link above assumes that there are 3 consecutive output values given. Then it is just solving the resulting 2 linear equations. But what ...
In this paper secret sharing is to distribute information (the secret) over a set of participants such that the secret can only be reconstructed if certain authorized combinations of participants join their information. The set of authorized combinations is called the access structure. Formally, the secret is modeled a...
I saw a little close to these questions but not exactly. Encryption method AES-256-Rijndael-CBC: if we have multiple cipher chunks that look like this: {iv}{cipheredchunk}{chiphered chunk}{chiphered chunk}.... I earlier got noted that we should never use the same IV for other chunks since chunks could be identical, so ...
I know that WEP uses stream cipher encryption. The key stream = RC4(IV, K). My question is: The shared symmetric key is the same for all users? Or each user has it's own symmetric key. Also, how can a user get this key?
Why does SSH authentication protocol choose to have the server with the public key send a challenge message encrypted with this public key of the client instead of having the client send a message signed with it's private key along with client ID and have the server verify the signature? Wouldn't verifying the signatur...
As a developer when it comes to encryption, there is an insane amount of weakness/mistakes/bugs that the programmer can add to the encryption algorithm. So a pretty general question to the crypto pro’s, do you guys have maybe a checklist/test cases that you go through after implementing AES-Rijndael-CBC into any applic...
I have a hidden function $f(x) = x \pmod{n}$ and would like to solve for $n$ based on a set of input and output pairs which can be chosen freely. I would like to do this without brute force (i.e. start at $x_0=1$ and iterate $x_{i+1}=x_i+1$ until $f(x_i)=0$). So far I have observed that if I expand $x=an+b$, then by su...