instruction stringlengths 32 27.2k |
|---|
I am fairly new to cryptography and I am trying to understand this picture here. I have some questions regarding this picture.
What should be an identifer for a side? For example, in the picture, it says that A sends an identifer with a nonce to B. Should I just set a fix alias for each side, something like String ID... |
I use an app on my phone that, after scanning a QR code on a website, gives me 6-digit codes which change every 30 seconds. These codes can be used for Multi-Factor Authentication (MFA) on some websites, often in lieu of SMS codes or in-app login confirmations.
Presumably these codes are generated based on the shared s... |
This is entirely hypothetical, I'm working on securing some data and I want to make sure we do this properly.
If I have a list of information which is encrypted (say, using a 256 bit encryption key) and by chance somebody gets their hand on the list.
In this case, they do not know what the encryption key/method is or ... |
The probability that a probabilistic polynomial adversary corrupting the sender can finds two pairs $(m,r)$ such that the output of the random oracle $c$ is the same (break the binding property) is negligible.
At the same time, the probability that a probabilistic polynomial adversary corrupting the sender finds a pair... |
I am planning to use the following XOR scheme to divide a secret into only 2 shares (I do not want to use Shamir Secret Sharing for different reasons that are beyond the scope of this post).
Here's an example of the XOR scheme I have in mind.
SECRET (128 bits) = 0 1 0 1 0 0 1 0 0 0 0 1 (…) 0 0 1 1 0
SHARE 1 = TRUN... |
There are two parties, and each has a list of plain-texts. My end goal is to assign indices to unique plain-texts across both parties. My present approach is the following.
Both parties perform a Diffie-Hellman key exchange to generate a secret key (which is the same for both workers).
Then they encrypt the plain-text... |
I need to add AES decryption with a 256 bit key to our software, and of course I won't do it myself; rather, I chose a library that works fine for our needs. It supports various modes of operation, the one I need is CBC (I know GCM would be preferable, but we get data from older hardware, and this is what it uses. The ... |
I'm using AES-CBC-256 with PKCS#7 compatible padding. I already have 32 bytes that come from a 'cryptographically secure random number generator'. In this scenario, does it make sense to use PBKDF2 to derive the key eventually used for encryption/decryption?
My scenario is that I need to port old code to a new stack. I... |
I understand that it is a system that "establishes the authenticity of the binding between public keys and their owners", but how does one join this web of trust? Do you have to physically meet one of the existing members, and they can get you in?
|
It seems all these options are correct to me
fingerprint of the provided input.
A one-way deterministic hash function.
symmetric hash function
A hash function that generates a digest.
Anyone identify the wrong option and why?
|
In the context of papers using the UC framework, I have seen the same cryptographic tools refereed as cryptographic primitives and functionalities. Are the two terms interchangeable?
An example is here:
Bulletin Boards and Smart Contracts are primitives which form the backbone of our result.
and
We also assume that... |
The most famous proposed COVID-19 application is DP3T. In this app a user constantly broadcasts EphIDs generated from a secret key as follows:
$$EphID 1 || ... || EphID n = PRG( PRF(SK_t , “broadcast key”) )$$
where PRF is a pseudo-random function (e.g., HMAC-SHA256), “broadcast key” is a fixed and public string, and ... |
I remember my cryptography instructor saying that in math, we can use logic to find out what we can prove and what we can't prove. Assuming this, how would we use logic to find out if a given problem has a ZKP or if it does not? On a similar note, is there a ZKP to show that a file (that one wants for someone else to d... |
I am trying to optimize GCM multiplication. This PDF explains GCM:
The Galois/Counter Mode of Operation (GCM)
The algorithms are in section 4.1
In algorithm 3 I have to multiply table M [128] with the element P that represents the
polynomial α.
Formulas (3) and (4) appear on page 9. From what I can understand, ... |
My understanding about XEX/XTS mode is limited. But from what I see, it has two good properties:
It is length-preserving so that encryption doesn't cost additional space.
It is deterministic, which is (usually bad but could be) a requirement in some use cases.
Assuming space is a scarce resource, encryption must be d... |
I wonder the Stream Cipher ChaCha20 only changes 96 bits each block,
why it can produce 512 bits keystream block,
I mean in the concept of a random number generator,
the entropy should be at least equal to the output.
However, change 96 bits to produce 512 bits keystream seems hav... |
LRW and XEX modes of operation look similar. They are both tweakable narrow-block encryption with XORs before and after each single-block cipher.
I didn't really get the point where they differ or why one would be better than the other.
What I currently understand (could be wrong):
LRW: E_K1(P+K2*I)+K2*I
XEX: E_K1(P+K... |
First of all I'm not good at English. Hope you will understand my question.
In the paper 'Lifting and Elliptic Curve Discrete Logarithms' by Professor J. H. Silverman I found this example.
Example
: We let $p = 257$ and consider the field $k = F_{257}$ and the elliptic curve
and point
$$e : y^2 = x^3 + 23 \times ... |
I need to create an unique token for a web service. I'm doing that in the following in the following way:
var element_id // auto increment number, every time different
var secret_key // an secret key
var random_key // a random generated string of 8 chars, every time different
var timestamp // the timestamp at the ... |
so i want to prove to a server that i have the private key to a public key for which i want to retrieve the server's signature. But the server is not allowed to learn either public nor private key.
In more detail:
In my setup a client has both public key pk and private key sk. For some authentication we need the serv... |
In two-dimensional even parity, how do we determine the corner parity bit?
Here's an example:
1 0 0 1 y
0 1 0 0 y
0 1 0 1 y
0 1 0 1 y
x x x x z
Finding the parity bits where the x's and the y's is fine, But what about the parity bit in the lower right corner (z)? Do we look... |
I'm new in cryptography and I'm developing a mobile app that gets user_name, E-mail ID, and mobile number as input. I'm a bit confused about how to encrypt that data so that I can decrypt it later.
Which is the secure way of encryption so that I can transmit the data to the server for storing. Suggest me some way on ... |
I am programming an encryption-decryption model in python 3. I want to check its strength. I found 3 methods to check, they are:
1. Degree of diffusion
2. Degree of confusion
3. Integrity check
For diffusion, i found that we can calculate hamming distance then divide it by no of bits and multiply by 100. Is the correc... |
There are 2128! permutations on 128-bit inputs. AES supports a maximum key length of 256 bits, therefore offers at most 2256 permutations. The total number of 128-bit permutations is much larger than what offered by AES, which means AES actually only explores a very tiny portion of the permutation space.
Questions:
Gi... |
Consider an HMAC algorithm that uses SHA-512 with an unknown private key. Is it possible to affect its output, either partially or totally, by providing it with carefully crafted messages?
For the purposes of this question, consider that the application "updates" its state using our hand-crafted message plus a string t... |
Suppose you have a message $m$ and you want to design a protocol that produces an encrypted message $c$ such that it cannot be decrypted before a certain time $t$ has passed from the encryption.
How would you realize this? What assumptions do you need?
I am just curious about it and I would like to discuss ideas (I hav... |
Hello fellow experts here, I am new to cryptography.
Recently I looked into RSA Key Size (Microsoft RSA library), it actually describes that the minimal key length required is 384 bits and maximum key length accepted was 15360 bits.
I really do have question here is that how can I properly calculate the key size that i... |
I'm codin' timing attack on RSA Montgomery which compares two sets ( the first one includes those which need a reduction in contrary to the second one ). But I got troubles with the Montgomery multiplication, I used sets of 15000 random Messages ( size: 120 bits ) and there is no reduction for a complete key of 128 bit... |
I was wondering if it's possible to tell if the text is hashed or encrypted. For example, if someone has given you a a chain of random characters. Would you be able to tell if it's encrypted? Which you could be able to retrieve the original text by having the private key. Or it's hashed which there is no way to reverse... |
Alice has a private key, $x$, and a public key $P = [x] \cdot G$ in a group of order $n$.
Alice would like to also publish her inverse public key (inverted modulo the group order) $P_{inv} = [x^{-1} \mod n] \cdot G $, for the purposes of a simple homomorphic encryption algorithm that allows people to re-encrypt docume... |
What does the max(S, n) part mean, and what am I supposed to do with it? I somewhat understand, but it is still confusing. I don't know what it exactly represents. Can you help me please?
|
I'm looking for the complement definition of an access structure $AS$. I'm lost trying to find the complement of $AS$, $\overline{AS}$. Can someone explain what exactly is happening or provide a source for this?
$P = \{p_1,p_2,p_3,p_4 \}$
$AS =\{\{p_1,p_2,p_4 \}, \{p_1,p_3,p_4\}, \{p_2,p_3\}\}$
$\overline{AS} =\{\{p_1,... |
Let's say I have a cryptographic algorithm that encrypts on 128-bit blocks and makes 20 rounds. Each round has its own keys (one of 72 keys per round). We read blocks before each round. But we're introducing the bit reading order. We can read from the most significant bit or the least significant bit. But in total we c... |
How many non-trivial*, interesting perfect secrecy systems are there other than the one-time-pad? Does it seem that the one-time-pad and perfect secrecy are synonymous, but are there any other cryptosystems that have perfect secrecy aside from the trivial examples?
*Here the non-trivial means; the simple type that may... |
Recently, new hash functions were invented. Their primary purpose is serving the needs of zero-knowledge proof systems. I'm talking about Poseidon-256, Starkad-256, etc. See the paper.
What is the main advantage of those hash functions against existing ones like Blake3 or SHA3? How are those functions different?
|
I was reading this paper about elliptic curves and I saw this graphic:
This paper is pretty new (november 2018) and I was wondering, whether these are all known ecc-families or not. The key point is, that I don't see Weierstraß curves. Can someone explain to me, why Weierstraß-Curves are not included? Are there other ... |
We have a collision resistant hash function (based MD construction) H with 2n bits hash value size.
Call chop(H) is a chopping n-bits from H's hash output.
How can I prove a chop(H) is collision resistant with n-bit?
|
The (computational) problem of iterated squaring (IS) in the RSA group is defined as follows, where $\leftarrow$ denotes sampling uniformly at random:
Input: $(N,x,T)$, where $N$ is the RSA modulus, $x\leftarrow\mathbb{Z}_N^*$, and $T\in\mathbb{N}$ is the time parameter
Solution: $x^{2^T}\bmod{N}$.
This problem can b... |
I have considered a $(t,n)$ secret sharing scheme with $n$ secret, say $a1,a2....an$. It's third party secure, but it has inside adversaries. While reconstructing secrets, a group of $t$ qualified participants upload their data to a public server.
If $t-1$ participants are cheaters, they can fool the remaining particip... |
My textbook has the following theorem:
Given a block cipher with a key length of K bits and blocksize of n bits as well as t plaintext-ciphertext pairs, the expected number of false keys which encrypt all plaintexts to the corresponding cipher text is $$2^{k - tn}$$
This makes sense if you consider DES gives us rough... |
I was given a graph like this, and the problem was stated as: if something happens to P2 then only P2 would not be retrieved on the decryption side, and all other P's can be retrieved normally. I do not understand how so? If something happens to P2 then its encrypted XOR will be wrong, then leads to a wrong C2. Also, P... |
In Lyu12, Lemma 3.6 is as follows.
Lemma 3.6 For any non-negative integer $\alpha$ such that $gcd(2\alpha+1, q)=1$, there is a polynomial time reduction from the $SIS_{q, n, m, d}$ decsion problem to the $SIS_{q, n, m, (2\alpha+1)d+\alpha}$ decision problem.
Proof. To prove the lemma, we will show a transformation... |
Hello fellow experts here, in order to use RSA to encrypt and decrypt in a controlled environment, we will actually need to have a list of prime numbers to do so instead of using library generated RSA keys to encrypt and decrypt.
My current approach here is to actually skip all the even numbers and increment the BigIn... |
I implemented a block cipher similar to AES.
But the reason I can't decrypt is that I can't get the inverse MDS matrix.
The MDS matrix I used is a 3x3 MDS matrix on $GF(2^8) \implies GF(2^8)$ like AES
\begin{bmatrix}
1 & 2 &2 \\
2 & 2 & 1\\
2 & 1 & 2\\
\end{bmatrix}
The encryption process is the same as that of AES mix... |
I've been searching for some, easy methods to help mitigate, a cache timing attack on software AES implementations.
Currently, my implementation uses, a usual 256 byte S-box
uint8_t sbox[256] = {0x63, 0x7C, 0x77, 0x7B, 0xF2, 0x6B, 0x6F, 0xC5, 0x30... /* and so on*/}
My goal as a developer, is to prevent/increase dif... |
I'm developing an experimental Amateur Radio digital protocol for over-the-air data exchange. A part of any protocol over fallible transport layers is of course some kind of error control (ECC, FEC, CRC, etc). My original intention was to use a simple 16 bit CRC to checksum each individual packet.
An additional conce... |
I'm trying to calculate the expansion factor for a polynomial of the form $x ^ n - x - 1$.
Any help would be appreciated.
|
When I read about the DLP, it seems that the assumption is that it is not generally possible to solve it in polynomial time. But I also read that there are several algorithms in $\mathcal{O}(\sqrt{n})$, for instance, the Shank's baby-step/giant-step so there must be some misunderstanding by me.
What is the assumption?... |
I need to find out the order of the group for an elliptic curve. See the image for the question.
The inequality condition after simplification leads to $-2 \sqrt{p} \leq m \leq2 \sqrt{p}.$ Also, the order of the group will be a factor of $m$ (Lagrange theorem).
I found a research article on https://link.springer.com/c... |
I am searching for a hash function which has these attributes:
low Avalanche Effect, similiar files should get similiar outputs
low number of collisions (if I have 0*10000 in one file, and 0*99999 + 1 in another the hash should differ and should not collide to easily)
The use case is "bruteforcing" a file hashed by t... |
I am new to crypto and authentication so have been doing reading around this and thought that I had a pretty good understanding of how this works. However when implementing my hashing using bcrypt.js I am once again confused.
I thought that the steps were:
Store Credentials:
Generate random salt
Append salt to passwor... |
Maybe it’s a silly question, I’m interested in the best known/chosen plaintext attack on only one round of AES-128. More specifically, what is the smallest number of known/chosen plaintext/ciphertext pairs which allow us to recover the key with high probability? What’s the relationship between how time scales with the ... |
Typically, Private Set Intersection (PSI) protocols let you learn the subset of items on each party's dataset that are in the intersection. The problem in this case is a relaxation of these kind of constructions. I would like to learn only the number of elements on the intersection.
I could achieve this by using proxy... |
The RSA assumption:
Given a randomly generated RSA modulus $n$, exponent $r$ and a random $z \in \mathbb{Z}_n^{*}$, find $y$ such that $y^r=z$.
The strong RSA assumption:
Given a randomly chosen RSA modulus $n$, and a random $z \in \mathbb{Z}_n^{*}$, find $r>1$ and $y \in \mathbb{Z}_n^{*}$ such that $y^r=z$.
In the s... |
I have an intuitive idea of this, but I am not sure if I am formally interpreting it correctly. In the scenario I am considering, each party is identified by a sequence of $n$ bits and I have $2^{n}$ parties.
If I say that an adversary can control a polynomial number of parties, what does it mean formally? Is it with r... |
If I want to prove my protocol is secure, can I just use a game based approach and/or a simulator approach? Or are there other common approaches?
|
Are secure hash function outputs different from permutation sets of the same length and value? If yes please explain how they appear differently.
For example, MD5 would produce
8743b52063cd84097a65d1633f5c74f5
A non standard permutation algorithm that is impossible to inverse without a key would appear to be the same ... |
What is the differences between data compression as used in e.g. the ZIP protocol and compression as performed in cryptographic hashes? Are there common properties as well, apart from creating a smaller representation of the data?
|
Consider a block cipher that encrypts bit strings of length $n$, where the key-space of the block cipher is of size $2^{kn}$, $k \geq 1$. My understanding of perfect secrecy is that a system is perfectly secret if (and only if?) the size of the key space is larger than the size of the message space. But then, if the... |
If we have a very performance critical interactive session, like a video game, running on a trusted platform (video game console).
If our goal is to prevent exfiltration of up to date information (enemy locations, health etc) and malicious commands sent to server in a small time frame (aim botting), say ~1000ms through... |
According to the Wikipedia article about SMPC:
Secure MPC is closely related and builds on to the problem of secret
sharing, and more specifically verifiable secret sharing (VSS), which
many secure MPC protocols use against active adversaries.
So, is there an SMPC scheme that doesn't use secret sharing? Are any i... |
To me (new), it seems that a lot of cryptography relies on group theory.
Are there any zero knowledge protocols which do not rely on a group?
|
PKCS#1 v 1.5 stores hash algorithm identifier that was used to digest the original message. I would like to know if and how to extract this information.
I am working on a buffer containing the signature bytes and a buffer with public key.
I know it can be done (e.g. openssl rsautl does it with -verify and -asn1parse),... |
the answer to this question suggests that the x-coordinate of an ECDH shared secret is itself usable as an encryption key without apply a KDF.... if so, then what additional security is provided by the KDF???
i'm operating in a very resource-constrained embedded environment, where eliminating code normally used in a K... |
If I Generate some key K for the AES algorithm. Encrypt a message M with key K and take the last 64 bits
of the result as the hash of M.
Would there be any disadvantages?
What if I took first 64 bits of the message rather than the last 64 bits?
|
I have three messages, each known to be XOR-encoded, with the same key used for each message of this XOR cipher.
Encoded message 1: $e_1\,=\,00100111010$
Encoded message 2: $e_2\,=\,01001110110$
Encoded message 3: $e_3\,=\,11010110101$
I also have an extra information: I know that the decoded contents of $e_1\oplus e... |
Say i'm given a cipher text to decrypt, however i also have access to a server that performed the encryption; where i could enter
any plaintext and observe the result of encryption.
would it be classed as a known plain text attack or cipher text? I'm abit confused
|
I have installed my Fedora Workstation version 23 using native disk encryption. Since it, I am upgrading it using dnf system-upgrade plugin. Today, I have fedora 32. Some time ago, I’ve discovered about SHA1 is now discontinued.
Reading the cryptsetup luksDump of my encrypted system, I can see it was installed using SH... |
I am reading the paper on GCM The Galois/Counter Mode of Operation (GCM) . I have some doubts about the implementation of table M0 and R.
When I have to multiply by the variable P it is nothing more than a shift to the indexes. At the top of page 10 I have the example of multiplication by X · P and I suppose the... |
I recently read about OWFs and realized that the composition of two OWFs (called, say, $g$ and $f$) are not necessarily an OWF. However, if I modify the question a little bit and fix $g$ to be an injective function, with $f$ still being an OWF, is their composition $g(f(x))$ a one-way function?
I now understand the int... |
I am trying to understand Secure Channel Protocol 03 from specified by Global Platform and have seen a few implementations. From the standard:
Session keys are generated to ensure that a different set of keys is used for each Secure Channel Session. The session keys are derived from the static Secure Channel keys.
"
... |
The security of elliptic curves depends on the difficulty of the discrete logarithm problem. Should Shor's Algorithm ever prove viable then elliptic curves would cease to offer any useful security properties, hence the need for post quantum crypto algorithms.
Most discussions of Shor's algorithm are for integers but ho... |
I am only a beginner in cryptography and I am getting confused by the following:
Question
Consider a known-plaintext attack performed on a double-DES cryptosystem.
(a) Determine the maximum number of times the DES algorithm needs to be run when
using the brute-force strategy.
(b) Determine the maximum number of times t... |
The paper 'Why One Should Also Secure RSA Public Key Elements' describes an attack where an adversary can fully recover a private key by injecting faults into the modulus before exponentiation takes place in a signing operation. Two modes are described for this attack, one where the adversary has no knowledge of how th... |
First some background. I am building an application where people send each other emails with messages inside that need their sign-off. Once the participants receive the email they're also given a callback link (the link is generated by cc-ing an email address tied to our app server, and then the app sever sends all the... |
If this is something that already has a name, please tell me to look at that, but I have not been able to find one yet.
I am considering this process for storing some data securely. I want to provide a way that neither party can decrypt the value by themselves, ( and no way for the original value to be retrieved if on... |
If I perform RSA on my input 5 times, I get the original input back out.
Why is it that often, iterating RSA encryption just a few times cycles yields back the original value, when the public modulus N is small?
|
My question is in $\mathbb{Z}_p^{*}$ context, where $p=q\cdot k+1$ for two primes $p,q$ and $k \in \mathbb{Z}$; $g$ is the generator of the subgroup $G_q$ of $\mathbb{Z}_p^{*}$, of order $q$.
Let's consider a small $H$ (e.g. $H=1024$) and a specific $h \in \mathbb{Z}_p$, with $0 < h < H$, and we randomly choose $g \in... |
What's the approach used in cryptanalysis to make an decrypter for a simple xor stream cipher in a Black Box scenery with only the output?
|
When people ask for a block-cipher with a larger key space than AES-256 replies usually just state that there is no need. I see where that is coming from the future is hard to predict.
The two main problems I can see are Grover's algorithm (see below) and the fact that we can not see all the problems.
I have no idea ho... |
As well known, different assumptions of difficulty of some problems are used in provable security. E.g., if some crypto-scheme is breakable only in case the attacker finds preimages for hash function, we say that the scheme is as secure as preimage resistance of hash-function.
Imaging, that some hash function is not pr... |
Trying to find a quick calculation to check if my value is primitive rather than working out every a^n (modP) for n= 1 to p-1?
|
Here's a corner case for you.
A user produces a small amount of confidential data and would like to delegate a third-party to perform some computation on it and return the results. Data and results are to be kept secret from the third-party, you can assume a "curious but honest" threat model.
My first naive intuition ... |
The PKC is in this way:
Alice and Bob fix a publicly known prime $p$, and all of the other numbers used are private (unless sent). Alice takes her message $m$, chooses a random exponent $a$, and sends the number $u = m^a\pmod p$ to Bob. Bob chooses a random exponent $b$ and sends $v = u ^ b = m^{ab}\pmod p$ back to Ali... |
For example,
R (R (R (R (R (m))))) = m where R(m) denotes the RSA encryption with public keys N and e.
What property of the RSA keys would cause this?
|
I've been trying to find a solid method to prevent cache timing or other possible side channel attacks on an AES implementation, that uses lookup tables for S-box substitution.
I realize that there are methods to eliminate table lookups using techniques like BitSlice AES and also AES NI instruction set. But I'm stuck ... |
((A , B , C) , (D , E , F, G, H))
Where:
A is 0x0-0xF, (1 of 16)
B is 0x00-0xFF (1 of 256)
C is an 8 digit integer
D is a one of a list of one hundred words padded to 12 characters
E is a one of a list of one hundred words padded to 12 characters
F is a one of a list of one hundred words padded to 12 characters
G is a... |
Consider an ordinary LCG modulo $2^n$ with an internal state of $n$ bits and an output of $n/2$ bits, with the twist that instead of simply truncating the state to produce an output, we take the upper and lower $n/2$ bits of the state and XOR them together.
$$X_{i + 1} = A X_i + C \bmod{2^n}$$
$$Y_i = (X_i / 2^{n/2}) \... |
Does the problem of noise growth exist in the Paillier homomorphic scheme ?
|
I am in need of a non-uniform random number generator where each n-bit output has a hamming weight with a certain binomial distribution.
For example, I would like a non-uniform PRNG which generates 32-bit outputs with a hamming weight whose binomial distribution is n=32, p=0.1. For instance, 0xFF should be output with ... |
public key... a padlock (anyone can lock it)
private key... the key to the padlock (only key owner can open it)
Alice and Bob each have their own padlock and key
Anyone can get a replica of any padlock (public key) but only the padlock owner can open it (private key)
Alice sends Bob a private message:
Alice locks a bo... |
Is it possible to find the key of an HMAC-SHA-512 given the input and the hash output?
If so, what algorithm if any prevents this?
I'm working on a simple E2E communication system between two self-managed servers, and my idea is to store a static key on both servers, and it is critical that the stored key cannot be r... |
I am very new to cryptography and so I am looking for feedback on this question on RSA. Please let me know if I have made any mistakes, Thank you!
(a).
RSA Algorithm:
-choose two primes p,q
-compute n = p * q
-compute phi = (p-1)*(q-1)
-choose e such that 1 < e < phi and gcd(e,phi) = 1 where gcd is greatest common div... |
Currently, I am studying the Asmuth-Bloom secret sharing scheme and want to learn more about its polynomial version.
What are the exact reasons to use polynomials over integers for this scheme?
|
This is the main paper for Curve25519. In section 2: Specification there is a important theorem. In this theorem Bernstein defines the function $X_0 : E(F_{p^2}) \rightarrow F_{p^2}$.
First Question: Curve25519 is a Montgomery curve and uses the projektive arithmetic, which only needs the x-coordinate. The defined fun... |
From The Algorithmic Foundations of Differential Privacy
It wrote that :
But from this pdf
I am confused which one is right, or I misunderstand.
In second method, after I compute Pr[v], and then what to do?
I am not sure how to implement the Laplace mechanism.
|
Can one use zksnark to prove the knowledge of a discrete logarithm? In another word, can zksnark (R1CS) encode exponentiation?
|
Boyen's signature is a well-known post quantum digital signature scheme. It's a lattice based scheme that uses a trapdoor of the lattice $\Lambda^{\perp}(A)$ and it's security is based in the SIVP problem. In section 2.3 of this paper Ring Variant it's commented how to construct a ring variant of this scheme to improve... |
Consider the following $(2n+1)$ protocol:
$\mathcal{P}$ and $\mathcal{V}$ engage in an interaction where $\mathcal{P}$ consecutively sends a message $a_i$ answered by $\mathcal{V}$ with a random challenge $b_i$ for $i = 1,\dots,n$. Finally $\mathcal{P}$ gives a final answer $z$ and $\mathcal{V}$ outputs either $1$ or $... |
This is a question out of curiosity !
A hash function produces an output that is considered computationally infeasible to reverse.
Let's consider, for the sake of illustration purposes a tried and tested hash function like SHA 256, belonging to any of the families ( 2 or 3). Since the block size for SHA 256 is 512 bi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.