instruction stringlengths 32 27.2k |
|---|
I have a question about this attack: Oded Yacobi and Yacov Yacobi, A New Related Message Attack on RSA (in proceedings of PKCS2005).
Given $e$ linear related messages encrypted with RSA:
$c_i = ({x_i}^e \bmod N)$
where, $x_i = a_i*x + b_i$,
the author claims that given the $a_i$'s and $b_i$'s values, it is possible to ... |
One of the most (in)famous hardware derived random number generators was Lavarand (patent). It did it with funky lava lamps. An image of the lamps was hashed and fed into Blum Blum Shub (BBS) to produce a cryptographic bit stream.
How? The patent refers to using NIST SHS-1 (SHA-1) which outputs a 160 bit hash. This... |
I've been reading a question regarding the uses of quantum computing. There is a broad theme throughout the answers that seems to suggest that randomness generated via quantum means is somehow better than randomness generated via traditional means. I get the impression from some of those answers that the massive proc... |
The problem is described as follows. Let $c_1=p_1q_1+r$, $c_2=p_2q_2+r$, $\cdots$, $c_n=p_nq_n+r$, where $p_i$'s, $q_i$'s, $r$ are all large positive integers, and $p_i$'s and $q_i$'s are randomly chosen. Notice that $p_i$'s and $q_i$'s are different while $r$ is the same. Now one knows $c_1,\cdots,c_n$, and he knows t... |
Taylor Series
For some functions entered into Wolfram, a Taylor series expansion is represented in Big-O notation. E.g. $\sin x, x = \frac \pi4$ produces:
$\frac {1} {\sqrt[]{2}} +\frac{x-\frac{\pi}{4}}{\sqrt[]{2}}+\frac{(x-\frac{\pi}{4})^2}{2{\sqrt[]{2}}}+\frac{(x-\frac{\pi}{4})^3}{6{\sqrt[]{2}}}+\frac{(x-\frac{\pi}{... |
In the SEAL homomorphic encryption library, no automorphisms technique to move values between the different slots in a given plaintext vector is provided. How could this technique be implemented in SEAL?
|
In discrete log we employ sophie germain primes $p=2q+1$ where $q$ is a prime.
Then we know least significant bit $x_0$ in $$g^{2x+x_0}=h\bmod p$$ where $2x+x_0$ is discrete logarithm of known $h\bmod p$ with respect to known generator $g$.
Suppose $g^2=r\bmod p$ then why cannot I reduce the problem to $$r^{x}=hg^{-x_... |
Let's say I've a Merkle tree where leaves are the hashes of some data that needs to be authenticated. Can I verify the whole of them by just using the hash of the root of Merkle tree? If yes, how?
|
I'm using Speck 32 to encode a very low-entroy set of bits (so that the messages stay very short)
It encodes two numbers:
w: 16 bits: but in most circumstances the message is one of only 10-100 possibilities (~3-7 bits)
v: 8 bits, but in most circumstances the message is only about 4 bits
In my current scheme, I use... |
According to the pseudocode, keys longer than the block-size of the underlying hash function are shortened by hashing the key. Furthermore, keys shorter than the blocksize are zero-padded up the length of the block-size.
if (length(key) > blocksize) {
key = hash(key) // keys longer than blocksize are shorte... |
It's an answer to RPC call to program written in delphi.
QVgCOSh0nrNJaPKbAWI07pfLIWIEcVza/CfBDsf2Krt8DeL6lbGt5A+KHNw64Yf2LiM/iOekXZ+nU5vKRhy5LFEWcreyxPNb4O/wb2RRSvENP4V/WvwDOMtcZdomIW/THSjvdUCkSaIrsdbHnE/szhbLEjNr9C7S1BUjsZ/Ylh870KO94AWQTQa0XhaL3nXBy2H9pInkrPEAIMqVk8WLyZfujgenWg4W/NQ8cNXceVuSlrSYg/jNRnY1kcclaqzyrQRB86K... |
Consider the elliptic curve E:$y^2 = x^3 + 3x + 11\,\, mod\,\, 19$. Two questions:
Let the cardinality of the set of points on the elliptic curve( including
$O$ ) be $|E| = 25$. How many points are generators and why?
Find an element of this group that has order $5$. The group operation is addition of points.
Answ... |
I want to implement the NTRU cryptosystem. What is the method and algorithm to choose vectors elements from a uniform distribution and discrete Gaussian distribution?
|
I'm studying public key cryptography, but still, there's something that I'm not able to understand. I know that, in order to communicate with the server the client must use the public key of the server, but what happens when the server needs to send a message to the client?
It can't use its private key since anyone wou... |
Does encrypting plain-text data multiple times using different passwords provide a greater level of security?
If so, what encryption algorithm would be best for such a use? Would it be beneficial to use different algorithms for each iteration?
I also had an idea to use 1 algorithm if the password starts with A-N and an... |
Given that AES-256 is reasonably strong encryption, can private data (for example Bitcoin private keys) be sufficiently encrypted and stored safely in public places (for example a public github repository)?
|
I've asked this question on stackoverflow
And I think one gentleman has already answered the first part of question
a) In my code i am keeping IV and salt with ciphertext. I wanted to use AES/GCM to check integrity of entire IV + salt.
I've got the following answer and I'm fine with it:
PBEWithHmacSHA512AndAES_128 d... |
Apologies if this is a duplicate question. I did search prior to posting :-) I think it may be somewhat related to my other question here but I think it's different enough to warrant a separate question page.
Symmetric algorithm key lengths seem typically smaller to me:
AES uses keys sizes of 128 bits, 192, or 256 bi... |
I read some materials about MS u-prove and IBM Idemix.
But according to these materials, the opinion about revocation is different.
Some materials say that u-prove and idemix do not provide revocation, but others say that they provide.
I tried to read technical papers about both but it was too hard to read.
Am I correc... |
I'm implementing an elliptic curve system primarily for ECDSA verification. I've evaluated different point representations and decided that using Jacobian projective coordinates suits best for my needs. Using this representation the point at infinity $\infty$ corresponds to $(X:Y:Z)$ = $(1:1:0)$.
As it is required to c... |
I'm developing software that will use public key encryption as part of its user identification, verification and data ownership processes. Assume that I have the user experience side of things worked out and that what I propose will work well within the design of my application; the question I have here is purely about... |
I was just wondering, because in many encryption tools like Veracrypt or GnuPG you have to generate pseudo randomness with your mouse movement. So, where do automatically generated keys take that randomness from? For example, when you generate a RSA certificate with OpenSSL.
|
I'm reading the original Paillier paper.
I've reached Lemma 3: If the order of $g$ is a nonzero multiple of $n$, then $\varepsilon_g(x,y) = g^x y^n \mod n^2$ is a bijection, where $x \in \mathbb{Z}_n$ and $y \in \mathbb{Z}_n^*$.
Take for example $n=6$, $n^2=36, \mathbb{Z}_6^* = \{1, 5\}$.
Let $g=5$. The order of $5$ mo... |
While reading through a textbook, I came across the idea of a probabilistic public key cryptosystem, which uses a probabilistic TM to generate the public encryption and private decryption algorithm; it is possible the encryption algorithm is probabilistic. If the encryption algorithm were not probabilistic, would the P... |
I understood the XOR trick that allows an attacker to guess a block of a previously sent message from the client to the server: the attacker forces the client to send the message $\tilde{m} = c_n \oplus m_g \oplus c$ where
$c_n$ is the last block of the last ciphertext;
$m_g$ is the attacker guess of the decryption of... |
Party A has a ciphertext $c = (g^r, g^2 h^r)$, which is an encryption of the integer 2 under A's public key, $h$. The encryption scheme used is the additively homomorphic variant of El Gamal. This ciphertext has been homomorphically modified by other parties, so A does not know the randomness $r$.
Is there a way for A... |
This question is about the security of public-key ciphers when related plaintexts are encrypted by the same encryption key. Take Paillier for example. I know that Paillier is semantically secure under the DCRA. Now a sequence of related plaintexts are encrypted by Paillier with the same encryption key, but for each of ... |
I came across below Image of garbled circuit and want to know what exactly is garbled circuit and if we consider two party computation then how can we differentiate between f and x as Alice and Bob's input and what exactly is f and x.
Also How it can be useful for Multi party computation..
|
Are there interesting protocols for which proof of knowledge is required, but not zero knowldege?
Is Proof of Knowledge an interesting proof by itself?
|
I'm looking to accomplish a Enc-then-Mac approach using
AES-CTR
and
ECBC-MAC
Now ECBC-MAC requires 2 distinct keys, one for the MAC, and one to encrypt the Tag.
If I do this:
Use AES256-CTR for the encryption.
Then split the AES256 key into 2, and use each 128 bit key to do
AES-128-CBC-MAC
and
Encrypt the Tag using AES... |
A party A gives me a commitment of a message $m$ and want to convince B that is $|m|=L$. The proof myst be:
Non-interactive (a prover can convince me by sending me one message)
Succint (constant or sublinear size in the length of m)
I was looking into the NIZK space but I could not think of any solution.
Note: I hav... |
I am not really sure where I read that, but I have been thought that Random Oracles cannot be used in practice.
Then, I stumbled upon this paper that says: "Random Oracles are Practical: Paradigm for Designing Efficient Protocols" which totally confused my understanding
Why do they not exist in practice?
Why do we en... |
As title, is this a safe deterministic encryption to use the second block of plaintext as IV, and encrypt with CBC mode?
I am sure that the second block used as IV is different than the first block for each record, so there won't be an "all zeros" problem.
|
Until now I didn't find a specification (RFC or similar) for the file format that uses the BEGIN RSA PRIVATE KEY prefix and END RSA PRIVATE KEY suffix. Where is it defined? Is there an official name for it? It seems to be at least related to the series of PEM RFCs.
I am looking for reference information about the deta... |
In a system which requires a user to have a password, as a quick workaround I wrote random junk as the bcrypt hash so that no one will be able to login to that user.
However theoretically there probably is a password which matches this randomly selected hash value.
I was wondering if it could be possible in such a sc... |
In my opinion the most important development in cryptography in the last 30 years is the precise definition of semantic security of a cipher. This definition captures the intuitive ideas of Martin Hellman, Ralph Merkle, and Whitfield Diffie of the mid-1970's tying cryptography to complexity theory that gave rise to the... |
I'm new to cryptography and I am working on R-ate Pairings on a BN Curve:
$y^2=x^3+b$ with $b$=5
with its M-type twist:
$y^2=x^3+b\beta$, and $\beta^2 = -2$.
The base finite field characteristic is P
Now, according to the paper, there is a Frobenius endomorphism
$\pi^p:(x,y)\longmapsto(x^p,y^p)$
So, for a given poin... |
In the OAEP padding/armoring scheme for RSA encryption, the seed used is masked (with the masked data block) in the end. Why is that necessary, since the seed is random anyway?
|
Does anyone know of any commonly accepted or standard specifications for languages, modelling, diagramming, etc. for specifying and describing the life cycle of keys in a system?
Thanks.
|
In Matsui's paper, Section 5 ‘Linear Approximation of DES Cipher’, Matsui gives two similar equations: Eq. (6) for the first round and Eq. (7) for the third round.
The two equations give an approximation of bit $K_1[22]$ and bit $K_3[22]$. Then he derives in Eq. (8) from Eqs. (6) and (7) an approximation of $K_1[22] \o... |
Is there a floating-point CSPRNG that operates, natively, using floating point operations?
Looking for a CSPRNG that's very fast on GPUs, and would be hard for a CPU to beat.
EDIT: Floating point doesn't matter too much. Specifically, I'm looking for something for which GPUs or FPUs are, by far, the optimal hardwar... |
I'm writing a web service that gives a unique token per client connection. And the following are the desired properties. I'm assuming server's issued token db is lost and untrustable client presents the token to the server.
Server should be able to tell if the token is previously issued by the server or not.
Server ... |
I am implementing Ed448 in my crypto library. I found that if $a=-1$, I can use the formulas describing in this webpage, which saves some multiplications.
However, in the page 6 of RFC 8032, it says
A non-zero square element $a$ of $GF(p)$. The usual recommendation
for best performance is $a = -1$ if $p \bmod 4 = 1$,... |
I know this may be marked duplicate. It is based off of this question and this answer. However, I feel like I'm missing something...
My example:
Bob wants to encrypt a message and send it to Alice using Alice's public key.
However, Bob also wants to sign the message using his private key before encrypting the (message... |
Let m be a message of arbitrary size, potentially very large.
Is it necessary to use larger parameters in the public-key encryption scheme in order for the receiver to decrypt that message?
My guess is that, in the case of RSA, the size of the message cannot exceed the size of the modulus. I assume this holds for any p... |
I want to implement a PRG (Pseudorandom Generator). As AES is implemented in hardware, I am planning to use AES for efficiency. I am planning to use:
$(AES_k(seed) \| AES_k(seed+1) \| AES_k(seed+2) \|....)$
as a PRG ($k$ represents the key of AES). The receiver of this sequence does not know the random seed, but knows... |
Let $c ≥ 2$. A code $C ⊂ Q^n$
is a $c$-frameproof code if for any set
$X ⊂ C$ with $|X| ≤ c$ we have
desc$(X) ∩ C = X$.
Thus the only codewords that a coalition of up to $c$ pirates is capable of producing are those
that already belong to members of that coalition. To see a definition of desc$(X)$, see here.
What I wan... |
If I started with a sha256 hash such as
3f46fdad8e5d6e04e0612d262b3c03649f4224e04d209295ef7de7dc3ffd78a7
and rehashed it continuously (without salting):
i) What is the shortest time it would take before it started cycling in a loop or back onto the same value if at all?
ii) If it did cycle back on itself, could we ass... |
I'm a student who follows software engineering. I'm looking for method to generating irreversible unique id based on fingerprint for a software competition. What kind of encryption method can we use?
Please, Can anyone give some terms, topics or suitable references to study our selves to take our project to the success... |
Consider the function $f: \{0,1\}^n\rightarrow \{0,1\}^{2n}$
I want to count all the functions that have one entry where its first n bits are equal with the last n bits.
Assume we target entry number 10 and g is one of those functions that have the aforementioned property: $m=\{0,1\}^n;g(10)=m||m$
The total number of f... |
I am somewhat confused in the reasons why one would use the real-ideal model instead of the universal composibility framework.
The UC framework seems to me, to provide a much stronger definition of security. Is there some explanation to this?
|
Suppose that we have a d-bit hashing function, and assume that the dimensionality of the input
space is unbounded. The probability of finding a collision in 2d/2
steps is 1/2, and we call this a
“birthday attack”. Therefore success in one birthday attack is equivalent to a random variable
S ∈ {0, 1}, where Pr{S = 1} = ... |
Consider 6 people, $A,B,C,D,E,F$ and a secret. Construct a scheme which enables the following subsets of people to retrieve the secret:
three players from the set $\{A,B,C,D\}$
two players from the set $\{A,E,F\}$
two players
from the set $\{B,C,D\}$ together with at least one player from the set $\{A,E, F\}$.
I want ... |
I have been trying to encrypt media(Video and audio content) from a nodejs server to a client like android or iOS. I heard of DRM but could not get a reliable implementation of DRM.
I wanted to make my own implementation of protecting my content, But am not sure issues i would have with my implementation.
THIS IS MY I... |
Given a known IV and a small part of the key (not enough to use brute force)
is there are any way to break CBC encryption with only one cipher text?
|
So I heard that Twofish is much more secure than AES, because it is not vulnerable to bruteforce and only supports 256 bit.
Also I heard that is not vulnerable to most side channel attacks.
And Twofish might be much more secure because there is no known attack to it, while in AES there is a known theoretical attack.
Fr... |
I've been doing a lot of reading on the proper way to implement AES CBC mode with HMAC authentication. I've seen many explanations, however, I've had a hard time finding an actual real example (with code) on all steps including key derivation, encryption, and decryption. My application uses PBKDF2 for key derivation. H... |
I need to generate 64 bit random values using AES-CTR.
Using fixed 64 bit plain text and sequential nonces can I assume the higher order 64 bit output values of the AES-CTR to be random with a period of $2^{64}$?
|
In this lecture the lecturer notes that the projection of the vector $b_2$ onto the vector $b_1$ will always result in a vector that lies between $-b_1/2$ and $b_1/2$. Why is this statement true?
I recognize I could be mis-reading these lecture notes. More generally my question is: What is the significance of the value... |
I was introduced to NIZK from the notion of CRS: since we have a trusted CRS, then a prover can simulate a challenge by querying the CRS.
Similarly, the prover can simulate the challenge of a verifier by using the Fiat-Shamir heuristic.
Can someone explain if there is any relation between the two?
Are they two differe... |
What is the difference between public coin and a common coin?
I often see both appearing in the literature, but I cannot explain myself, whether they are the same concept or not.
|
Assume we have a hardware device with build-in AES decryption and support for ECB and CBC mode (but no support for AES encryption). It only receives data and decrypts it. Minor modifications of the hardware are still possible, but you can't add AES encryption.
Now assume we want to add a MAC for ensuring integrity. CBC... |
LWE is the one of the most promising post quantum strategy.
How does parameters (key sizes, time for encryption etc) for LWE compare with modern deployed standards such as Factoring or discrete log based solutions for various problems such as:
Signature,
Key exchange,
Homomorphic encryption,
authentication,
various ot... |
What is the best way of using both broadcast encryption and RSA private keys? I'm particularly interested in Broadcast Encryption as implemented by BGW 1, but I guess that the question stands for any broadcast encryption system.
My confusion comes from the fact that the initial phase of Broadcast Encryption takes in th... |
Disclaimer : basic crypto knowledge
So this is a question specificly about veracrypt , but theoreticly applies to any other encryption software which supports cipher cascades .
So if you use a cipher cascade with 3 cipheres e.g : AES(TWOFISH(SERPENT)) , then the key is divided in 3 different keys (hashes from KDF ) w... |
So when genrating a private key / or key pair in OpenSSL ther is the -nodes tag to deactivate the encryption of the private key . i looked it up and It means "no DES" . So no DES is used . Why is DES used for encrypting such secret information even tho it is not considered secure any more and OpenSSL is one of the most... |
I have two hosts, A and B. Host A gives host B a large piece of data and deletes it. Host A then needs to periodically confirm host B is holding the piece of data.
Before deleting the data Host A precomputes multiple HMACs with a CSPRNG generated random number (a salt). When Host A needs B to confirm the data still exi... |
I have started reading
"How to Exchange Secrets with Oblivious Transfer" (PDF)
"On the impossibility of fair exchange without trusted parties" (PDF)
I found the abstract of those these two work to be contraddicting.
Are we saying that exchange of secrets is possible and fair exchange is not without a trusted third p... |
When I call openssl sha1 from the command line
echo "00" | xxd -r -p | openssl dgst -sha1
the output I am receive is
(stdin)= 5ba93c9db0cff93f52b521d7420e43f6eda2784f
But the NIST Vector output is:
MD = da39a3ee5e6b4b0d3255bfef95601890afd80709
Can anyone please explain this?
|
I'm working on an device that will have its own keypair to sign data that it acquires. The public key will be signed with a provisioning key to ensure authenticity of the device. I want to put the public key in a QR code printed on the device, as well as the signature by the provisioning key. If I use a regular X509 ce... |
I recently study WPA/WPA2 security and I want to know how PTK is derived. I found these parameters in the IEEE 802.11 standard (2012):
PRF - X(PMK, “Pairwise key expansion”, Min(AA,SPA) || Max(AA,SPA) || Min(ANonce,SNonce) || Max(ANonce,SNonce))
where X = 256 + TK_bits. The value of TK_bits is cipher-suite dependent
A... |
Lets say for some reason you carry AES-256-XTS encrypted data with using Whirlpool as the KDF. The data is in a 100 MB encrypted container format.
You get caught on the airport by the police. The data is so important to the country that it is the #1 priority of the intelligence service to crack it. However, no social e... |
I have been researching ARX algorithms, but I would like to know how well does ARX (both single or multiple rounds of) provide diffusion compared to an s-box or an SP network.
Also, are there any modifications you can make to an ARX algorithm to make it provide more diffusion?
|
An application owner at my organization requested a java keystore to be built around specific parameters and provide them with both the JKS and pkcs12 versions of the keystore. Weeks later and after many changes they were troubleshooting some issues. The application admin, not thinking of the security implications, b... |
First, I apologize if this question is off topic as defined here. If so, please let me know and I'll close it.
I'm building a sessions middleware for an http service and thought it might be a good idea to append hmac hashes of session id's, rather then setting bare session id's in cookies, but am a bit of a crypto novi... |
I am refering to the theorem:
If the Discrete Diffie-Hellman problem is hard (i.e. if the DDH assumption holds), El Gamal is IND-CPA secure."
which is stated here along with the proof.
So we have adversary A that has a non-negligible advantage with CPA and we are trying to build adversary B that can break DDH.
B is... |
For a thought experiment I'm looking for a threshold encryption scheme where $k$ out of $n$ shares are needed to encrypt the data and everybody can decrypt the data. However, I only found schemes needing $k$ out of $n$ for decryption. I know that it would be an uncommon scenario.
The problem behind this is that I would... |
If we have a stream cipher and the key but have lost a significant part of the beginning of the cipher stream of unknown length. Obviously we can add syncing information outside but I was wondering what can be done without extra info.
I was thinking of a scenario where there is a pattern we expect to find periodically... |
Let p, q be chosen as in Schnorr's protocol, and let $g_1, g_2, h$ be elements in $Z^*_P$ of order q.
Assume that the prover P gets as input $w_1,w_2$ where $h = (g_1^{w_1}g_2^{w_2}) \mod q$.
Consider the following protocol:
a) P chooses $r_1,r_2$ at random in $Z_q$ and sends $a = (g_1^{r_1}g_2^{r_2}) \mod q$ to ... |
Let's consider that Alice and Bob both know a shared secret $secret$ and don't know each other DH public keys. They want to authenticate each other and their keys using only $secret$. Let's also forget about an existence of SMP. Can the following scheme be considered secure?
First, Alice and Bob perform Diffie-Hellman ... |
I am using BouncyCastles Java API and want to use McEliece encryption. After browsing through various paper for finding good parameters (e.g. How to choose McEliece's parameters?) I am now having the problem, that I do not see a possibility to set these parameters with the BouncyCastle API.
In all papers, the parameter... |
When Encapsulating Security Payload (ESP) is used in the tunnel mode, a new IP header is computed and added. Why is this necessary? Thank you.
|
I have ElGamal signature scheme implemented in finite field $\mathbb{F}_p$. The thing is that I need to apply Pollard's Rho Method on elliptic curve $E(\mathbb{F}_p)$ to this scheme, solve discrete logarithm problem and find private key $x$. In ElGamal scheme I have $a^x\equiv b\ (mod\ p)$ where $a,\ b\in \mathbb{F}_p... |
Sorry if this is asked a lot, I just don't know if there's a specific word for it.
I'm at uni and have a codebreaking exam in a few days, I don't have to do well in it but I want to do as well as I can, but this is really making me struggle.
Here is my work so far, everything's going alright:
Obviously when I try t... |
Recent versions of Unix store encrypted passwords in a file that is not publicly accessible. Such files are called shadow password files.
In the UNIX password scheme, if only the operating system and system administrators have access to the password file. What are the security requirements for the underlying encryption... |
I am aware, that it is possible to build a stream cipher using some deterministic PRNG (like HASH_DRBG or CTR_DRBG) with good key material as the seed.
What are the advantages of using a purpose built stream cipher algorithm (like Salsa20 or RC4 before it became obsolete) over a generic PRNG?
|
Can the channel keys that are derived from an AKE (authenticated key exchange) protocol be used in a secure channel that wants to have perfect forward secrecy?
If the goal of AKE is to establish channel keys and provide authentication of the entities at the same time, then this implies that the long term key used for a... |
I am currently working on a broadcast attack on RSA. This is what I have:
17 ciphertexts $C_i$ and corresponding moduli $N_i$ for a single common message $m$.
Public key $e = 17$
The first part (of the exercise) asks me to attack the first 17 ciphers. I programmed it with sage using the CRT. The CRT returns a result ... |
I'd like to know when a hash function is considered insecure. Clearly, if it is easy to invert then it's not secure at all. Apart from that, let's say I've found a bunch of inputs $x_1, x_2, .. ,x_n$ s.t their hashes are equal. Would this mean my hash function is insecure even though $n$ is much smaller than my input s... |
For example, Schnorr signature is pretty similar to El-Gamal.
And everywhere where Schnorr signature is explained (for example - on Wikipedia),
there's said that there's Schnorr scheme which is actually interactive proof of knowledge scheme (or identification protocol). Then, applying Fiat-Shamir transformation, we get... |
What is difference between Yao's "Garbled Circuit" and the "Garbling Scheme" given by Mihir Bellare, Viet Tung Hoang and Phillip Rogaway in "Foundations of garbled circuits"?
I also want to know is it possible to use the garbling scheme / garbled circuit for multi party computation or it is only for 2 party computation... |
Consider we implement remote service, which will be accessible via API(i.e. restful http or grpc). All users are authenticated via pgp keys and each user has pgp keypair.
How to implement authentication for such a service?
I see multiple approaches and I'm unsure which one to choose:
Convert keypair to X509 certificat... |
The Bouncy Castle source code (Java edition) has a ECPoint.normalize() function. It seems to calculate the modular inverse of a coordinate of a point on the curve. Without it point compression - for instance - seems to fail.
It seems that usually this normalization is performed as part of Elliptic Curve calculations au... |
I'm looking for a practical example for creating an EC Ring Signature, very much at the level of detail as found in the CryptoNote Whitepaper but with O(1). I saw Short Linkable Ring Signatures for E-voting, E-cash and Attestation, but I'm not sure about two things:
Does it actually require a group manager or did I mi... |
Let´s suppose that I want to send an RSA encrypted message to Alice, so I use her public key. Such a message contains a number only. If Eve intercepts the message, is it possible for Eve to alter the encrypted message (the number) so that, when Alice decrypts it she gets twice the original number?
I can think of the fo... |
I am a beginner in cryptography. I studied the RSA algorithm and now I want to solve an exercise.
Cipher Text (HEX): 41A387CABD1C144C99E4B44CE2812A7696CE8A9B5941164741E91B82D89886700DD73A61C580BD75DFC0351D3D6BBF644408A77CB421A115C5
Public Key (e, n): (4049, 16395979)
If:
n = p*q
z= (p-1)*(q-1)
e*d mod z =1
And after... |
Say Bob wants to tell Alice a secret message, then they start some message exchanges protocol. At the end, Alice will receive the secret message and can be convinced that the message was not produced earlier (and obviously not later) than the time they communicated.
An attacker (Bob included) will try to win by forging... |
A client is communicating with a server through https, which should provide them with the security they need. I would like to add an extra layer of security.
The protocol would look something like :
The 128-bit symmetric key is stored in the backend file on the server.
Client connects to the server's IP address using... |
Given $e,d,N$ such that $e \times d \equiv 1 \pmod{ \varphi(n)}$. Can we efficiently calculate $\varphi(N)$.
$\varphi(N)$ will have multiples values. We need to eliminate those values that are
higher than $N$
Odd
and some other criteria
Is there any efficient algorithm to find $\varphi(N)$.
|
The semantic security of Regev's cryptosystem [Reg05] is based on the LWE assumption and leftover hash lemma. This lemma implies that because $m \approx (n+1)\log q$ is large enough, so for uniform $A\in \mathbb{Z}_q^{(n+1)\times m}$ and uniformly random $x \in \{0,1 \}^m$, the term $Ax\in \mathbb{Z}_q^{n+1}$ is close ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.