instruction stringlengths 33 27.2k |
|---|
Let's say I have a plaintext, the corresponding ciphertext encrypted using AES-XTS, and the initialization vectors. Is there any way - not brute force, of course - to compute the key?
Even if there's no known way, feel free to share articles on the subject
|
Is it possible to make ElGamal IND-CCA2 using OAEP or OAEP+? (OAEP+ from: "OAEP Reconsiderd" by Shoup)
The reason I ask is that I recently answered this question and it came to my mind that OAEP or OAEP+ might be possible solutions.
Note this isn't a practical question at all. There's no intention in implementation, I'... |
Some time has passed since PFS introduction and we now have secure&proven asymmetric ciphers that can generate strong keys very efficiently (elliptic RSA variants and/or QD-Mceliece can generate 128-bit-equivalent-secure keys in milliseconds), so I'd like to implement some of them into some software I'm writing here.
Q... |
I'm having some trouble understanding the Blowfish encryption algorithm. From the Wikipedia article...
The secret key is then, byte by byte, cycling the key if necessary, XORed with all the P-entries in order
Can someone explain this in more detail? For example, the first few P entries are 0x243f6a88, 0x85a308d3, 0... |
I just tried to review & understand AKE (Authenticated Key Exchange) protocol as defined in OTR secure messaging protocol version 3 here , and aiming to achieve Perfect Forward Secrecy
I am a little bit confused with the described handling of the "r" aes key in the presented DHE (Ephemeral Diffie-Hellman) protocol:
D... |
I'd like to understand what is the meaning of this field, especially considering that when calling a crypto library to sign data the digest method is specified by the caller.
For example, this simple C# code:
RSACryptoServiceProvider rcsp = certs[0].PrivateKey as RSACryptoServiceProvider;
rcsp.SignData(data, "SHA256");... |
If server is sending its digital signature, in which message / where does the digitally signature is provided to the client.
Is it after the server_hello message because there the public key of the certificate is exchanged which is needed to decrypt the digital signature or with the initial certificate containing publ... |
I am implementing Shamir's Secret Sharing, and I find that in (t,n)-threshold scheme, the shares are just using 1,2,3...,n as the key to form the shares (i,f(i)).
For example, I want share "Hello", and the shares look like this:
01-AAAA1,AAAA2,AAAA3,AAAA4,AAAA5
02-BBBB1,BBBB2,BBBB3,BBBB4,BBBB5
03-CCCC1,CCCC2,CCCC3,CCCC... |
I'm looking through the latest version of NIST SP 800-63, and there is a table (Table A.1) in the Appendix that supposed give the "entropy" of a password for a 94 character alphabet for various password lengths. This is the last column of Table A.1.
I'm pretty sure they are just using the formula (given previously in t... |
Assume we have the following scheme for RFID:
TAG & READER both have initially k keys.
Every session the TAG computes $k_i$=F($k_{i-1})$ where F is a function which computes XOR of previous key with randomly generated number, e.g. $k_i^R$=F($k_{i-1}^L$) $\oplus$ $r_i$ , $k_i^L$=F($k_{i-1}^R$) $\oplus$ $r_i$ where $r_i... |
In the book Cryptography and Network Security by Forouzan,in chapter 14, Fiat-Shamir protocol, its mentioned that two large prime numbers p and q are chosen and kept secret. However n=p*q is made public. Then the claimant chooses s which lies between 1 and n-1(exclusive)........
Now here is the doubt: exclusive means h... |
For me, the main advantages of Ed25519 are that it avoids patents (by computing in one dimension) and that it is fast.
However, the 128bit security of Ed25519 is sometimes too strong to comply with export regulations.
So I wonder if there are any weaker curves of the same type (i.e. also patent-free and fast) that I ca... |
The Wikipedia article on Shamir's Secret Sharing says to that to have information theoretical security the splitting algorithm should be evaluated using finite field arithmetic on the field $\rm{GF}(p)$ such that $p>n,p>S$ where $n$ is the number of shares and $S$ is the information to be shared. It suggests that on th... |
I'm playing around with the CryptoPP library with DES/CBC and I've noticed that for some sets of data, if I decrypt the ciphertext with Key1, IV1, I get a good cleartext result -- but if I decrypt the same ciphertext with Key1, IV2, I get the identical good cleartext result.
I find this very surprising. So much so, ... |
I was reading about HMAC and why it is crucial to avoid security issues with normal prepending / appending the secret k to a message (issues due to merkel damagard construction). I am not familiar with the math and the detailed proof presented in the paper, but i was wondering why both ipad and opad are required. what ... |
I've read "A Parallelizable Enciphering Mode" by Halevi and Rogaway about the encrypt-mix-encrypt mode for ciphers and was asking myself if this mode provides "full" diffusion.
So if an attacker alters one bit of the ciphertext, how many bits (all?) get scrambled on decryption? (if using AES and blocks of size 4096 bit... |
From Wikipedia:
In cryptography, a key derivation function (or KDF) derives one or more secret keys from a secret value such as a master key or other known information such as a password or passphrase using a pseudo-random function.
Is there a more formal security definition for what they are and what properties they... |
I'm curious as to how a backdoor can be built into a hash function. What might it take the form of? What's probability of getting one that can be backdoored in a way that can actually undermine its security? Could this backdoor be asymmetric?
|
From my understanding BCrypt truncates the password to 72 bytes. If a password is longer than 72 bytes, what is a way to store that password using bcrypt securely without compromising it? Or is this incorrect and we should just let bcrypt truncate it?
The reason why I ask is that I've seen some implementations where th... |
I know this sounds too broad. But I noticed that there was a chapter on chaotic crypto in the recent Handbook of Information and Communication Security
Editors: Stavroulakis, Peter, Stamp, Mark (Eds.) by Springer. Sorry about the paywall, the text has all the usual chapters you'd expect, in addition to chaotic encrypti... |
Recently, I've been reading a couple of papers about building cryptosystems that are secure for up to 30 years. But for some applications, this seems a bit low to me. So I am wondering if considering the current state of the art in cryptography and computing power evolution forecasts, one could instead build a public-k... |
I am doing the program of implementing ECDSA for which I am trying to solve the equation scenario. In ECDSA that signature generation algorithm which states as hash value from the SHA-1 and where $l$ denotes the leftmost bits of the hash.
For example of hash value de9f2c7fd25e1b3afad3e85a0bd17d9b100db4b3.
In that hash ... |
It is given two RSA moduli $N_1$ and $N_2$, known to be of the form $N_i=p_i\cdot q_i$, with $p_i$ and $q_i$ unknown primes, and such that $p_2=p_1+2$. Can we make use of that relation to factor the moduli much more efficiently than if it did not held?
If that helps, add extra assumptions if they are plausible for comm... |
Could somebody tell me what the meaning is of $h(r)$ in the protocol below?
$A\leftarrow{B}\quad:{h(r)}{,B}{,P{_A(r,B)}}
\\A\rightarrow{B}\quad:r$
|
Section 9.5.6 of Cryptography Engineering states that
The concatenation [of source number, length of data, and data itself] is then appended to the pool.
Why are we including source number and data length? The source number is fixed for each source, the length of data is constant for many sources, so aren't we contam... |
First, some well-known results are as follows.
For random variables $X$ and $Y$, we have
$$H(X,Y) \leq H(X) + H(Y).$$ The equality is achieved when $X$ and $Y$ are independent.
Second, in one-time pad, random variables $M$, $K$ and $C$ are used to denote a plain text, a private key and the codeword generated by $M \big... |
I would like to know:
What is the currently best (efficiency and security wise) known EC based password authenticated key exchange protocol?
(i.e. is there any EC based protocol may be similar to DH based SRP protocol)
What is the certicom's patent number/title of elliptic curve Point Compression? (I have searched net... |
I have a RSA public key in the form of public exponent and modulus as follows:
String exponent = "0000000000000003";
String modulus = "D8016FFDDFBA4B144B0AB13FF01968048B2FC9AA269311D11357DC8CEDCABA232BEC118D3B05AFA2406D27BFB6602B45B80E91D4F446E4A753C251EA6EB8AB8E3F304585DD202D8B04538EB4DD1F87D9A27E1E7B34A304396BBC38EE6... |
I am auditing some software that includes compiled in Diffie–Hellman parameters (2048 bits).
I can't be sure who generated the DH parameters or how they were generated.
Question:
Can DH parameters be weak if they were generated improperly or
made intentionally weak?
Is it possible to test DH parameters, that I did n... |
Upon registration an user has to specify an access code of five digits. This access code is also used as a password for the encryption and decryption of certain strings.
The user types in "12345" (ACCESS_CODE).
Obviously, we don't want to save this access code on the device.
Now, when the user wants to decrypt he types... |
How can we find the key used with a Vigenère cipher in small number of steps?
If we have text like:
Peit Wokm! Mhfa fepatgb ets bvvrvxmea ebte bae twkd qiqi
and we have key information like Key = ‘ ? a ? i ’, then how I can understand this and solve this to make the complete key?
|
We know block cipher algorithms. In the block cipher algorithms, Key Scheduling is the one crucial part. I see that in some simulation programs of the AES,DES,TripleDES encryption algorithms. In those, some programs are asking for the key dynamically or statically.
Now this time, I need to know clearly how to generate ... |
I have been trying to figure out the encryption key space, and cardinality of 1024-bit RSA. From my understanding, the key generated from 1024-bit will be primes greater than $2^{1023}$ but less than $2^{1024}$. So, there are approximately $8\times10^{307}$ types of keys that can be used.
Is this the key space or the ... |
What are the differences between 'Kasiski examination' and 'auto-correlation' ?
In Cryptool site, they state that autocorrelation analysis is more efficient and clearer than the Friedman or Kasiski test. But, they fail to mention how they achieve this or how they differ from Kasiski.
|
Do in all the use cases, if I have to encrypt and authenticate, encrypt-then-authenticate or authenticate-then-encrypt, like in IPSEC, SSL or SSH or others, if I were to do these operations to a packet, do I always know that the cipher offset will be greater than authentication offset i.e that authentication length wil... |
We have used "AES/ECB/PKCS5Padding" with a 256 bit key. We encrypt different streams of data (blockwise) with the same key. Each encrypted stream ends with same pattern. What is the reason for this?
|
As we are all aware that HASHing is user to verify integrity in cryptography. I have a query about hashing.
Suppose a man in the middle attacker manipulates the data and creates new HASH (by running algorithm on manipulated data) using the same hashing algorithm (becausehashing algorithms are universal algorithms) and ... |
It seems that the nonce of AES-GCM in SSL has 3 parts:
salt, 4 bytes, generated in handshake, not changed in whole session
nonce_explicit, 8 bytes, chosen by the sender and carried in each SSL record
inner_counter, 4 bytes, used in AES-GCM internal
Is it possible to use a more simple method to construct the nonce:
g... |
Let there be $p$ and $q$, 2 prime numbers for which the following relationship is true: $|p-q| < 2 \cdot N^{1/4}$.
The algorithm first generates the prime number $p$, then it generates $q$ close to $p$.
Knowing $q . p = N$. Find $q$ and $p$ for a given $N$.
I need to find $q$ and $p$ with $N =$10032208350557943814105... |
Is there an encryption algorithm where it's possible to combine multiple encryption keys into one, so that:
$E_{AB}(Data) = E_A(E_B(Data))$
KeyAB should be computable from KeyA and KeyB, but it must not be possible to compute or guess KeyA or KeyB from KeyAB and/or Data.
The algorithm should be as secure as possible, i... |
Given two 56-bit keys, $k_1$ and $k_2$, why does $E_{k_1}(E_{k_2}(M))$ only give 57 bits of security?
So basically I'm unsure why it only gives 57 bits of security; I understand that one key will provide 56 bits. Only thing I can think of is that when adding another 56 bit it will cycle through all the bits and realize... |
Is there a way to find an RSA private key after it is encrypted with the corresponding public key? Does there exist an algorithm to recover the private key in this special case?
|
I just stumbled across a Stack Overflow post which points out that the libmcrypt library (notably used in PHP) implements a somewhat unusual set of block cipher modes: it calls the usual CFB and OFB modes, with full-block feedback, "nCFB" and "nOFB" respectively, and implements the CFB-8 mode as just "CFB".
Besides the... |
in a project that I am working on we have been tasked with eliminating PGP while providing sufficient security to protect payment files only within the Company's trusted network. We arrived at HMAC SHA256. Assuming that we can keep the key private and refresh the (128 bit) key annually, can someone comment on how di... |
Assume that Alice received 100 ciphertexts encrypted with additive homomorphic encryption, say Paillier, using the same public key that belongs to Bob.
Alice added all of them, and wants to know the final sum, so she sends the final result (which is still encrypted of course) to Bob so that he can decrypt it with his p... |
I am writing a program using a Pedersen commitment scheme and all I'm missing is an appropriate length for my prime $p$. I have heard that a length of $2^{80}$ is ok, is that correct?
|
I am working with a library that outputs EC points in uncompressed form. To save space, I'm considering modifying said library to use compressed EC points. Assuming that I keep track of the sign bit prior to compression, is there any risk in compressing said point?
I read this Q and related answer, but want to ensur... |
Ahead of the question, little warning. Question is not about what are the better options. Question is why it is bad idea?
Ok, suppose we have plaintext $p$, which divided into blocks: $p_1,p_2,p_3,...,p_n$
CBC (cipher block chaining) can be then defined as $c_1=E_k(p_1 \oplus IV)$,$c_2=E_k(p_2 \oplus c_1)$,$c_{i+1}=E_k... |
I'm trying to understand attribute-based encryption schemes. Almost all articles describe that they are designed for cloud storage, but as I understand, almost all computing (encryption & decryption) is performed client-side and not in the cloud.
In this regard, I have a question: How are these schemes related to cloud... |
I am trying to interpret the formula for index of coincidence from here…
I am not understanding $f_i$. How can I calculate $f_i$ in this context? Is this the appearance of single word like (a) in the whole sentence or what ? I am trying to solve it manually without using the mentioned website tool, but I am getting ... |
I know the following construct is insecure if the MAC as defined below is appended to the encrypted message in an Encrypt then Authenticate (EtA) scheme.
$k_1$: encryption key
$k_2$: authentication key
$m_1$: plaintext message
$c_1$: encrypted message (AES-CBC with random iv)
$IV$: from PRNG
where $k_1$ and $k_2$ are ... |
I've seen people everywhere say to use a MAC or HMAC with block ciphers. I think I understand the basics, but I'm still not sure how the HMAC secret is distributed so the other party can verify that it's valid. Is the secret distributed freely like the IV (though the name suggests it is secret)? Is it part of the ciphe... |
I've been looking into message authentication codes and found several ways to create integrity for a message. I know of the following algorithms:
HMAC, this can use any cryptograhpic hash function and a key, for a HMAC to be secure the underlying hash function does not have to be (though I assume it would be a good thi... |
I've being studying up on AES, GCM, CBC, HMAC and a lot of other primitives and am somewhat ( a little bit, perhaps) familiar with them however I am still a bit weary on the use of the keys and nonce.
Background:
I have got multiple (embedded) devices (sometimes hundreds) all of which are connect to a server. These dev... |
Is it possible to have different keys on alot of (embedded) devices and just have 1 key on a server (to witch all these devices connect)? The main point here being when 1 device is compromised this does not mean the traffic between other devices and the server is compromised (even if the server does not know that 1 dev... |
I'm currently using the BouncyCastle implementation in uncompressed mode, and considering releasing an optimized version of EC code that uses point compression.
It appears the only thing limiting me is licensing for EC point compression, since the math seems straightforward.
I'm waiting for a response from the BouncyCa... |
I am planning on backing up my hard drive using a cloud backup service but have become skeptical of the industry based on incidents like these:
http://dbmsmusings.blogspot.com/2011/02/why-i-no-longer-trust-emc.html
https://security.stackexchange.com/questions/7142/online-backup-how-could-encryption-and-de-duplication-b... |
We have p and q which are distinct primes congruent to 1 mod 4. Then we have n = p*q.
Do you know any algorith for calculating square roots for the decryption in this case? I'm asking for some explanation how to calculate or some pseudocode. Thanks in advance
|
I'm a student currently working on a research project on the NTRU cryptosystem, I've read some papers about this cryptosystem, and in those papers they are talking about keysize, is it the size of the public key or private key ?
is there any other indusctrial application of NTRU apart from CyaSSL ?
|
In some literature it is written that the private key should be chosen random from
{2,3, ..., p-1}
and in some it says
{2,3, ..., p-2}
I guess p-1 is a weak private key, but why is that so?
The calculation would be:
A = k pub, A = αp-1 mod p
|
I am trying to understand the conditions necessary for one of the Bletchley Park bombes to stop. Let me give an example.
I have been experimenting with Enigma machine and bombe simulators to try to understand better how the bombe works.
Using a standard three rotor Enigma machine set up as follows:
Rotors IV-I-III,
st... |
I am attempting to write a program to perform a linear approximation attack on a reduced round version of the SIMON block cipher, but I am stuck on how to actually apply the linear approximation to get the subkeys for each round. I found this paper, in which the following high-bias linear approximations are listed:
P[ ... |
What is the conjunctive normal form (CNF) representation of $\text{SHA-256}(m)=h$, where $m$ is of fixed (or bounded) size and $h$ is 256 bit?
|
I cannot understand why rogued certificate is thought harmful though It can be used to impersonate some website. The attacker can craft a rogued certificate with different identities and public key but the same signature through hash collision, such as md5 collision. But the attacker cannot aquire the private key corre... |
I read something about cache attacks like this:
Enter KSM (Kernel SamePage Merging). KSM enables the kernel to examine two or more already running programs and compare their memory. If any memory regions or pages are identical, KSM reduces multiple identical memory pages to a single page. This page is then marked copy... |
I want to anonymise the initials of experiment participants by giving each a pseudonymic set of initials, by encrypting their true initials. Their initials are only two or three letters in length.
These are data from individual human experiment participants that I publish online and in scientific journals. The conventi... |
I am reading the Pinocchio paper. The calculated result $y$ is a part of the verification input, but it seems to me, the verification procedure does not utilize the result $y$. Can anyone can help me to understand this?
|
I understand how ECC works for the point multiplications and stuff.
All we normally do is to multiply a scalar number (lets say d as a private key) with the base point generator G to get a public key point on an elliptic curve.
I am trying to tweak the algorithm for some other purposes so I am just wondering whether ... |
From my little understanding of EC-based authenticated key exchange protocols, I believe that it is not possible for authenticated key exchange without a signing/signature scheme. Is this correct?
Consider a scenario where neither client nor server have any certificates, and server has the pre-shared secret of User/c... |
We all know AES has some pretty strong side channel attacks, some where (with a couple of hundred know plain- and ciphertext combinations) a key can be derived in a matter of minutes. Others may take a bit longer but they are out there if people have full access to the hardware and control over the algorithm.
Does TDES... |
How can a system where the party performing a computation also possess the private key and still not know the answer of computation be designed ? Also the other party who does not have the private key know the correct result ?
Involving a trusted third part seems a possible solution. But are there other ways to design ... |
I am new to cryptography and I want to know the details of how a Certificate Authority issues a digital certificate.
From what I know (please correct me if I'm wrong at any parts of my explanation):
If Alice wants to request a digital certificate, Alice will send her public key to the Certificate Authority.
The Certif... |
Is the "compression function" in Merkle-Damgård just a collision-resistant, one-way hash function but one that operates only on fixed size inputs?
If so, is MD just a way to extend it to work on arbitrary length strings?
|
I'm having a hard time understanding why people use constant-time techniques to counter time-attacks, when blinding seems as good and cheaper to implement.
Why do people avoid blinding in ECC?
|
Grover's algorithm can search an unordered list of length $N$ in time $\sqrt{N}$ on a quantum computer. Applied to cryptography, this means that it can recover n-bit keys and find preimages for n-bit hashes with a cost of $2^{n/2}$.
But the basic version of Grover's algorithm is sequential. Each iteration uses the out... |
What does it mean when we talk about FIPS-197 compliance in the context of SSL certificates, their deployment and usage ?
I am almost certain that the FIPS-197 compliance in the context of SSL configuration is not about how the certificate is generated and signed but rather about how the web server / application server... |
In NTRU crypto system I have used these polynomials and parameters:
$N = 17, p = 7, q = 64$ and $f$ as private key is:
$$f = -1 + x + x^2 - x^4 + x^6 + x^9 - x^{10}$$
So the inverse of $f$ in ring $\mathbb{Z}[X]/(X^N-1)$ is:
$$f_p = 3x^{16} + 3x^{15} + x^{14} + 6x^{13} + 5x^{12} + 6x^{11} + x^{10} + 2x^9 + 2x^8 + 3x^7 ... |
It is not easy to understand why this becomes a hard problem.
The discrete logarithm problem as defined here:
“any integer k that solves $b^k = \{g\mod{n}\}$ is termed a discrete logarithm”
i.e.: Finding an integer $k$ for $b$ and $g$ known in $b^k=\{g\mod{n}\}$
I wonder. Is the reverse, that is:
Finding an integer $b$... |
I am trying to generate the S-Box provided in the Affine Power Affine paper (PDF) but I'm not sure I understand it fully.
The essence of the paper is this:
AES(i) = Affine(Power(i))
APA(i) = Affine(Power(Affine(i)))
Where Affine is the affine transform and Power is the inverse transform used in generating AES s-box.
... |
A website stores username and password in a session cookie. In the cookie the
password is "encrypted" or modified in some way. Given that the "encrypted"
version is always the same, I do not believe there is a time sensitive factor.
I could create multiple sets of this data, but it's time consuming.
Knowing this how... |
It seems that OTP encryption is unbreakable. I have read some articles (Wikipedia, Blogpost, etc.), but I could not find any information about how they are used.
If I wanted to create a messenger service, how would I distribute the OTP keys? Both the sender and the receiver need this key before the message is sent, rig... |
I am looking for a one way function that can generate outputs deterministically. However, revealing any of the inputs dont allow the person to generate other inputs.
E.g:
lets say we have a list of inputs: $i_{1},i_{2},i_{3},...$ that look completely random and a list of corresponding outputs: $o_{1},o_{2},o_{3},...$... |
I understand why randomness has to be employed in encryption, because deterministic ciphers are not IND-CPA. I don't understand why digital signature schemes that employ randomness, like RSA-PSS, are any better than purely deterministic ones like RSA-FDH. Isn't it still likely that RSA-FDH is EUF-CMA?
Acronyms:
IND-CP... |
please help me what is number of invertible matrix $m*m$ on Group $\mathbb{z}_n$ ?, assuming we know this number in $\mathbb{Z}_p \quad$ (p is prime) is $(p^{n}-1)(p^{n}-p) \cdots (p^n-p^{n-1})$
|
In Elliptic Curve Cryptography (ECC) assuming user A has a private public key pair of $S$, $P$ accordingly with generator point $G$ which as we know is: $$P=S*G$$
Assuming that user A wants to generate multiple key pairs deterministically to manage them easier and there is a user B who should be involved in the process... |
Consider the following scenario:
The Information Security Department (ISD) of an organization issues each of the organization's employees, domestic and abroad, with an individual RSA key. To simplify the PKI maintenance for the organization, it was decided that a single modulus n will be generated by the ISD and each e... |
I'm studying the Goldreich-Goldwasser-Micali construction from pseudo-random generators to pseudo-random functions. In this specific construction, assume $G:\{0,1\}^n\rightarrow \{0,1\}^{2n}$ is a PRG, mapping $x$ to $G(x)=(G_0(x),G_1(x))$. Then the PRF in this construction is given by
$$F_k(x)=G_{x_n}\circ\cdots\circ ... |
In How to Construct Multicast Cryptosystems Provably Secure Against Adaptive Chosen Ciphertext Attack, the paper states under preliminaries:
We consider the scenario where a single party, called the center,
sends messages, over insecure channels, to a group U of n parties
who are denoted members of the group. In s... |
We know that in stream cipher algorithms plain text and generated key are Xored byte by byte. Generated key depends on how much plain text there is and on that basis key will generate and plain text is encrypted. So my doubt is I am using the latest stream cipher algorithm that is Rabbit and encrypting plain text using... |
What is the largest integer that can be factored by modern algorithm like Msieve and GGNFS in a time less than 5 hours with normal computers?
For example, can an integer like
6764305444023748746863375505235232356330698800019155741251564477831918942242883171154012150590008894127708940364431129
be factored in less than ... |
Which one these alternatives using authentication and encryption will solve this multiple-user database problem?
I'm trying to understand the field of cryptography, so I've started reading a textbook on the subject.
An exercise at the end of a chapter of authenticity asks the following:
I've got a strong feeling that... |
I know the topic of human brains generating random numbers has been discussed here and in Cognitive Sciences before, but I am interested in a particular part of it:
In an introductory book to cryptography I read recently ("Cuando la criptografia falla", by Arturo Quirantes), it is mentioned that in some historical occa... |
I'm taking a hardware cryptography class and working on a problem that focuses on Montgomery Reduction.
So by definition:
Computing $a * b \text{ mod } N$
Pick $R$, s.t. $R > N$, $gcd(R,N) = 1$
Compute $N^{-1} \text{ mod }R$
$a’ = a * R \text{ mod } N$
$b’ = b * R \text{ mod } N$
$c’ = (a’ * b’) * R^{-1} \text{ mod ... |
I've got a question concerning fields used in RSA.
Let's use the following symbols for my example:
{p,q} = primes
{e,n} = public key
{d,n] = private key
I learnt that an inverse element exists if a is coprime to m.
Applied to RSA I would have guessed that e needs to be coprime to n in order to find it's inverse element... |
Problem: I have a small sized domain, say s-bit. It's clear that the probability for an adversary to guess an element is $ \frac{1}{2^s}$. I need to make the probability negligible. However, I need to use a public encoding (or mapping) techniques, so anybody can map its elements from an small sized domain to a big one.... |
Asymmetric cryptography is well known.
You generate a private key.
Using the private key you generate a public key.
Then you can sign a message with the private key and check signatures using the public key.
I have different process which is as follows
On the one side are a lot of people that create messages (senders).... |
Given:
$m = \{0,1\}^{n}$; a plaintext message of length $n$ encoded in binary
$k = randomshuffle([0, 1, ..., 2n-1])$; A secret key consisting out of unique numbers between 0 and $2n-1$ in a true random order. The key is only used once and preshared between sender and receiver.
We create $t = m||NOT(m)$; a temporary va... |
I have tried to look up the proof for NAF (Non-adjacent form) being unique for every integer, but as far as I have seen, textbooks only mention it as a property of NAF, but no proof is given. Also I understand that the number of zeroes in NAF representation is more than in its binary representation but how do I prove t... |
Say I roll a six sided die 200 times (6^200 = ~2^517) and string all the results together into a long string of numbers and hash then result with SHA-512. Can I use that result for cryptographic purposes such as keys? Can I then use the hash of that result to generate more keys?
|
I am reading the Pinocchio paper (verifiable computation): http://research.microsoft.com/pubs/180286/pinocchio.pdf
The paper is rather hard for me. For the Figure 2, I guess $v_1(x)$ should be $(r_6-r_5)^{-1}*(x-r_5)$, and the rest can be found similarly.
Is this right? If yes, then how do we determine $r_5$ and $r_6$ ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.