instruction stringlengths 32 27.2k |
|---|
In RSA proof it can be proved that $\mathbb{Z}^*_n$ is closed under multiplication. Can it be also proved that $\mathbb{Z}_n$ is closed under multiplication? If yes, then how?
|
Given the RSA modulus $N$ the fastest method to factor it is of sub-exponent order. But, now if I know the private key $d$ of RSA, does that mean I can factor $N$ efficiently?. It intuitively seems true as I know the public/private key pair. Can someone help me to prove this?
Please provide references so that I can rea... |
Still trying to design a fully binary cryptography container format for my mobile app, I am here asking if container is ever relevant.
Thanks to Apple, I cannot use GPG directly because I can neither call GPG through GPGME (fork(2) is not allowed) nor embed it (license conflicts)
The container format is simple ar(1) fo... |
Continued from Is there a flaw in this ECC blind signature scheme?
The problem
I needed a partially blind signature scheme for one of my projects, but couldn't find one on the internet, so I've made one (I think).
Is there anyone who can verify my results
Actors
Alice (signer, i.e. bank)
Bob (requester, i.e. payer)
Bi... |
From Wikipedia:
(1) Alice → Bob : g^x
(2) Alice ← Bob : g^y, E_K(S_B(g^y, g^x))
(3) Alice → Bob : E_K(S_A(g^x, g^y))
I know there should be something I'm missing, but I cannot think of why E_K(...) is used. Isn't the signature sufficient? Even if there was a MITM, having S_B(...) or S_A(...) isn't very useful. What am... |
I have read the post Why should I use Authenticated Encryption instead of just encryption? When is it safe to not use authenticated encryption?
I assumed hard drive volume encryption or per file encryption that is not transmitted over an insecure network should be considered safe to do without a MAC. Is that right?
The... |
The "new" kind of ransomware invade your computer and crypt all your files using the RSA-2048.
Personally, I have been victim of cryptodefense: 40000 files encrypted...
I'm not going to pay anything to this &? but this is a big loss. I have a lot of files in both form: crypted and uncrypted (backup from 2011...)
Is the... |
Given a secret $K \bmod q$ which is shared among entities $E_1,…,E_n$ using polynomial Shamir's Secret Sharing, how can the inverse of $k$ be shared without revealing $k$ and $k^{-1}$?
|
After reading many papers about group signature schemes, I saw that basically all of them employ the possibility of "signature opening": The Group Manager (GM) can identify any signature made by his group's members. But I would like to completely eradicate that feature and rather revoke group members by their public ke... |
As I understand, when you want to send a confidential message to someone, you encrypt the message with his public key. And he use his private key to decrypt the message.
At the same time, one can use his private key to sign a message, and other people use his public key to verify that it's him who sign it.
How the math... |
Suppose we have a one-way function F(x) that exhibits the property F(a + b) = F(a) + F(b). Such a function could be used as a cryptographic primitive, no?
|
In the ElGamal cryptosystem, I was wondering whether the $m$ (message) should be less than $p$ (large prime). Because on decryption, we are getting $m \bmod p$. For $m \bmod p$ to be equal to $m$, shouldn't $m$ be less than $p$? So what should be the size of $p$? Should it be a very very large prime number if I need to... |
Is it considered bad practice to use the same N and q parameters for all users in an SRP-6A based authentication system?
I know that q MUST be a Sophie Germain prime and N a safe prime, but can they be generated ahead of time and be somewhat fixed / hardcoded in the client and server? Or should I generate a fresh pair ... |
I already found a protocol to find out who is richer (older) between two parties, but Is there any protocol to find the youngest person among 3 parties, without revealing actual ages?
|
How can one model a random oracle hash function which maps $\mathbb{G}_1 \rightarrow \mathbb{G}_2$?
(Assume $\mathbb{G}_1$ and $\mathbb{G}_2 $ to be additive and multiplicative groups of prime order $q$.)
Normally, for a hash $H: \mathbb{G}_1 \rightarrow \mathbb{G}_1$, we would model it as something like as follows
pi... |
Consider the Triple DES encryption calculated as:
$$C= E_{K_1}(D_{K_2}(E_{K_1}(P))).$$
For a chosen plaintext attack, given plaintext $P$, we compute the result of $D_{K_2}(E_{K_1}(P))$ and store it as a table of length $2^{112}$, then decrypt the cipertext $C$ using $2^{56}$ possible $K_1$. I think we also have a mee... |
Quoting part of my homework/assignment:
How many keys are required for secure communication among 1000 person if:
Symmetric key encryption algorithm is used?
Asymmetric key encryption algorithm is used?
My guess:
For symmetric they each need to maintain and transfer their own key, so probably $1000 \times 1000$, a... |
I know that the private and public key in asymmetric cryptography are different and the public is used for encryption while the private for decryption. My question is if they are symmetrical to each other in a mathematical way? They must be because the one is inverting what is done by the other.
|
I just migrated CodesInChaos' C# port of Ed25519(ref10) to Java, and everything works fine. (I.e. I get the same results for key generation, signature and verification.)
Now, I would like to do a Diffie-Hellman key exchange directly on Ed25519. Therefore I am examining the functions for point addition, doubling and mul... |
I could not find any mention on the Internet of a proven/known cryptographically secure keyed rolling hash function (ie rolling MAC). Has the question been studied, is it possible to build one ?
By cryptographically secure I mean properties equivalent to HMAC with a cryptographic hash function :
without knowing the ke... |
Suppose that $N=pq$ where $p$ and $q$ are safe primes. $\mathbb{QR}_N$ is the group of quadratic residues which is a cyclic group with order $\frac{\phi(N)}{4}$. Let $g$ be the generator of $\mathbb{QR}_N$.
The computational Diffie-Hellman problem is defined as : given $U=g^u\in\mathbb{QR}_N$ and $V=g^v\in\mathbb{QR}_N... |
So the other day, I was piqued by a ciphertext that was trivially encoded through substitution. Solvable only because we can use our eyes to determine word boundary word detection, etc. Trawling the net, there didn't seem to be any automated way of doing this, other than of course to generate a key the size of the alph... |
I was reading the paper Fully Homomorphic Encryption over the Integers, and started
wondering if there is a known quantum attack on their main scheme, because
There is an efficient quantum attack on their "even slightly simpler scheme", as follows:
completely factor $x_{\hspace{.025 in}0}$,
for each [product of a ve... |
I am currently using the ElGamalEngine of bouncy castle to implement exponential ElGamal for the purpose of making ElGamal additively homomorphic. To do this i raise the message to be encrypted to the generator g and modulo it with the group parameter p, like this:
private BigInteger g;
private BigInteger p;
public Bi... |
We know there is a man in the middle vulnerability with unauthenticated DH key establishment. And the way to negate that is to use authenticate the keys used. But what if I only verify the signature of one end. Is there any vulnerability then?
EDIT: To be clear, I am not referring to the fact that the authenticated par... |
I have ten piece of ciphered texts. I know that they ciphered with a same-length key. Any idea how I can decrypt the ciphertexts? What kind of algorithms should I use? What are the points of taking care of 'XORing' these texts with each other and space character?
(text ciphered with the asymmetric key)
should we use th... |
I want to:
Encrypt my whole HDD with a keyfile and a password (meaning that both are required to decrypt it),
Be able to back up pieces of the keyfile in several distant locations using Secret Sharing,
Be able to change the password often and easily.
Notes:
The keyfile is made of 4096 random bits and is done using d... |
Let's say that we have a cryptosystem where Forward Secrecy and Man-In-The-Middle attacks are not an issue, purely hypothetically.
Would it be correct for a key exchange with any given public-key algorithm to simply work as follows?
Alice calculates public & private key
Alice sends the public key to Bob (and Eve inter... |
I read about Asymmetric key cryptography like EG-ECC , RSA, ECDH. I understand the concept of mathematics to these algorithms. But I have wondered about the public key for sender and private key for recipient. In other words,
Any other user who wants to send an encrypted message can get the intended recipient's public ... |
In Merkle Signature, it also requires one-time signature to be used once for a message. The signature in Merkle scheme is even longer compared to Lamport one time signature. The verifier also has more work to do.
Hence, what is the advantages of Merkle compared the one-time (Lamport) signature?
|
So far as I can find, every method better at producing hash collisions in cryptographic hashes than generic collision search involves finding some metric for the distance between two messages' hashes and calculating alterations to each that will iteratively reduce that distance.
And further, unless I'm misreading it, n... |
If the public key $(e,n)$ and the private key $(d,n)$ are known, what is the easiest way to find the primes $p$ and $q$?
When $n$ and $\phi(n)$ are given this is easy to solve. But I can't manage it given just $(e,d,n)$.
Thanks for any help.
|
I’ve looked around this site and the web quite a bit, but can’t find a definitive answer on whether or not the secret key $k$ used in the AES crypto-system has to be a prime number? Or can you just use any random values for the $128,192$ or $256$ bit long keys?
As a personal educational exercise, I’m working on my own ... |
If the decrypting key is 448, then what is the key size? Suppose I am encrypting a plain text with a key by choosing some random numbers between 0 to 1000 then how I can calculate the key size?
|
Is it possible to figure out what $arg1 is if I know both $arg2 and $arg3 in addition to $hash?
$hash = hash('sha512', $arg1 . $arg2 . $arg3);
|
I have read numerous times that the RC4 cipher itself is considered broken in TLS. Still many websites are using the TLS_RSA_WITH_RC4_128_SHA configuration even to date.
Now, I know that sometimes different uses of a cipher mitigate different attack scenarios, so my question is straightforward: Is this particular ciphe... |
Recently, I have surveyed a few research papers related to roaming authentication protocol for wireless networks. For example: “Efficient Privacy-Preserving Authentication in Wireless Mobile Networks” by Hyo Jin Jo, Jung Ha Paik, and Dong Hoon Lee and “Secure and Efficient Handover authentication Based on Bilinear Pair... |
Use case: I have a random number generator that can generate random numbers in a range that is limited by a number $x$, say $x$ ranges from $2$ to $2^{(n - 1)} - 1$ exclusive. In this case $n$ is $16$, i.e. we can generate a number from $0$ to $32767$ exclusive. Programmers will directly identify the upper bound to be ... |
I have a little confusion in understanding explanation of SHA256 by FIPS
a, b, c, d, e, f, g, h
are being initialized as (this is what i don't understand)
2 . Initialize the eight working variables, $a,b,c,d,e,f,g,$ and $h$, with the $(i-1)^{st}$ hash value:
$\ \ \ \ a = H_0^{(i-1)}$
$\ \ \ \ b = H_1^{(i-1)}$
$\... |
I was looking the answer to the following question (Timing attack on modular exponentiation), discussing the Private Key Blinding as a countermeasure for timing attacks.
Therefore I'm asking if someone could point me to a reference for the presented algorithm and if there are other alternatives to implement Key Blindin... |
Vigenère's weakness is Kasiski's test and index of coincidence. However, if you put columnar transposition on top of Vigenère, that weakness is gone. The text is now shuffled and you can't search for digrams/trigrams, because they will give you wrong key length pattern.
You also can't solve Columnar Transposition. For... |
I'm looking into "bitcoin like" mining processes. Say a security process uses a hash of data as proof that the data was known at some point in time.
From what I understand, hash functions are pseudorandomly generated based on the initial seed (the raw data).
If the hash function is chaotic, then the seed data should ... |
I am implementing ring signatures as a part of an authorization system. Since the number of users could get high enough to make computation on end-user devices infeasible, I am thinking of "subgrouping" them.
My idea is the following:
There are $n$ users and there is an untrusted third party, the server $S$ which regul... |
On page 21 of the Rivest's Cryptology chapter, he defines a trapdoor predicate as a boolean function for which it is easy to choose an x such that B(x) = v, but hard for an adversary to compute B(x) given x, without the trapdoor information.
He goes on to say that Alice's public key contains a description of B.
What ... |
For our privacy-preserving protocol, an encrypted channel is established. In order to protect our system from man-in-the-middle attacks, a signature-based approach is used. After we've implemented it with RSA, we decided to optimize the protocol a bit by using ECDSA. The result was very surprising: on Android, signing ... |
I've encountered this term many times in the fields of Fully-Homomorphic Encryption and Obfuscation.
I want to learn those subjects and Cryptographic Linear Maps seems to be an obstacle in the way.
Can you help me with that and explain it in simple words (as much as you can)?
|
RSA primes are 100 bit. You know first 80 bits of one of the primes. In this system, come up with an efficient way to decrypt the cipher-text.
This was the question on my quiz. I'm not sure how to go about it. Any hints?
|
I'm a pentester and currently analysing a web application which are using some strange encryption scheme.
The point is: They encrypt using AES-128, generate a (not cryptographic secure) key and use this as encryption key AND initialization vector.
I'm not a crypto expert, but I know that this is bad (aside of the insec... |
While educating my self I'm having hard time to understand what an 128 bit AES key actually means?
Is it a key length or entropy?
Please explain to me trough following example (assuming AES):
Password length in characters (L) = 20 (characters)
Symbols used (N) = 95 (ASCII set)
Entropy = log2 (N^L) = 128 (is this what ... |
Hashcash is a proof-of-work system in which the Sender needs to find $Y$ such as the first (let's say 20) bits of $H(X+Y)$ are zeros where $H$ is a one-way hash function, $X$ is a fixed value and $+$ means concatenation.
The Sender starts with an initial random number $Y$. It then computes the hash of $X+Y$. If the fi... |
I know that the public exponent is always a prime, but what about the private exponent? Is it always a prime too?
|
Given, say, the Blowfish block cipher, which is considered secure but only has a 64-bit block size, can we construct a secure block cipher of 128-bit block size?
Say we run the key through two KDFs, and encrypt the first half of the block with the first key, and the second half of the block with the second key. This se... |
Am not a mathematician.
Every crypto specification I see uses the modulo operation. For example RSA -
If $e$ is the public key and $m$ is the plaintext with a modulus $n$ - the cipher text is $c = m^{e} \bmod n$
Why is this $\bmod\ n$ there? By definition isn't the modulo operation introduces an uncertainty? I mean ... |
Wikipedia claims that the best attack on the surprisingly simple TEA block cipher, that isn't a related-key attack, has a time complexity of $2^{121.5}$.
So despite how unsophisticated the cipher looks, if I use a KDF properly and don't use related keys, TEA is secure?
|
I understand that RSA encryption uses this formula:
C = M^e (mod N)
public key is e and N
N is pq - p and q are private key.
mod N makes above function one-way - ie cannot be reversed. Hence given C, e and N, it is not possible (easily) to find M.
Basic idea is that modulo arithmetic on an exponent is a one way funct... |
For information theoretic security in Shamir's [m,m] secret sharing scheme, do i need both authentic and confidential channels?
Another related query is ;is it true that if the channels are only authentic; then the Shamir's [m,m] secret sharing scheme is only computationally secure?
If confidential channels are build ... |
Is there a known way to reduce the space complexity of quantum collision search (PDF) beyond what is offered by the built-in time-space tradeoff, while keeping the time complexity significantly below what is achieved by the classical Pollard's rho method?
|
I am trying to read up on the math behind DH and ran into the word generator used a lot. I am not sure what it means. Can someone explain?
I see this question where the OP talks about g as the generator. The accepted answer does not make me understand what a generator is. I always thought g is just a large prime in gr... |
I can see many xor and rotation operations in cryptography. I just want to make some algorithms fast. So, I'm looking for a way to combine between xor rotation operations. I don't know if it is possible or not.
R3(A) xor R4(B) = A * B (R3,R4 means left rotate shift by 3 bits and 4 bits)
I'm looking for *. Is there any... |
scrypt takes a salt, and a password plus some cost paramters to generate a key. So say we define it as this:
key = scrypt(password, salt, cost)
I am interested in using it for generating passwords deterministically. E.g. to create a password for amazon or apple I would so something like:
amazonpassword = base64(scrypt... |
Given the sequence 0010001111 (or any other, not homework, but exam practice), how do you use the Berlekamp-Massey algorithm to construct a minimal LFSR?
I have read several definitions of how Berlekamp-Massey works, but I'm missing some simple example that actually demonstrates the algorithm in use.
Trying to use the ... |
For clarification: The Pseudo-Hadamard transformation is a reversible transformation of a bit string that provides cryptographic diffusion.
Splitting a bit string (with bit length of $2n$) into two equally large bit strings $a$ and $b$ with size $n$:
\begin{align}
a' &= a + b & \pmod{2^n}\\
b' &= a + 2b& \pmod{2^n}
\e... |
I am new to cryptography. During my learning I am facing a problem with S-DES. I am confused where P10 to P8 come from, and I’m confused about the processing of this algorithm. Does anyone have any good article/paper/reference which enables me to understand how to solve it easily?
I am reading following example but get... |
I have some encrypted binary data I want to decrypt. I know nothing about it, but I can get it encrypted with as many different (random, unknown) symmetric keys as I want. The keys are long enough to not get repeated. Something like this:
$A_1 = Data ⊕ Key_1\\
A_2 = Data ⊕ Key_2\\
A_3 = Data ⊕ Key_3\\
…\\
A_n = Data ⊕ ... |
In the PDF “Algebraic Construction of 16×16 Binary Matrices of Branch Number 7 with One Fixed Point”, it was given that:
Matrix 1h = 1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
Matrix 2h = 0 0 0 1
1 0 0 1
0 1 0 0
0 0 1 0
Matrix 4h = 0 0 1 0
0... |
Since I'm unfamiliar with cryptography area I haven't been able to find cryptographic hash functions for 32 bit integer keys. It seems all such functions (as I saw here) are designed to digest a stream having hundreds of bytes. What I need is a cryptographic hash function that receives a 32-bit length key, and – prefer... |
When I configure a Yubikey slot as static, it's not documented or obvious how the static password yielded by a press relates to the AES key I set. For example:
me@mine:~$ ykpersonalize -1 -ostatic-ticket -ofixed=cccccccccccc -a00000000000000000000000000000000
Firmware version 2.3.3 Touch level 1795 Progra... |
If – when using AES in CTR mode – you decide to use the setup where you combine the IV and the block count value into a single value, as suggested here, the first 12 bytes are your IV and the last 4 bytes the block counter value. But what exactly do you do with block count value in terms of storage and subsequent decry... |
I am developing a software in which I am using AES for encrypting messages shared in a group. The key is generated by one user, the admin of the group and needs to be shared with other members. How can I share this key with all other members of the group securely?
Are protocols like Needham-Schroeder, Diffie-Hellman a... |
I'm reading Cryptanalysis of the SIMON Family of Block Ciphers. In Section 3.1, it says:
For SIMON, consider an n-bit input difference $\alpha= x\oplus x'$ to $F$ of Hamming weight one. As the operation $\oplus$ is invariant with respect to rotation, say w.l.o.g. that $\alpha= (0...01)$
I understand that the operat... |
Is there any way to hide message length from adversary in symmetric key cryptography?
Suppose we want to hide message length from active and efficient adversaries.
|
I am hoping to employ a signed set membership system which is valid iff each signer's contribution to the set is present. The system should allow for two or more mutually exclusive signed sets to be merged into a new signed set without requiring new signatures. Also, unless the set has a single signer, it should be i... |
I read about elgamal algorithm it work like the follow steps
Bashir chooses a large random prime p and a primitive root α modulo p.
Bashir then chooses a random integer a with 2 ≤ a < p - 1 and computes α^a mod p.
Bashir’s public key is (p,α,α^a) and his private session key is a.
Enciphering stage consists of the fo... |
The XOR operator seems to be a frequently used building block inside many cryptographic primitives. As far as I can see, its most desirable properties seem be that for the XOR of two bits $a\oplus b=c$:
The information is preserved. Either $a$ or $b$ can be recovered from $c$ and the other bit.
The information is hi... |
I've already read this:
Is it feasible to build a stream cipher from a cryptographic hash function?
However, my proposed construction differs…
Suppose the hash generates N bits. These bits are split into two parts:
$S$ bits are kept secret,
$X$ bits are used for the encryption, xor'ing the bytes the usual way
$S + X... |
In theory, does a piece of data exist which, when encrypted (using any method) with a given key, makes some sense when decrypted with the wrong key?
Here, a definition of "some sense" might be something like "when interpreted as ASCII character codes, the data forms a series of mostly correctly spelled English words".... |
Ed25519 signatures consist of $(R, s)$, where $s = r + H(RAM)a$ $mod$ $l$, and $R = rB$. This differs from the Schnorr signature where instead of $R$, the signature contains the hash $h=H(RAM)$. According to the Elligator paper (page 5) "one can reconstruct $(h, s)$ from $(R, s)$ and vice versa".
I see that $(R, s) => ... |
I need to convert a hard knapsack to a superincreasing knapsack.
I have these superincreasing values (3,6,11,22,43,87).
I also have w = 7 and n = 173.
I converted the superincreasing values to hard one (21,42,77,154,128,90)
by computing $a_i = x_i * w \bmod{n}$.
(3 * 7) mod 173 = 21
(6 * 7) mod 173 = 42
(11 * 7) mod 1... |
I hope my question isn't as lazy as the title indicates. What I want to ask is how people literally integrate a PRNG with encrypting material.
I wrote a silly little script in Python a while back that took a 9 digit seed, then produced a list of 'random' numbers using a linear congruential generator. That was cool and ... |
Im trying to figure out why $\delta$ in the signature part of ElGamal has mod $p-1$ when $\gamma$ has mod $p$?
$\gamma = \alpha^k \mod p$
$\delta = (x-a\gamma)k^{-1} \mod p-1$
|
This recent new curve mentions something that's new to me: twist security.
http://safecurves.cr.yp.to/bada55.html
Are the existing C25519/Ed25519 curves secure against this form of attack?
|
Do you gain any advantage by knowing the factorization of $M$ (over just knowing $M$ itself) in the Blum Blum Shub generator?
The only advantage I see is being able to calculate the $i$-th number directly, as opposed to iterating to it. This doesn't seem like a very large gain to me.
|
I would like to use the NaCl cryptography library (or TweetNaCl), but I would very much like to have perfect forward secrecy for my application.
From what I understand, all Bob needs to to decrypt a message from Alice with NaCl's crypto_box_open is the public key of Alice and his private key. Thus, if an eavesdropping ... |
I am struck with the following problem:
Let Alice, Bob, Chris and Eve communicate over a public network. They encrypt all messages they send using RSA system. Bob and Chris have the RSA modulus $n_B$ and $n_C$ respectively with $n_B$ = $n_C$ But different public encryption exponents: $e_B \neq e_C$. Suppose $\gcd(e_B,... |
Imagine Alice wants to encrypt for Bob and post this encryption publicly, so that only Bob can decrypt but no one can other than Alice or Bob tell that the message was encrypted for Bob.
The naive approach leaks some information. If Alice posts $y = x^e \bmod{n}$, then an observer can conclude that the recipient has a... |
I'm trying to use the Berlekamp-Massey algorithm on the following bit sequence:
0 1 0 0 1 0 0 1 0 1
I have the correct answer and most of the approach to get there, but I'm unable to fill in what I don't have, in other words I don't understand how it works.
I create a table, written horizontally here just for convenien... |
I'm currently working through Katz & Lindell's Introduction to Modern Cryptography. In section 3.4.2, they introduce the definition of a variable output-length pseudorandom generator $G$. The definition of $G(s,1^l)$ is such that the output is of length $l$.
Using such a psuedo-random generator, they define a variable-... |
I'm writing a simple encryption/decryption library which has the following requirements:
For key derivation functions, support:
$SHA256 \rightarrow bcrypt$ (since $bcrypt$ limits input passphrase length, hash it using SHA-256 first, then feed output of SHA-256 into bcrypt)
$PBKDF2$
For key derivation functions, allo... |
Background
When making web applications you sometimes need to pass data along with the form which isn't visible to the user. Database IDs are the most common, but texts and IDs are sometimes necessary too. For this reason there is a <hidden> field in HTML, but it has a drawback - any hacker with a basic understanding o... |
Imagine a tagging system whose security requirements imply to learn nothing from the tag about the encoded value.
We consider a plaintext space $X \in \mathbb{Z}_p$ and a group $\mathbb{G}$ where the DLP is computationally hard.
The sender sends $\sf{tag_1}=g^x_i$ where $g$ is a generator of $\mathbb{G}$. This is not... |
When transfering data using TLS the browser and server agree the cipher suite to be used - so for example this could be chosen as AES-128 and is (probably) outside of my control. If I separately encrypt a file using AES-256 and then Alice downloads this via her browser (using AES 128) have I still effectively got AES-2... |
The main motivation for Oblivious RAM (ORAM) is that, for instance, in the "cloud" setting a client outsources his data to a server in the form of encrypted blocks. Later on, he wants to perform read and write operation on these encrypted blocks, which apparently may leak information about what data is stored. ORAM now... |
I'm supposed to prove that OTP without the zero key $k=0^n$ is not perfectly secret anymore. I understand that it's not because an attacker learns something by looking at the plaintext and ciphertext. But I don't know how to prove it formally.
I was thinking about using Shannon. But to do so $|K|$ needs to be equal to ... |
I'm wondering, in Shamir secret sharing, can generator of the shares, keep the x values which are used in evaluating the polynomial to obtain y values (i.e., the shares) secret, and whenever the original secret is needed, he retrieves the t shares and reconstructs the secret? In this setting the share holders should no... |
Im working on my own AES implementation as a personal educational exercise (not for production use), and a book im using as a resource states:
In the case of CTR, we are merely XORing the output of the cipher
against the plaintext. This means there is no inherit reason why the
plaintext has to be a multiple of th... |
What is the best way to use standard AES with a 128-bit block size to act as a 256-bit block cipher? I am aware of CMC and EME which seem to serve this purpose, but they seem to be more complicated than necessary for the 256-bit block case. (I would like to avoid relying on the uniqueness of a nonce.)
Is the followin... |
I'm supposed to show the complement property of DES ($c=DES(p,k) => \bar c = DES(\bar p, \bar k)$).
My idea was to just start the algorithm with $\bar p$ and see what happens (ignoring the initial permutation for now). I looked at it step by step and got the the point where $R1 = \bar L1 \oplus f(\bar k1, \bar R0)$. So... |
Suppose I have devices which broadcast, on an insecure channel, 32-bit addresses.
I want to make these devices untraceable - one way to do so is to allocate for each device a distinct subset of address, for example $X=256$ addresses for each device with no repetitions, and make each device change its address from time ... |
Say I have a string that I want to keep hidden. You can then enter a known string which is added to the end of the hidden string and you are given the sha256 hash of the combined string. If you were to do this many times with whatever strings you wanted and the hidden string remained fixed, would there be a practical w... |
I am very new to concepts of cryptography so bear with me and feel free to fill in any information that may seem obvious but something you think someone may not know.
At first I was under impression that people use checksums to determine if files are legit or not. Which didn't make sense for obvious reasons… for exampl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.