instruction stringlengths 32 27.2k |
|---|
It doesn't need to be crazy secure. I wanted to figure out if there's a popular practice when encrypting a short phrase (less than 32 letter long) into two keys (two strings 32 length). Doesn't need to be complicated. It's for a hobby project.
For example:
Key 1: JFHEL1J2J1KD1FK4J4K3LA5D7EKSJX323
Key 2: 1HFK6SJDHG2JEK3... |
Is there any possible way to filter a key space in a crypto-system to get a set of keys that decrypts out a valid text (text that is in same language or readable)?
I tried a random approach and got certain set of keys but its not that appreciative to actually required text size
code
from Crypto.Cipher import ARC4
impo... |
After some digging around in the HMAC spec I found this (paraphrased):
Step 1: If the length of Key equals the block size of the hash
function (512 bits/64 Bytes for SHA-256), set the key equal to the
key. Go straight to step 4.
Step 2: If the length of key is greater than the block size of hash
function, hash t... |
I'm trying to crack a cypher that I believe is Vigenère encrypted and I'm currently stuck.
I calculated the key length by finding repeated sequences in the cypher and calculating the the common factors.
Word distance factors
agzd 16 2,4,8,16
zna 92 2,4,23,46,92
zdc 54 2,3,6,9,18,2... |
I want to pre-compute the result for all possible ciphertext of a homomorphic encryption. Is it acheivable?
Is there a fully homomorphic encryption scheme that has the same size of plaintext space and ciphertext space?
|
I would like to know if there is an algorithm to generate a RSA key at the state of the art of the present cryptanalysis.
Beside the key lenght I know there are some weakness in the choice of prime numbers that could help an attacker to factor the modulus $N$.
The standard key generation, as far as I know, generate a r... |
I am looking for a method of making random numbers that is off-line and is also independent of specialist equipment like a Geiger counter.
|
Can we do frequency analysis of transposition ciphers?
If yes, please tell me the procedure and I would be happy if you provide me with some links related to it.
I heard that it can be done using bi-gram frequency.
I did it for substitution ciphers but am unable to do it for transposition ciphers.
|
I am facing this problem in calculating the order of a process which involves ECC point addition: $P+Q$ , scalar multiplication: $aP$, and selecting random points in the group. The group is of prime order say $q$.
What is the time complexity order of these operations? Is it $O(n)$, $O(log(n))$ or something different?
|
Suppose there are two elements $a = g^x$ and $b = h^x$, where $g$ and $h$ are generators in $Z^*_p$ and $p$ is a large prime. How can we prove that $a$ and $b$ have the same discrete logarithms with respect to $g$ and $h$ respectively without leaking the knowledge of $x$?
|
There are many cases in maths where doing the same thing over and over again will bring you closer to a value. Derivation of polynomials is the striking example: no matter what you start with, you end up with 0. In a series expansion, the longer you continue the sequence the closer you get to the real value.
This conce... |
I have the following question about TLS security:
Assume TLS-PSK protected HTTP with AES256-CBC cipher.
When a TLS connection is established, client sends some encrypted data, where the
plaintext is well known to an attacker.
For example, it can be a HTTP request, like:
GET /some_resource HTTP/1.1
...
Can an attacke... |
I am trying to figure out this question:
Generalize the Merkle–Damgård construction for any compression function that compresses by at least one bit . You should refer to a general
input length $£'$ and general output length $E$ (with $£' > E$).
It is in my understanding that the Merkle–Damgård takes an input of $... |
I'm tasked to apply tiger encryption to my string(key). Does anyone have any idea how to find the entropy of the hex output by tiger encryption?
|
On my exam, we had to solve this problem:
message matrix is: [20, 19, 14; 17, 0 10]
and the ciphertext matrix is: [18, 15, 16; 3, 24, 24].
Find key matrix.
I couldn't solve this problem, because I tried to find key matrix by multiplying
[20, 19, 14; 17, 0 10]^-1 and [18, 15, 16; 3, 24, 24], but I wasn't able to ... |
Classic Feistel Networks and various types of FN's are sequential in nature. [1]has a good overview of different types. But is there a way we can do Feistel Networks in parallel and achieve good security bounds ?
Hoang, Viet Tung, and Phillip Rogaway. "On generalized Feistel
networks." Advances in Cryptology–CRYPTO 20... |
It would be possible to implement the HMAC construction with (draft) SHA-3, leading to HMAC-SHA3-224, HMAC-SHA3-256, HMAC-SHA3-384, HMAC-SHA3-512 (the last 3 digits are the output size $\ell$, where $\ell/8$ is the $L$ parameter in HMAC). All that's missing to apply the familiar
$$\text{HMAC}_K(\text{message})=H(K\oplu... |
I am setting up a Python program to encipher messages on the following basis:
-from my password, generate 32-byte key from SHA256(password)
-generate a 16-byte IV from a PRNG
-measure the length of the plaintext and express as 2 bytes (my plaintext will be shorter than 2^16 characters)
-pad the plaintext to be a multip... |
Pls I need explanation on How i can design a Cryptography that use multiple passwords or passphrase to open a safe(Lock). For example, if i need five people to unlock a secured device whereby all the five need to enter their individual password before the device can be opened.
Please how can this be done? I don't have ... |
I've seen that encrypting an image with AES-CBC then calculating the HMAC-MD5 value for authentication is a somewhat common and sound way to secure data. Alternatively, can I just calculate the CRC of the data, and then encrypt the data+CRC with AES-CBC?
I am concerned about a ciphertext-only attack modifying the data... |
I have taken a course in my undergraduate on the theory part of abstract algebra.Now am interested to know how can abstract algebra be applied to cryptography.Thanks
|
Let's say we have a timestamping scheme of the following characteristics,
The hashes of the documents we are trying to timestamp are XOR'ed with "events" whose time of occurrence are very publicly known (i.e. the hash of the latest block on the blockchain),
$$M_{i}=(H_{D_{i}} \oplus B_{t_{i}})$$
Where,
$M_{i} =$ the ... |
What is/are difference/s between leveled Fully Homomorphic Encryption
and normal Fully Homomorphic Encryption?
|
The bilinear map in Identity-based encryption should satisfy $e(aP,bQ)=e(P,Q)^{a\cdot b}$ whereas Attribute-based encryption schemes use $e(P^a,Q^a)=e(P,Q)^{a\cdot b}$ with $a,b\in\mathbb{Z}_p$ and $e:\mathbb{G}_1\times\mathbb{G}_2\rightarrow\mathbb{G}_T$.
Why are they different and are there reasons to prefer one over... |
Do we have any library or any mechanism where we can use true 7 byte key for DES instead of 8 byte key. I need it for keys analysis in DES and 8 byte key requirement for associated library is creating problem in getting actual keys analysis.
|
Perhaps, this is a really obvious question, but I am still having trouble understanding how this all fits together. Why is knowing the number of points on an Elliptic Curve helpful in cracking it?
Because it can help factor $n$ (as in “mod $n$”) if it's composite? Is it because knowing the order of different points is ... |
Can Skein be used as a secure MAC in format H(k || m)?
I understand it can work with HMAC, but it is fine as a one-pass MAC in the format above and resists length extension attacks. Is this assumption correct?
One of the Skein authors mentions that Skein has another MAC construction with a security proof in their paper... |
I have three quick questions concerning the reduction of the scheme to the approximate gcd problem:
What exactly do the authors mean by $q_p(z_1')$ being the odd part of the gcd? (last line of step 3)
In step 4 (recovering p): Where does the $\pi^2/6$ come from? I'm guessing it has something to do with prime distribut... |
The question is as per the subject line. Does the fundamental theorem of arithmetic imply (prove?) that if I multiply two primes, then those two primes are the only factors of the product? I.e. 17 x 23 = 391 and the only factors of 391 are 17 and 23. I have searched, but can't find an answer to this precise question.
|
I was wondering if a group like the 1536-bit MODP Group from RFC 3526 was a
Schnorr group?
A Schnorr group must apparently have:
$p$ and $q$ being primes
$p = q\cdot r+1$
$1 < h < p$
$h^r\not\equiv 1\pmod p$
And then $g = h^r\bmod p$ is the generator.
In RFC3526's 1536-bit MODP, there's a prime:
$$2^{1536}-2^{1472}-... |
I have non-negative integers $x,y,z$. I'm going to give you commitments $C(x),C(y),C(z)$ to them. Then, I would like to prove in zero knowledge that $xy=z$. I can choose the commitment scheme to make the zero-knowledge proof easy, if that helps. What protocol should I use? Is there a highly efficient protocol for ... |
In standard RSA, the modulus $n=p_1 p_2$ is a product of two primes $p_1,p_2$ of the same size. Suppose we construct the modulus as a product of multiple primes $p_1,\dots,p_k$, i.e., $n=p_1 p_2 \cdots p_k$, where all the primes are of about the same size. I'm wondering how much this reduces the security of RSA, for ... |
I'm implementing the Camenish-Lysyanskaya dynamic accumulator. It seems to me that the accumulator is provably secure because the trapdoor is unknown to the attacker.
The risks should be the fact that, given the Euler theorem, I can forge an element that is was not accumulated but still passes the test, namely:
$v^x\eq... |
Suppose that we want to develop a MAC scheme which is
as secure as Triple-DES CBC-MAC and at the same time as efficient as Single-DES
CBC-MAC. We come up with the following idea: Except the last plaintext block, we
apply Single-DES CBC with key K1 and for the last one, we apply 2-key Triple-DES
CBC-MAC using keys (K1, ... |
Strange question maybe, but say I want to specify a protocol that complies with NIST SP 800-108. This lists a whole set of key based key derivation functions, with a very loose set of parameters.
How should I identify the KDF used? It seems that the KDF's in this document have neither a name, an OID nor an ASN.1 module... |
Is there any advantage of using Tiger Tree Hash over any other hash function organized as the Merkle tree? Are there maybe any properties of TIGER that, say, SHA-2 or BLAKE in Merkle tree do not have?
And in general, is there any point of chosing Tiger Tree Hash over anything else in modern applications for file sharin... |
Let $i, j \in GF(2^q)$ and $i \neq j$ and $i,j\neq0$.
Is that possible that $i^n=j^n$ for some $n$ such that $0 < n < 2^q-1$?
I am looking for a proof if the answer is no, or for a method to find $n$ if the answer is yes.
|
I'm implementing the Schnorr Identification protocol as part of a larger protocol. In a large percentage of cases, around 20%, my test fails. I don't think it's a code problem, although possible, but I think it's a problem with my understanding of the protocol.
Here's how I currently perform Schnorr Identification:
Us... |
I'm looking for help in understanding why the algorithm described here would not deliver adequate protection of confidentiality. We don't care about other criteria such as authenticity or integrity. In other words, we only want to make sure our key material is secret.
Given a key $k$ that is $l$ bits long, a hashing ... |
I know that the AES MixColumn step is calculated as follows
$b(x) = (a(x)c(x)) \mod l(x)$
with $a(x)$ being the column to encode, $c(x)$ the fixed polynomial $c(x) = 3x^3 + x^2 + x + 2$ and $l(x) = x^4+1$ which is reducible over $GF(2^8)$ since $x^4 + 1 = (x+1)^4$.
I wondered about the purpose of the reducibility prope... |
Two or three years ago, I was reading something interesting, but then I lost the paper. The paper described building secure and fast P2P networks (not like tor or I2P).
Unfortunately, I only remember some parts of the protocol/algorithm:
Peer logical address not equal to physical address, actually logical address is p... |
I'm looking to implement modular exponentiation (for RSA) in constant time, but most of the examples I've found are more mathematical descriptions of the operations. Are there any references with descriptions in psuedo-code, which are understandable (and implementable!) by someone without much of a math background?
|
I'm currently testing one among those many interesting cryptographic protocols based on bilinear maps.
It's quite hard to understand the underlying fundamentals, especially since there are several types of pairing and different underlying algorithms like Weil, Tate and Ate (again with subtypes?). Although I understand ... |
I am interested in making a PRNG which, after being initially seeded, can accept and incorporate client data as the only ongoing source of "entropy". It is not directly for a cryptographic purpose, but I wish to get a sense of how much the resulting system might compromise the integrity of the generator.
A simplified ... |
I am interested in MD5 collisions for small input messages.
The collision examples given at http://www.mscs.dal.ca/~selinger/md5collision/ show two different strings, where only a tiny amount of data has been changed to give the same md5, but it feels more like just changing values that are not factored into the calcul... |
I'm trying to understand the logic of CAs, trust and client certificates. I have a general understanding but am having a tough time bridging some gaps.
In a hypothetical situation a software system might be composed of n machines. I want to generate a custom CA for this system and have it self signed. The CA would con... |
As we know that in DH key exchange, both Alice and Bob would agree on the parameter $p$ and $g$. Next, Alice would choose a secret key $A$ while Bob would choose a secret key $B$. Alice would compute $g^A\mod p$ and Bob would compute $g^B\mod p$. They would exchange these computed values and each side would raise their... |
I implemented an Ansi 9.19 mac generator in java, but now I don't know how to validate its functionality. I couldn't find any sample of a {plain text,key,mac} on the internet, and I want to know if there is a good way to test my implementation.
|
From today's standpoint, most people would claim RSA to be secure. However, to my knowledge, this is purely based on the speculation that no one knows a computational feasible way to find a $d$ for given $n$ and $e$, s.t. $ed \equiv 1 \mod \varphi(n)$ - which can be reduced to the factorization problem.
However, it is ... |
I need three pseudo random functions which all take a
seed S (t-bits long).
The functions should map from
$d$ bits to $d$ bits
$d$ bits to $1$ bit
$d$ bits to $t$ bits
$d$ is $10$ bits
$t$ is $2048$ bits
Can you link me to some c++ implementation(or any language) or tell me how to implement it?
|
I'm currently working on a project where I want to establish a secure and authenticated communication channel between to entities, using Elliptic Curve Cryptography. Now I'm not really sure how to proceed after the key exchange. The current exchange looks like this:
$Alice$ sends her public key $K_A$ to $Bob$
$Bob$ se... |
This is a very newbie question...
I have to quickly implement a solution for our application that works like this... We have a binary executable that is given a configuration file. I need to encrypt the configuration file such that a non-trusted user can be given the binary and the encrypted config file (and maybe a pu... |
Judging by the algorithm on the Blowfish Wikipedia article, there is no way for the process to fail with an error. How then does GnuPG know when to tell you your password is correct when decrypting a file, rather than proceeding to decrypt meaningless data?
|
I´m implementing the AES-encrypt algorithm for the SSE2 instruction set.
For the Subbyte function i use movzx, having loaded the S-box in the cache of the CPU for more performance. That cost about 56 OPS wing CPU.
I was wondering if you could calculate the value of the bytes without having to change the vector so serio... |
XEX Mode (with two tweaks) is the following scheme:
$X = E_{k}(I) \otimes \alpha^j \\
C = E_{K}(P \oplus X) \oplus X$
where $I$ and $j$ are both tweaks (sector number and block number respectively). If I wanted to use only one tweak, $I$, is the following correct and safe?
$X = E_{k}(I) \\
C = E_{K}(P \oplus X) \oplus... |
I was reading about Encrypt-then-MAC and everywhere I go it seems people include the IV with the ciphertext generated for each message then MAC that and send all the information concatenated.
Why do I need to send the IV more than once?
|
I got asked this question and I didn't know what to answer.
How do you test the security of your cipher?
What comes to my mind now would be to test it with famous attacks: padding attacks, exhaustive searches by modifying the input and expecting the output, timing attack…
Any idea?
|
I'm trying to understand a paper that uses the notation $E_y(1,r_{i,j,1})$ (full text available in link, used just once on Page #35, 6th page of pdf, Section 3.3, Step 1c) in the context of an encryption similar to ElGamal. I don't understand why/how $E_y()$ takes two inputs.
The $r_{i,j,n}$ part is well defined (seri... |
Question is a follow-up to this one. The question was about accelerating SHA1. I am writing an application, where I do have a choice of hash algorithm, as long as it's a strong one. I want to be able to use the one which could be CPU-accelerated on consumer grade AMD and/or Intel processors. Which one should I take?
|
Could a code be developed where one uses intentional errors say in english, as a text to encode? For example someone might have a message 'Agent X must report to station 5'. This could be distorted to 'A Gentex missed repaired 2 stationS.' The distorted message then encoded. If the distortions are recognizable to the ... |
If there a proof in the literature which says the CONF Problem is equivalent to solving the discrete log ?
Let $g$ be a generator of a cyclic group $\mathbb{G}$ of prime order $q$
CONF problem: given $q,g, g^a, g^{ab}$ find $g^b$
Discrete log problem: given $q, g, g^x$ find $x$
|
I've read several texts which say that if the entire plaintext is a multiple of the block-size padding is not required (and not using padding would not mean a loss of security).
I generally disagree on this. In some special cases, for example in CTR of OFB mode padding could even unveil more information about the block... |
in Bilinear pairings, what is the difference between Type 2 and Type 3?
I understand in Type 2, there exists an efficiently computable homomorphic function $\phi : G_2 \rightarrow G_1$ , which is not present in Type 3 pairings.
But what I don't understand is what is the use of the homomorphism in cryptography?
For tho... |
Identicons are used to create unique images based on IP address or strings. Lots of programs are available to generate identicons based on an input string.
My question is how hard is to do the reverse. Identify the source string of an identicon. In other words what is the strength of the hash function used to generate... |
Is there a difference between PRF and a hash function?
For example: Creation of a secret key is using PRF and creating a secret key is using hash function.
|
I'm trying to analyze the strength of a block cipher with CBC mode or with ECB mode on the scenario of an exhaustive search attack with knowledge of pairs of plaintext – ciphertext (known plaintext attack).
I understand that, for a block cipher that receives a key of $k$ bits and processes blocks of $n$ bits ($n>k$), o... |
If someone or some group found an efficient way to factor large composites with two distinct prime divisors, would this make it easier to decode any messages?
|
I have used AES to secure my short term wireless network(1 day lifetime). The same symmetric key is used for securing entire network traffic. is it possible to improve security with onetime password scheme? ie, Again AES encryption,but with different 128 bit keys each time.
|
I have just made my own program to encipher, using AES in counter mode, and have validated it using NIST data. So I know I have done it properly.
I have read that AES-CTR can produce a stream of random numbers. To achieve this, what do I feed in as the plaintext? Will any text do? Does it matter if the plaintext has re... |
How well is it known that for $i$ such that $1 \leq i \leq \frac{p − 1}2$:
$$
g^{i+(p−1)/2} = g^{i−1+(p−1)/2} − g^i + g^{i−1} \pmod p
$$
Whilst working in the finite cyclic group of prime moduli $(Z/pZ)^*$, given g to be a primitive root of p.
This property can be used to slightly improve the trial multiplication algo... |
I'm trying to make a strong authentication software and embedded software in a java card. I have found many papers and publications about the subject… too much information to process and I'm working on a very tight schedule, given that the Java card implementation I have supports ECC ( Elliptic curve cryptography ) and... |
The Wikipedia entry on SHA-2 contains a usable pseudocode recipe. In the hope of some deeper understanding, I implemented SHA-256 and SHA-512 from it. This was helpful, but I still don't think I have joined together my understanding of how the hashing works, and how it achieves its goals.
In short, I can see some non-... |
There is a cipher called PRINCE proposed in ASIACRYPT two years ago.
See the paper: “PRINCE – A Low-latency Block Cipher for
Pervasive Computing Applications”
The cipher divides the 128-bit key into 64-bit k0 and k1. If I remove the key whitening at the beginning and end. Then the cipher is stripped down to PRINCEcore ... |
AES 256 is used widely in hybrid crypto systems (e.g. SSL/TLS). According to keylength.com a 2048 bit public key corresponds to 112 bits of security.
Does it make sense to use AES 256 in this context?
If yes, how it improves security in comparison with AES 128?
|
Let $X\in \Bbb F_2^p$ be some information.
How do I create $Y_1,\dots,Y_n \in \Bbb F_2^q$ so that having less than $n-1$ of the $Y_i$s gives you no information on $X$ but having $n-1$ of them allows you to recover $X$?
I first though of error correcting codes, but I don't think those would be able to ensure that havin... |
Recently, I have been reading some dual system encryption papers. In these systems, is the adversary able to generate “semi-functional ciphertexts”?
|
Reading the question “HMAC-SHA1 vs HMAC-SHA256”, I figured out that the known attacks on SHA1 don't apply to its HMAC version. So, HMAC-SHA1 is quite strong right now.
In a protocol like SSL, if it gets broken tomorrow, we can “simply” turn off all the cipher-suites that use HMAC-SHA1. But what if it is used as MAC pro... |
A basic ZKPP (Zero Knowledge Password Proof) is based on the server being able to challenge the client, and the client can then prove it knows the password (in such a way that is verifiable to the server) without transmitting the password itself.
However, in order for the server to issue the challenge and verify the re... |
The two text having relation as "\x10\x11" → "\x90\x91" (80+10) will have relation after encryption/decryption also in RC4. Following code clearly describes the problem I am mentioning.
from Crypto.Cipher import ARC4
key = '12345678'
obj1 = ARC4.new(key)
obj2 = ARC4.new(key)
d1= obj1.decrypt('\x01\x02\x03\x04\x05\... |
In general every public key cryptosystem ``has'' a probabilistic polynomial time algorithm $G$ such that $G(1^k)=(\textrm{public key}, \textrm{private key=trapdoor})$; $G$ is called the key generator. Now for the RSA cryptosystem the keys, can be found in the following way:
Bob decides the key length $k$, then $G(1^k)... |
I have been told that one advantage of using a hash function is that it spreads entropy over all input bits. But it also seems to be true that a bad hash algorithm can make things less random. But how do I know if the hash I am using doesn’t make things less random?
Currently, I’m hashing (SHA2) a few extracted bytes I... |
Given
$$c_1x = k_1 + y_1 $$
$$c_2x = k_2 + y_2 $$
$$\vdots $$
$$c_nx = k_n + y_n $$
where the values of $\{c_1 \ldots c_n \}$ and $\{ k_1 \ldots k_n \}$ are known, and $x, \{y_1 \ldots y_n \}$ are unknown. $y_i$ is chosen uniformly at random.
We are working in a field of $GF(p)$, so all $c_i, k_i, x, y_i ∈ \mathbb{Z}_... |
http://en.wikipedia.org/wiki/ISAAC_(cipher)
This question was asked before but the answers seem vague, and I want to know about ISAAC specifically, not ISAAC+.
It seems some cryptanalysis was performed on it and the only seemingly major drawback to security is that some initial rounds may be biased (although on the off... |
I'm studing Shor's algorithm, and I have a question regarding the following step:
$$a^r -1 = (a^{r/2}+1)(a^{r/2}-1)=0 \pmod n$$
What would be the result if ${r/2}$ was -1? This will mean it's going to be like this: $(1/a+1)(1/a-1)$.
Will it also be $= 0 \pmod n$?
|
What is "Perceptual Encryption", and where do we use it?
I came across it whilst reading a paper on ECC in a multimedia context, from which I quote:
Hence, to achieve perceptual encryption, the higher-order biplanes were selected to be encrypted.
In addition to a formal definition, I would appreciate some examples of... |
With block chipers can I assume that
Enc(k,Dec(k,m))=m
Meaning if I decrypt something with a key k and then encrypt the result with the same key k, do I get what I originally had? Using the same BC scheme of course.
I can't right? It's possible that it has some random parts, no?
|
It is often said that RSA encryption of a cryptographic hash with a private key is the same as signing (signature generation). And that verification consists of decryption using a public key.
Is RSA encryption with a private key over a cryptographic hash equivalent to signature generation?
|
I implemented a pseudonymous PKI scheme (by K. Zeng @Springer Link), where all peers can change their public keys including its signature on their own. I am looking for a way to extend it with some authorisation functionality in that way, that an Authorisation Instance can provide specific credentials to a peer. (e.g. ... |
I know the generic difference between a nonce and an IV. I am specifically looking for a clarification on these terms as used in the "Evaluation of Some Blockcipher Modes of Operation" by Phil Rogaway. In that when describing the block cipher modes for e.g. CBC he says the following (table in page 5) --
Confidentialit... |
I would like to map integer values to points on Ed25519, and then back again.
Is there a technique that takes advantage of the specific structure of Ed25519?
|
SHA1's compression function has two distinct parts: one where 16 words are expanded into 80 words, and one where the 80 words are used over 80 rounds. Are there specific names or terms for each of these parts, and if so, what are they?
|
I am reading on the Ed25519 curve, and I am trying to understand a claim. Here is the claim:
Foolproof session keys. Signatures are generated deterministically;
key generation consumes new randomness but new signatures do not. This
is not only a speed feature but also a security feature, directly
relevant to the... |
Does anybody know an efficient mechanism to prove the possession of a digital signature (e.g. RSA) on a certain attribute (message) in zero-knowledge? That is, without revealing the actual signature (against tracking, for privacy) prove that you have one? Thanks a lot in advance!
|
I've recently read a question about the irreducible polynomial behind the subBytes() operation in the Rijndael that has awakened and old curiosity I have:
Why $\,m(x)$ was chosen as $\,x^8+x^4+x^3+x+1$?
In the comments in the referenced question it has been mention that it was the first that fulfilled the task (be irre... |
how can we prove that if there is a secure PRG then P!=NP or in reverse order?(is there any reduction?)
a secure PRG is a pseudo random generator that for every eficient (running in probabilistic polynomial time) statistical test algorithm A , A cannot distinguish PRG from a truly random generator with a non-neglogible... |
Recently I've found the following work on the internet: An ECC-Based Blind Signature Scheme
The paper claims to be an ECDSA blind signature however it seems that their scheme has a flaw in it.
The process they describe is pretty standard:
Requester blinds a message using his key and sends blinded message to signer
The... |
Wikipedia's TLS article says:
The client responds with a ClientKeyExchange message, which may contain a PreMasterSecret, public key, or nothing. (Again, this depends on the selected cipher.) This PreMasterSecret is encrypted using the public key of the server certificate.
The parenthetical remark is interesting. It i... |
Signature algorithms with elliptic curves have smaller output sizes compared to RSA for the same level of security.
What about the processing time to generate a signature ?
I've seen figures giving the advantage to RSA. That seems curious.
Leaving aside the implementation aspects, what could justify (in terms of number... |
Skein is defined for three different internal state sizes: 256 bits, 512 bits, and 1024 bits – with Skein-512 as the “primary proposal”.
Is there any advantage, other than potential memory or speed performance reasons, when picking a state size different from 512? If there is, what would the advantage(s) be?
|
Is the following function a secure PRG?
Given $F$ is a secure PRG and $k$ is choosen random from key space $K$.
$$G(x) = F(k,x) \oplus F(k,x \oplus 1^s)$$
My solution is $x \oplus 1^s = x'$ so $G(x)$ becomes $f \oplus f'$ with $f = F(k,x)$ and $f' = F(k,x')$. Clearly $f$ and $f'$ are PRG, i.e. generate random strings... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.