instruction stringlengths 32 27.2k |
|---|
This might not be a very specific question, but I was wondering this morning.
If one were to encode a message by making a string out of an entire book and writing the message by searching for a random occurrence in the "book-string" of each letter in the message and replacing it with the string index of the letter. Add... |
I encountered trouble with calculating Tr (trace function) for points on an elliptic curve in polynomial basis ( $GF(2^m), m = 431$). Maybe there are any assumptions that can simplify and allow efficiently to calculate Tr operation?
I used the Seroussi approach to decompress points but it seems like I need some basic k... |
Let me start by explaining my understanding of the various concepts involved in this question:
Salt: Random bytes of data used as secondary input for a password hashing function, like so:
hashfunc(<password>, <salt>) -> <hash>
And both the <hash> as well as the <salt> that was used are then stored (in a database, for... |
In our process of digital checks for banking - which needs to work online and offline - the receiver needs to know the chain of all generated signatures without consulting an Internet service. In this scheme the sender gets offline in order to compute his real last balance to accept or to refuse the transaction. This i... |
I feel I am misunderstanding the idea of nCPA security and its relation to uniform permutations. In particular I've been reading the paper "Hoang, Morris Rogaway; An Enciphering Scheme Based on a Card Shuffle".
My understanding of the definition of nCPA security is the following.
Suppose that $E : \mathcal M \to \mathc... |
In the paper [1,p5], the authors construct a matrix to find out $n$ solutions of a equation set as follows:
where $c_i$ is generated by the adversary, $c$ is picked by the simulator. Note that $c^i$ means different forgeries instead of exponent.
My question is, they find out $n$ solutions iff the determinant equals no... |
I received a representation of a point on an elliptic curve $GF(2^m)$ (with curve coefficient A, B) in specific format and some description how to decode it but not all is clear to me. I would be appreciate to someone to explain some issues to me.
So I have an array of the bytes $\tilde{P}$ (array's size equal to m) an... |
For example a Pedersen commitment for an elliptic curve of maximum $2^{64}$, requires every number between $0 \to 2^{64}$ to be checked. Why do range proofs, in the case of a Pedersen commitment, not just work in the power of 2 instead of the numbers itself?
|
I was recently solving a CTF problem and it involved a shadow and passwd file. I got to know the username easily but I am unable to find the password since it is SHA-512 hashed. My doubt is that when I read the hashed value it is not exactly a random hexadecimal value. It contains many characters other that 1, 2, 3 ...... |
There are many Fully Homomorphic Encryption over the Integers schemes whose security is based on the intractability of the Approximate GCD (AGCD) problem.
The paper Algorithms for the Approximate Common Divisor Problem surveys several lattice reduction based algorithms for solving AGCD. All of them require $t > \frac{\... |
In feistel cipher , does it matter that number of rounds be 16 ? is using 16 rounds will give the best result ? Or using any number of rounds is the same?
in cryptography and network security by william stallings we have : "The essence of the Feistel cipher is that a single round
offers inadequate security... |
Are there security vulnerabilities given the would a user be able to access the original text and the encrypted text with AES using an MD5 as a key?
In other words, if the user had both the original and encrypted text, is it possible for the user to encrypt and decrypt their own text or an altered version of the site's... |
I followed the recommendation of choosing threads, memory consumption and the number of iterations (in that order) on my machine. But now I wonder which passwords (by means of entropy) are actually secured by this set of parameters.
Clearly, a single letter is not secure, regardless of the parameters; but on the other ... |
In Regev - On Lattices, Learning with Errors, Random Linear Codes, and Cryptography, chapter 5, Public Key Crypto System, it is stated that
The probability distribution function $\chi$ is taken to be $\Psi_{\alpha(n)}$ ... we can choose $\alpha(n)=1/(\sqrt n\ log^2n)$
The document states in §1 that the standard devi... |
I have a general question about quantum security. ECDSA is suppose to be broken by quantum computers. Whilst something like NTRU is suppose to be secure.
My question is: if we sign with ECDSA and encrypt the signature NTRU. Does that make the signature safe? Because I can expose both ECDSA and NTRU public keys but if e... |
I had asked a question related to this before:
Oblivious Decryption: Decrypting with a private key, without knowing the message
@rikhavshah has an answer, which I would like to discuss the security of.
Simply put:
Alice has an RSA public key $(e, N)$ and a private key $(d,N)$
There's a ciphertext $x$, padded and encry... |
If you find a flaw or bug for example in Linux kernel you can create an issue in GitHub, or if you can solve it you can contribute.
How about Finding a flaw in cryptographic protocol?!
How can you report it or flag an issue?
If you can fix it, is it possible to contribute?
|
Let $N$ be a large number; and $(e, d, N)$ be a secret-key; where $e$ is a one-time random factor, and large enough (say the more or less the same number of bits as $N$), where $e < N$ and $e * d \equiv 1\pmod N$
Encryption of a plaintext $m$, where $m < N$, is as follows:
$ c = m * e \bmod N$
Decryption of a cipherte... |
Suppose I have a server and a client. The client has a list of arbitrary strings and the server is supposed to filter this list using white and black lists kept on the server side. It would be nice not to share the list of the strings to the server and the white/black lists to the client. For example, a list of open ap... |
The factorization search is an interesting problem in non-commutative crypto that can be defined as:
Given an element $c$ of a group $G$, two subgroups $A,B \leqslant G$. Find two elements $a\in A$ and $b \in B$ such that $c=ab$.
In the case of $A=B$ we can see that any element $a'\in A$ will give us $b' \in B$, since ... |
I have a signing certificate that I'm loading into an X509Certificate2 object in Visual Studio. I can't get my head around why the certificate itself has one signature algorithm, while the same certificate's public and private keys have a different signature algorithm.
Specifically:
x509Certificate.SignatureAlgorithm.F... |
If I have a HMAC_SHA1 MAC and a potential key, can I check whether this key could have produced this signature without knowing any of the message body plaintext?
|
I received this problem and unsure how to figure it out. Apparently it is possible to decode the value correctly 99% of the time.
An example: Suppose the target is 20, and there is a function (let's call it noisy_encode) that will return the number of 1's of the XOR of 20, X, and u. You can specify X, and u will range ... |
I'm running into a problem where I generate signatures using a library like pynacl's (https://pynacl.readthedocs.io/en/stable/signing/) ed25519 implementation and then when I verify it using xedDSA's verify function (https://github.com/signalapp/curve25519-java/blob/master/android/jni/ed25519/additions/xeddsa.c#L45) it... |
When using GCM mode decryption, is it necessary to wait for the decryption to complete, (and thus being able to see if the integrity of cipher text is OK) before beginning processing the clear text output, or is it possible to begin processing the clear text in parallel without any risk, regarding chosen cipher text an... |
Avalanche effect:
The strict avalanche criterion (SAC) is a formalization of the avalanche effect. It is satisfied if, whenever a single input bit is complemented, each of the output bits changes with a 50% probability.
My questions are:
Is a 50% bit-change-probability optimal for any hash or is it just the minimal... |
The best related concept I can think of is the two-man rule. https://en.wikipedia.org/wiki/Two-man_rule.
To put it simply, n people are required to give their authorization before a system / secret can be used.
If I have a file (say an encrypted password or private key) that allows me to access a server with sensitiv... |
Reading through Wikipedia, I saw this:
It has been shown that the Merkle–Damgård construction, as used by SHA-2, is collapsing and, by consequence, quantum collision-resistant, but for the sponge construction used by SHA-3, the authors provide proofs only for the case that the block function f is not efficiently inver... |
Is there any way to hash from a string
$\in \{0,1\}^{*}$ into a supersingular elliptic curve $E(F_p)$ such that the hash function behaves(provably) like a random oracle, and is efficient?
Using Maurer's indifferentiability framework 1, one can prove that a cryptosystem using a random oracle is secure if the random or... |
The set of authorized subsets of participants is called an access structure.
In a multipartite access structure, the set of participants is divided into several parts and all participants in the same part play an equivalent role.
In the 12th line of abstract of this paper, it is given that every access structure is m... |
Say that Alice wants to communicate with Bob, but she does not want any direct contact with him. Instead, Alice will put the secret in public, such as a discussion board, and Bob will come there to get the info.
Assume that the secret is "attack", Alice can come up with the sentence "Apple is the best to eat, and it c... |
In the answer to this post at security.stackexchange, someone describes how, using pencil and paper, one can do 2-of-3 secret sharing with a tabula recta. But I don't understand how he created his table, and although I can see some sort of pattern I wouldn't be able to reconstruct it in a pinch.
Another question I ha... |
In RSA, is deducing the public key from the (message, signed message) pair possible? If so, how can it be done?
|
I am studying an encryption scheme which is Elgamal-like where I think CRT can help optimise the encryption and decryption but I am not sure if I am applying CRT the correct way.
I have a cyclic group $G$ of order $n=p_1p_2q$, generator $g$ of $G$, an element $h=g^x$ of $G$ where $x$ is a random integer and the secret ... |
I am a newbie to this area. I have a program that uses a custom algorithm to encrypt a message. I can encrypt it as many times as I want, but using the same key. I have couple of questions so that I can improve my algorithm.
My program support multiple passes. How many iterations of these passes my program should do? ... |
I have two questions;
I need an explanation for the differences of below two cipher suites.
How do they work with SSL/TLS protocol? (my main concern first one doesn't have 'ecdhe_rsa' part )
tls_aes_128_gcm_sha256
tls_ecdhe_rsa_with_aes_128_gcm_sha256
|
A password string consists of one or more of the 26 characters A..Z and can be of any length from $1$ to $8$ characters. How many password are possible in this scenario?
As my calculation, it should be $2^{26}\times8!$, is it correct?
|
I need some algorithm that satisfies:
H - hash function
Enc - encryption function (using public key)
M - secret data
$Enc(H(M)) = H(Enc(M))$
Let this system exist: the First person has a secret data $M$, he publishes hash H(M) so everyone knows it. He encrypts data with public key of the second person and publishes... |
I'm trying to solve a problem that goes like this:
c:
3627012278341906638812055223389930986183534985985788329485858567557776422481803764253822727571579721298297507294021402712610264908031407416536130863074328807753848481071241506052292677974569848935466918445359356828655429344756595758706102715670649052786530127013616... |
Some questions I have ended up wondering about while reading through many of key-exchange protocols are:
Is there an intrinsic reason, why most key exchange protocols use group-based approaches apart from it being a well-studied area?
Given a key exchange protocol does there always need to be some group or a particul... |
I was just going through RSA encryption scheme and was trying to figure out how to do all maths. I was suddenly struck by the question that (e,n) is public to the people. How easy it becomes to attack one's system if you find out that you are using same n as someone else?
|
I would like an intuitive argument for what goes wrong in the proof that that a one-time pad provides perfect secrecy, if the key $K$ is not chosen uniformly at random from the entire key space.
|
I'm learning about garbled circuits, and I'm using the following tutorial: Yao's Protocol.
I have a questions regarding to construction (encryption) of truth table in garbled circuits.
Slide 14 says:
For each wire x, y, z, specify two random values, corresponding
to 0 and 1.
So I picked:
(k_x0, k_x1) = 1, 0
(k_y0,... |
Is there a known construction of f, such that given that a trapdoor OWF exists then f is a trapdoor OWF, so we can construct inefficient cryptomania, ala Levin's construction for minicrypt in "The Tale of One-way functions"? Is there such a construction, which would yield OWF if we are in minicrypt, but TOWF if we are ... |
I'm reading a bit about elliptical curve cryptography. The basic idea is to define a dot-operator on the points of an elliptic curve. Given a starting point $P$, and applying this dot-operation $n$ times, we get another point $Q = n. P$ on our curve.
The public key: The used curve, the starting ($P$) and ending point ... |
The question is quite simple:
Is there a group where solving the CDH problem can be shown to be easy but solving the discrete logarithm problem is assumed to be hard?
Refresher on the problems:
CDH: Let $\mathbb G=(G,+,0,p)$ be a public cyclic group of order $p$. Given any $g\in G$ and $g^a,g^b$ with $a,b\stackrel{\$... |
I had a question about the motivation behind this definition provided in Katz and Lindell's cryptography book. I copied the paragraph in question along with the definition of the experiment.
Perfect (adversarial) indistinguishability. We conclude this section
by
presenting another equivalent definition of perf... |
Suppose there are three voters $P$, $Q$ and $R$, and each will vote only on one candidate out of $X$, $Y$ or $Z$, with a 6 bit vote vector corresponding to $X
$, $Y$ and $Z$ respectively (with 2 bits each for a candidate. E.g., $( 01, 00, 00 )$ signifies a vote for $X$).
How can any voter find out the total number of ... |
I've seen both asymmetric encryption and secret sharing schemes based on graph 3-coloring, and I'm curious if this is a coincidence due to some peculiar property of graph 3-coloring alone.
|
My reasoning goes like this:
In principle, any trapdoor function can serve as the foundation for
an asymmetric encryption scheme.
All ciphers are trapdoor functions, since it's easier to encrypt plaintext than it is to crack ciphertext. Put another way, it's easier to use key and plaintext to produce ciphertext, than... |
I am currently doing a project on privacy preserving encryption using a k-means system and the Paillier encryption algorithm (homomorphic algorithm). I have to send an image of a skin disease to the server as an encrypted image.
To do this, k-means is applied on the encrypted image and the image is sent to the respecti... |
Assuming
a secret key $s\in \mathbb{Z}_2[X]/\langle X^n+1\rangle$,
a plaintext $m\in \mathbb{Z}_2[X]/\langle X^n+1\rangle$,
$e,e'$ are sampled from B-bounded Discrete Gaussian Distribution over $\mathbb{Z}[X]/\langle X^n+1 \rangle $ with reasonable standard deviation for security.
$a$ (a part of public key) is a rand... |
I'm implementing a demonstration hybrid cryptosystem in Python (FinCrypt, I know the name is bad) and I'm migrating over from my Weierstrass curve implementation, which was based off of this, to one based on Edward's curves from here.
However, I'm at a loss when it comes to mapping a message onto an element of the ell... |
In the paper Provable Data Possession at Untrusted Stores, there is a mechanism that allows a client to efficiently check if the server still has the client's data. They define two constraints for their system: server-side data access and communication complexity.
Also, they state that a scheme based on just Merkle tre... |
I have the following conditions:
String which consist of "STRING+key+ID+key" is hashed with md5. I have a knowledge of STRING (10 chars), ID is probabilistic (int 15), key is 15 chars long (a-z A-Z 0-9) and it's same on both occurrences. I can produce multiple hashes but without knowledge of key.
I guess collision is ... |
I am a newbie to the cryptography world. I am working on a custom algorithm that encrypts the data multiple times and results in a cipher text. It uses a different key in each round to encrypt it. I researched a lot but couldn't find any answer to this question. What do you think is the ideal number for the rounds of e... |
This paper describes recursive secret sharing. In one of their illustrations, a binary secret of length L, along with 3 other binary secrets of lengths shorter than L, are split into ternary shares of length L.
Any two shares can reconstruct all 4 secrets.
It seems to me there is no advantage in hiding multiple bina... |
I learned about probabilistic polynomial time adversary, but I have some doubt.
Is probabilistic polynomial time adversary referred to those who attack in polynomial time with the form of probabilistic?
|
Just like the case of a box that has been sealed. We can detect if the box has been opened or not by looking at the seal. Is there any way in cryptography or any encryption scheme that allows this to happen? If we have a ciphertext, I wonder if there is a mechanism that can detect if someone has decrypted it?
|
Whilst I was studying the mDP protocol I came across into the following step:
Group Key agreement:
Each $U_i$ checks whether $z_1 \bigoplus ... \bigoplus z_n = 0$ and whether all signatures $\sigma_i$ are valid and aborts if any of these checks fails. Otherwise, $U_i$ proceeds as follows:
iteratively for each $j=i... |
I have some NFC-Tags, which will be added to my devices. These NFC Tags are basically EEPROMs with an unique UUID (7-Byte, readonly, public) and some constant parameters (approx. 7-15 Bytes, read and writeable, also public) in it.
Can I use a digital signature in order to tell if a given NFC-Tag belongs to my devices... |
Say I would like to create an app that would allow users to organize treasure hunts for their parties. The host of the party would create a list of GPS coordinates for each hiding spot and distribute the list to the guests. At the treasure hunt, guests would then use the app – offline – to get alerts when they are clos... |
Hi I'm running the dieharder test suite (this) to test an algorithm, but I've found somethings that I don't understand.
This is the command that I run to test my binary file
dieharder -f test -a -g 201
I've tested my algorithm on file of different size: 30Mb, 300Mb, 3Gb
and the result are that I fail a lot of test on... |
I am not sure if this is possible to do using a tabula recta, but I would like to know how to calculate a multiple-character checksum of a text. For a single-character checksum, it's easy. You just begin on the table at the first letter of text, go down to the second, left/right to the third, up/down to the fourth, l... |
I'm making a demonstration cryptosystem using ECC ElGamal. I've currently got a working implementation of Edward's Curve operations and a basic ElGamal implementation (Encrypts only points on the curve), and in order to perform the mapping operation described in this answer, I need to determine the $y$ value of a point... |
Let $e$ be the public exponent (which is equal to $65537$) and $d$ the private exponent. Knowing the values of those two, is it possible to deduce $N$, the modulus, and if yes, how?
Note: the value of $N$ is not known! I also don't need to get the values of $p$ and $q$, but seeing how $d$ is actually calculated makes m... |
In this post, a couple comments suggested that a tabula recta could be used to perform Shamir Secret Sharing. I'm specifically interested in this statement:
you could just have a table of all 100 inverses mod 101
If this simply means a 10x10 table, that's no problem. That's smaller than a regular tabula recta. But... |
I am fairly new to HE and would like a short clarification on how exactly integers are securely encrypted using bits. The main idea is that one encrypts each bit value and represents the n bit number as n ciphertexts like this: $$E(x)=(E(x1),E(x2),...,E(xn))$$ where xi is the bit on position i. Why is that secure, when... |
Is there some provably secure hash function to prime numbers?
Say, a function $H: \{0, 1\}^* \rightarrow \{e: e \in \{0, 1\}^\lambda \land e$ is prime$\}$
I'm asking because there are some constructions to be used only on prime numbers (for example CL02 Strong-RSA Dynamic Accumulators).
|
Is it possible to prove the security of a cryptocurrency payment protocol by saying that the actors will seek to maximize their profits. Would I need to set this up as a game and prove it that way or what can I do to get started?
The information I have is the state of the system and then I have just iterated each agent... |
I have the following text that I want to encrypt with a password:
"This is my secret password: 1234567890"
encrypted with AES:
SgAHzFc3vluxLqZuzZKg8dzhy918N41SUU1BfBXN8CoEDfVJ0R9hox8PT2jKYA==
pass: 12345
When I encrypt this with a password using AES, the encrypted string is 64 characters.
Is there another type of encry... |
We're building a webservice for a third party customer who wants us to use "two-way SSL". By which I understand them to mean they want us to host the site using https, and to require that include a Client Certificate in each http request.
I've been working through a number of examples on how to make all this work with ... |
Consider the following arrangement:-
There is an unknown cipher algorithm operating inside the black box. You can enter infinite key /plain text pairs, and observe all of the outputs. The box might just as well be protecting a short friend/foe challenge as an entire 4K UHD movie. Any counter modes, streams, IVs, non... |
In a Distributed Network in order for a private key not to be compromised sharding will have to take place off the network, correct?
If so: Why is it when a Distributed Network shards private keys that they are so worried about it being comprised in the network when the sharded keys are encrypted? Does decryption take ... |
Does OAEP make sense for use in an ECC ElGamal cryptosystem? The way I see it, OAEP makes questionable sense even for RSA because even though it's a "all or nothing" transformation, many RSA ciphertexts already have to be split up into multiple blocks so that no one block exceeds the size of the modulus.
|
Let $H_k(x)$ be known to be a PRF from the family of PRFs defined by
$H_k(x): \{0,1\}^{n} \times \{0,1\}^{n} \rightarrow \{0,1\}^{n}$, and then define
$F_k(x) = H_k(x \oplus H_k(x))||H_k(x)$.
Here, addition is over $n$-bit integers modulo 2.
Question : Is $F_k(x)$ a PRF?
This question was presented at the end of my... |
i have field in database. ex: field name. this field maybe more than 16 byte. how to encrypt data more than 16 byte without cbc, etc?
any function or another ways to do this?
|
Ethereum uses RLPx/devp2p for inter-node communication. The protocol is encrypted using Elliptic Curve Integrated Encryption Scheme (see ref)
Under Known-Issues I found this paragraph:
The RLPx handshake is considered 'broken crypto' because aes-secret and mac-secret are reused for both reading and writing. The two s... |
I have been working on an assignment to solve argon2i hashes but unfortunately. I am not able to use GPU with JTR i.e. no opencl mode for argon2. Thus the speed is very slow. Any suggestion how to proceed using GPU based attack?
|
Can there exist a pseduorandom generator, $G(x)$, with input length $|x|=n$ and output length $|G(x)|=2n$, where $\leq n$ bits of $G(x)$ are equal to 1 for every possible input $x$? (I.e. no more than $n$ of the $2n$ output bits are 1 for every $G(x)$)
Such a PRG would have to meet the typical criteria for being a PRG,... |
I am new in the field of cryptography, and I am having some troubles understanding a concept regarding the lattice dimension needed in the attack on ECDSA using several messages with L known bits of each nonce.
In the paper "Recovering Secrets from Prefix-Dependant Leakage"
In Section 5 "Application to ECDSA", the aut... |
I wonder if I provide someone with two public keys from different elliptic curves, is there any way to prove that these two public keys are generated from the same private key without revealing the private key itself?
For example, I have a private key (which is a large random 256-bit number) and I generate one public k... |
The modular addition has been a main component in block cipher. The use of modular subtraction in block cipher is not common but there are some cipher such as Bel-T cipher which uses both modular addition and subtraction.
To find the xor differential probability of modular addition, the following equation is used :
$x... |
Shannon said that every cryptosystem can be expressed as a system of linear equations with a large number of unknowns of complex type. In cryptography groups are used since they are a natural representation of objects that satisfy known relations, this let us to build cryptosystem based on these relations that maintain... |
I have an unusual scenario where an RSA key pair is being used to protect the confidentiality of data in transit. The encryption exponent, the decryption exponent and the modulus are all kept secret between the two systems (i.e. there is no "public key"). The decryption exponent is 65537. Appropriate padding for RSA e... |
How many plain text / cipher text pairs are required by Grover's algorithm when it is used to try and discover a secret AES key?
I am trying to determine if having a device which limits the speed at which it produces cipher texts from plain texts will help protect against this attack.
|
Luby and Rackoff showed that 3 rounds are sufficient to make the Feistel networks a pseudorandom permutation.
Question: why are 3 round Feistel Ciphers not common?
My thoughts about the round functions of Luby and Rackoff construction are
They are hard to find one
They are hard to analyze
They are complex to fit small... |
I want to sign a message while not being able to see the message.
Logically, there should be a way, I just don't know how this translates into cryptography.
Here is an illustration for what I mean:
A man writes a message on a piece of cardboard. He wraps the cardboard in carbon paper and brings it to another man.
That ... |
I would like to send small separate packets of data.
I am thinking of using AES-128 or AES-256, and to add a counter as part of the plain text message.
Some clarifications:
Each message will be one block length.
The transmitter and the received are "counter synched". i.e. the transmitter sends the packet at constant ti... |
Consider the following cryptography scheme:
We are given a prime $p$.
Alice wants to send the plaintext $m \pmod p$ to Bob.
Alice chooses $a$ s.t. $\text{gcd}(a,p-1)=1$, and sends Bob, $u = m^a \pmod p$.
Bob chooses $b$ s.t. $\text{gcd}(b,p-1)=1$, and sends Alice, $v = u^b \pmod p$.
Now Alice sends Bob, $w = v^{a^{-1}... |
I am trying to find a symmetric cipher that is explicitly designed to be slow. I realize that this is generally not desirable, but I'd like many cycles and lots of electronic action. I could modify a cipher make a Fiestel network have a million rounds, but I'm trying to find something "provably slow" that is akin to ... |
What are the common cyphers where the cyphertext is always the same length as the plaintext?
I can think of XOR cyphers, and letter-substitution cyphers, what others are there?
|
I have a hash of a file $H_1$ and then I add salt and rehash it: $H_2$. I make my $H_2$ and salt public and I use my $H_1$ as a password. How long would it take for this to be cracked with someone trying to figure out all the combinations of the 128 characters and adding the salt to get $H_2$?
So they are trying to fig... |
I am trying to find out the inverse of and SBox, but in vain, I have seen multiple questions over StackExchange, But I cant be able to solve my issue.
As in this question, How are the AES inverse S-Boxes calculated? As in this link I followed all the procedure and I made a 16x16 Matrix of inverse. But When I multiplied... |
To test whether a secret value $[x]$ is zero, where $x \in [0,2^{k−1}]$, SPDZ uses the a based on the method of Catrina and de Hoogh [1].
This method requires to working on a field with modulus $p>2^{k+s}$, where $s$ is a is a statistical security parameter.
Does another method exist that perform this comparison but el... |
For Pedersen commitments of the form $C = x\times G + r\times H$, what is the worst thing I can do if I already know $H$ such that $H = a\times G$ ?
For standard curves, there are specifications for what value of $G$ should be used. Is there any such specification for values of $H$ ? What is the worst an adversary can... |
When using gpg to create a single key, I get:
$ gpg --list-keys
-------------------------------
pub 2048R/0C0EA301 2018-01-01
uid [ultimate]
sub 2048R/023A0509 2018-01-01
$ gpg --list-secret-keys
-------------------------------
sec 2048R/0C0EA301 2018-01-01
uid
ssb 2048R/023A0509 201... |
PRP is said to be a bijective function which means that there is a one-to-one mapping with the output. And hence the output can be inverted using the decryption algorithm to get the same input.
Question is how's PRF different from that. If it is not bijective, how are we going to decrypt the message?
In counter mode i... |
Just finishing an investigation into Shor's algorithm, and the following equation,
$$
O\big(\big(\log N\big)^2 \big(\log \log N\big)\big(\log \log \log N\big)\big)
$$
is given for its time complexity. However, this is negative for most small values, becoming 0 at $1\cdot 10^{10}$.
Why is this?
|
Can Grover's (or similar) algorithm be used to attack AES-128 when used in cipher modes like CTR? It seems like the answer is no... Also I have a similar question for SHA256 when used for a MAC. It looks like using quantum attacks on SHA256-MAC would only produce only a parallel key that generates a collision for a ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.