instruction stringlengths 32 27.2k |
|---|
I want to know if there is any Homomorphic encryption scheme that supports modulo reduction, i.e.,
using $Enc_{pk}(m)$ and a public $w$ to compute $Enc_{pk}(m \mod w)$.
Thank you.
|
This link discusses something called a 'subset-sum hash function'. I'm having a little difficulty understanding the algorithm, and I can't seem to find any existing implementations to reference. Could someone point me to a reference implementation or explain how to construct M as per the first paper linked in that disc... |
I was searching for the information on authenticated Diffie–Hellman key exchange and found these slides. The author says, “Remember
$$A\to B: (A, g^x, \operatorname{SIG}_a((g^x, B)))$$
$$B\to A: (B, g^y, \operatorname{SIG}_b((g^y, A)))$$
insecurity”. I fixed the mistake with $A\to B$, replaced public keys with secret o... |
I'd like to embed 8-bits of information by selecting only keypairs where a hash of the public key begins with those 8-bits. (The expected number of keypairs that will need to be generated is 256, so there is a little extra work required.)
The goal is to be able to determine the source of a keypair, to aid debugging in... |
Can anyone tell me the difference between working in the polynomial embedding for $R$-LWE, and working in the canonical embedding?
|
Related: Is there an interactive version of ECDSA signature protocol like the Schnorr identification protocol?
|
I'm interested in learning about Supersingular Isogeny based Key Encapsulation mechanism.
Currently, I only know all the basic knowledge about how standard Elliptic Curve Cryptography, works, using Weierstrass equations. This includes the the mathematical group structure on how the Elliptic curve points are defined, a... |
The question is as follows: Is there an algorithm to calculate a $(x,y)$ pair which is consecutive to an existing $x$-Coordinate on an elliptic curve?
Background Information for the curve:
Known Values: Prime Curve ($p$), Prime Multiplier ($N$), Trace ($P-N$), Curve is Half. Multipliers $(M_1 + M_2) = N$, $y$ Coordinat... |
Is there a digital signature or MAC scheme in which, the verification algorithm returns not $\{\text{Valid},\text{Invalid}\}$, but a discrete (finite or infinite) set of result such as $\{\text{Valid-for-A}, \text{Valid-for-B}, \text{Valid-for-C}, \text{Invalid-for-All}\}$?
This is a curiosity question. There is no lim... |
I have been thinking about a rather simple enhancement for (EC)IES / RSA-KEM. The scheme would allow you to encrypt data while the calculation of the session / data key can be performed afterwards or in parallel. It would also allow you to encrypt for multiple recipients.
Anyway, the scheme would simply be:
Generate a... |
I would like to better understand why some people use the term One Time Password and other Authentication Token.
I have noticed that in academic circles, there is a differentiation between authenticated tokens (say a nonce and the signature of the nonce) vs. OTP's, which I always saw as a family of such tokens, one tha... |
I use an encryption scheme based on a symmetric cipher, with the corresponding symmetric key encrypted with RSA/OAEP using the public RSA key of the recipient.
I now want to use ECC crypto in replacement of RSA. Looking at the openssl API I can see that there is no RSA equivalent ECC encryption of a key, but only key d... |
My domain is VLSI design, currently, I'm working on PRESENT Lightweight cryptographic algorithm.
I want to know how to improve the security of the algorithm rather than increasing bit size?
Is there any possibility to improve the security of the algorithm by using automatically generated keys rather than manually givi... |
Can anyone give me an explicit example of how one can samples from the binomial distribution defined in NewHope's paper? What is the difference of sampling from rounded Gaussian in practice?
|
CBC's encryption is not paralelizable but I could divide a 64 block message in 4 16 block parts and encrypt those 4 parts separatly in parallel using a diferent IV for each one. Is this unsecure ? Is there a mode of operation that defines this in particular ?
|
I found this post about Curve25519. It states, that there are only 5 points with a very low order. With this paper I was able to understand, how the points with order 2 and 4 were computed. My question is: How to compute the points with order 8?
|
can anyone help me to elaborate the structure of ADRS with example ( tree ADRS, layer ADRS, keypair ADRS etc)used to generate root SPHINCS+ signature. Also can some one help me to describe tree hash process used in SPHINCS+ with example.
|
I have taken two prime numbers p=137 q=131 M=64 and i want to create a digital signature
n=pxq=17947
phi=(p-1)x(q-1)=17680
e=3 (I have taken public key e=3 as gcd(3,n)=1)
d=e^-1 mod phi
=3^-1 mod 17680 = 11787
dP= d^-1 mod (p-1)
= (11787)^-1 mod 136 = 3
dQ= d^-1 mod (q-1)
= (117... |
This is the Sage code that I use, and the results I get:
def SmartAttack(P,Q,p):
E = P.curve()
Eqp = EllipticCurve(Qp(p, 2), [ ZZ(t) + randint(0,p)*p for t in E.a_invariants() ])
P_Qps = Eqp.lift_x(ZZ(P.xy()[0]), all=True)
for P_Qp in P_Qps:
if GF(p)(P_Qp.xy()[1]) == P.xy()[1]:
brea... |
One thing I don't quite understand is how to naively handle division operation in rank-1 constraint systems (R1CS).
supposedly A.s * B.s - C.s = 0 allows you to perform any addition/subtraction/multiplication/division operations, but how do you actually perform division from multiplication gate in any of the SNARKs sys... |
I can remember from my crypto classes, that there is a limit on how many blocks can be securely encrypted with the same key. Before we reach the limit, we should rotate the key. Does it also hold true to JWT tokens? Is there a limit of token count, after which we should rotate the secret? If yes, what might be the limi... |
Could you help me with Harley's norm computation algorithm that is based on the Fast Extended Euclidean Algorithm that was suggested by Harley in an email to NMBRTHRY list in 2002 and that described in Vercauteren's thesis pp 87-90:
https://pdfs.semanticscholar.org/c945/c98267db064b272c87a885fc5eeb764b0b2d.pdf
My imp... |
Good night everybody.
Is it real destroy all EC parameters in bitcoin client ? If remove "+7" and replace base point to (0,0 or 1,1)in algorithm then making a new address or public key, bitcoin client send to computer memory clean privat key and it will be easy dump this privakey to txt file :))).
What you think about ... |
What is the dominant symmetric cipher used for TLS connections in China? Is it AES, as it is in the US, or is it SM4?
|
I am trying to implement AES in C; I would like to make it resistant to side-channel attacks but I can't implement the multiplication in constant time. My current code:
static uint8_t GF28_Mult (uint8_t Poly0, uint8_t Poly1) {
uint8_t Result = 0;
for (uint8_t Shift = 0; Shift < 8; Shift++) {
if (Poly1 ... |
Using per-operation randomness is a popular and effective way to protect cryptographic implementations against side-channel attacks, e.g. using Shuffling (randomizing the processing order eg for AES bytes) and Masking (aka blinding).
Now I wondered about where symmetric cryptographic implementations, e.g. a 4-shared ma... |
Nonce-misuse resistance seems to have two standard notions:
The stronger notion: this reveals nothing unless the exact same nonce is used to encrypt the exact same message twice. In this case, the only information that is revealed is that the same message was encrypted twice. This can be used to notice that a message ... |
I don't know if this is the right place to ask this type of question. Anyway, I'm using PBC library for a project, but I'm a very newbie for what concerns pairing based cryptography. Then I ask some good references for Elliptic Curves Cryptography, possibly with some theory about groups or abstract algebra in general. ... |
I came across this question regarding the security of Quadruple DES (hypothetically DES done four times) in CBC encryption mode vs security of AES-128 in CBC encryption mode.
What parameters help to decide the security, assuming 4 different keys (or other case with k1, k2, k3, k1) so the key length would be 224bits (3D... |
I'm trying to implement the Signal Protocol JavaScript library for a school project. On this page, the generatePreKey function takes as parameter a keyId. I can't find what that is in the specifications. Can somebody tell me where do I have to get it from or if it's just a random number I have to generate myself?
KeyHe... |
I've just come across the large variety of encryption ciphers available in the UWP WinRT API, both symmetric and asymmetric. I'm trying to figure out which are commonly seen as the most favourable from the choices available for UWT (obviously this is very context specific, but surprisingly many seem to be outdated or c... |
I've recently understood the difference between Interactive Proofs and Arguments, but even if several standard variations of IP are well known and thoroughly described in textbooks (Goldreich for instance) Arguments are not so well documented.
In particular I'm having a hard time to find a well established definition f... |
I am asking this question out of curiosity if there are any cryptographic algorithm that has a block length more that 128 bit. I am new to cryptography and I didn't know any. AES 128, 192, 256 all have same block length of 128 bit. Also if the answer is 'NO' then what can be the possible challenges of having larger blo... |
My end goal is to have an encryption function $e$ and a hash function $H$ such that for all m we have: $$H(e(m)) = e(H(m))$$
This would work if we use RSA encryption along with RSA "hash", using a different public key. I don't mind the fact that there would be one specific person (who created the private/public key for... |
Scenario: A document is signed with a compromised private key, with a long-term time stamp. The normal expiration date of the key pair is D. The rightful owner of the key pair discovers the compromise 15 days after the fraudulent signature is executed, and has the key revoked.
The evil-doer waits until after the normal... |
I am a complete amateur in the area of random number generators. I would appreciate resources to begin learning.
Also I would also like to learn about Mersenne twister. Resources that are easy on the math side of these things would be more appreciated.
N.B: I have some programming experiences. I code in Python and Java... |
In the extended Canetti-Krawczyk (eCK) model [1] the adversary $\mathcal{M}$ is allowed to make a sequence of queries, eventually performs a $Test(sid)$ query, receives a value $C$ and at some point later has to guess whether $C$ was the session key or a random value. In order for $\mathcal{M}$ to win the experiment, t... |
I'm designing a small personal journal web application for my wife. I'm a crypto newb, but I want her to feel secure knowing only she will have access to her journal entries. I am thinking of the following scheme to achieve this using the Web Crypto API:
User registers. A masterKey is generated and wrapped (using AES-... |
On the elliptic curves, there is no divide function, and I need divide coordinates - X/Y, o I need not divide but make (X minus or multiply to "modified" Y). How to modify Y?
|
If I have a very large input to hash with a hash function vulnerable to length extention and I am using a hash list, should I HMAC each part of the input or just HMAC the final hash of all the hashes ? If i do need to HMAC everything, should I use a different key for each hash ?
|
Sorry noob here. I am so much confused about lot of files used client authentication certificates. Can anyone guide me on the difference between PEM vs P12 vs CRT vs JKS vs Keystore vs PKCS vs x509 certificates?
|
I'm looking to design a protocol between two parties A and B to generate sequence of RSA private keys $p_{a_0}, p_{a_1}, ... p_{a_k}$ and a sequence of corresponding RSA public keys $P_{b_0}, P_{b_1} ... P_{b_k}$.
with the property that $P_{b_k}$ is the corresponding public key of private key $p_{a_k}$. But there is a... |
Suppose there is a global set of $n$ elements, out of which I want to commit to $2n/3$ elements, i.e., anyone can take my commitment and test what $2n/3$ of the possible $n$ elements I committed to.
Is there any way to do so with a constant size commitment that doesn't require exponential calculations. I had Merkle tre... |
MD5, SHA1, SHA2 are vulnerable to length extension attacks Wikipedia:Length extension attack.
Could is also be possible to generate $H(\text{message}[1..n-1])$ from $H(\text{message}[1..n])$ if I know the last byte?
It's essentially the same question as md5: is reverse length-extension attack possible?
Might it become ... |
I'm reviewing this test which prepares a zero knowledge proof of the preimage of an hash:
https://github.com/mariogemoll/libsnark-tutorial/blob/sha256/src/test-knowledge-of-preimage.cpp
In my (wrong) understanding, the left-bits and the right-bits are referring to leaves of a Merkle tree from which you obtain the hash.... |
To my understanding, shuffling means simply to permute the elements in vector $\mathbf{v}$ pseudorandomly, using a PRP $\pi (\mathrm{seed},\mathbf{v})$. A secure PRP should yield a permutation indistinguishable from a random one.
However, I'd still have 2 questions on this subject:
Is there a more formal definition to... |
I want to calculate a base point on the twist of secp192k1 with maximal order.
'secp192k1': _ECData(
p=2**192 - 2**32 - 2**12 - 2**8 - 2**7 - 2**6 - 2**3 - 1,
a=0, b=3,
Gx=0xDB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D,
Gy=0x9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D,
n=0xFFFFFFFFFFFFFFFFF... |
I was looking into how password managers work and it seems to me that they all store the passwords (albeit encrypted).
How secure would a scheme be where the password manager always generates the password when you ask for it based on your master password and some salt that can be generated from the website name. For ex... |
I read through this answer and it seemed to make sense to me, but when I try to make a simpler answer to explain it to myself I lose something in the process.
Here is the much simpler hash function I wrote after reading the description of how MD5 works.
Take in a single digit integer input as M
Define A[0] to be some ... |
A Computationally Binding commitment scheme is defined as a tuple of protocols $(\mathsf{Keygen}, \mathsf{Com}, \mathsf{Open})$, that along with correctness guarantees that for all PPT algorithms the probability that, given a correctly generated commitment key $k$, it outputs a commitment and two different openings is ... |
Deriving a public key from a public key in Ed25519 is possible, some algorithms are available. My question is why there are so few implementations compared to secp256k1 for example. The extra checks necessary to implement it look at least more error prone than with other curves.
|
I need to use encryption software from PSpice for my SPICE model. In a user guide on page 71 they claim to use a "16-bit DES encryption algorithm". According to the wiki DES is using a 64-bit key. How is it possible to use 16-bit key instead of 64(56)-bit key? Or "16-bit" describes something else?
|
I'm trying to implement simple AES encryption for small data packets (8bytes, fixed length) being sent from nodes with very little computational resources. Ideally the encrypted data would be a single 16byte packet. The data being sent is very repetitive (for an example, wind velocity packet "S011D023", where S and D w... |
I know, that quantum computers can theoretically break the discrete logarithm problem using the shor algorithm. The problem with quantum computers is not the time, but the space ( the needed qubits ). My question is: Can elliptic curve cryptographie be adjusted so that they are secure against quantum computers? ( e.g. ... |
I should implement ISO 9797 MAC algorithm 3 with initial transformation 1, without truncation, and using DES as a block cipher.
I should add padding of 0x80, then enough zero bytes if the length is not multiple of 8.
I want to know what will happen if data is only 8 bytes?
I should feed data directly to 3DES algorith... |
I have a need to generate a unique hash for millions of Strings of same length.
Would prefer a non cryptographic hashing algorithms for performance reasons.
The hash can be of length upto 24 bytes, but hash collisions are a strict no.
A dumb implementation I can think of is to use the String.hashCode() method in java a... |
Assuming people in the forties would have known asymmetric cryptographic methods like RSA, would they have been able to make sensible use of them?
There were no real electronic computers at the time, but the things achieved in Bletchley Park and elsewhere mean that some processes could have been automatised.
|
In TLS, asymmetric encryption is used to agree on a symmetric key, which is used to encrypt/decrypt the data.
I want to ask if there is any scenario or system where the public / private key is directly used to encrypt and decrypt data.
|
I am wondering why (not how) we relax $\epsilon$-differential privacy to $(\epsilon, \delta)$-differential privacy. Is the main motivation to reduce the variance of the noise added to the query with a slight sacrifice from the strength of privacy?
|
I am trying to prove that if $r_i \sim Lap(0,1/\varepsilon)$ where $\varepsilon >0$ then:
$$Pr[r_i \geq 1+r^*] \geq e^{-\varepsilon}Pr[r_i \geq r^{*}]$$.
I know that for $r*>0$ it satisfies with equality. Even though, for $r <0$, I couldn't find out how to prove it.
Note $Lap \sim (\mu,b)$:
$$Pr[X \geq x] = 1-F(x)=\b... |
I've recently read about "Montgomery trick" on Application of Montgomery's Trick to Scalar Multiplication by Pradeep Kumar Mishra and Palash Sarkar which provides a way to compute several multiplicative inverses at once using this technique:
if x = 1/(ab), then 1/a = xb and 1/b = xa
I've also analyzed various algorith... |
From observation, 32 bit public key values of opposite parities are either both valid, or both invalid.
[2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Err(InvalidPublicKey)
[3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,... |
Is there a way to prove in zero knowledge that an element (h) of a group is less than (or greater than) another element from the group? In other words, can we prove that the difference of elements is less than (or greater than) 0? I have looked at some range proofs that prove a number lies in a certain range. But I jus... |
Assume $d=abc$ and to implement first order threshold implementation , the minimum input and output shares are 4 (1*3+1) , and 4 , calculated using ${4\choose 3}$ , Theorem 2. The new TI equation is:
$$d_{0,1,2,3}=
(a_0 \oplus a_1 \oplus a_2 \oplus a_3)(b_0 \oplus b_1 \oplus b_2 \oplus b_3)(c_0 \oplus c_1 \oplu... |
I'm reading about the linear cryptanalysis of an SPN and I have some questions about the practicality of this. The example I'm looking at is from 3.3.3 of Stinson's Book and I believe the same example is given in these notes (pg.13 for the diagram)
First, a question of practicality. The SPN is comprised of many indepe... |
With the curve secp256k1, the order of the twist is 3×197×1559×96769×146849×2587814237219×375925338294461779×101009178936527559588563023359
But I can't understand what is formula of this twist(twist is not standart).
Article were "formulated" this twist - https://www.di.ens.fr/~fouque/pub/fdtc08.pdf
|
Hamming Distance (HD) has been used to measure the distance of two numbers when they are converted into binary representations. e.g., $Ham(1, 2)=2$ as 0001'XOR'0010'='0011' while $Ham(128, 1)$ equals $2$ as well. Here we see HD does not work well as it falsely indicates that the distance between $1$ and $2$ is equal to... |
While performing the linear and differential cryptanalysis a Linear Approximation Table(LAT) and a Different Distribution Table(DDT) is required which is created exploiting the S-box of the cipher which can be found in the tutorial of Howard heys. Now my question is if I take a random S-box for every other encryption a... |
A Schnorr group is a multiplicative group of integers modulo an odd prime $p$ of prime order $q$, normally such that $p$ is much greater than $q$.
As far as I know, the normal way to find a Schnorr group is to:
determine $q$ as a random prime in the desired range of the group size (e. g. $2^{255} \le q < 2^{256}$), wh... |
I know that 512 bit hashing is more secure, but I don't really know why. I hope someone can help me to better understand it in more detail.
|
There are very few resources for Blake2b apart from the official documentation and website. I would like to know if Blake2b is not vulnerable to length extension attacks unlike SHA2. I would like your help as soon as possible.
|
AES-CTR is not considered as a CSPRNG, why ?
Is it unsecure to use it when a password is hashed with Argon2id to produce the seed to generate all random data needed for an end-to-end encyption system such as keys and IVs.
|
In schemes like SAKE(Symmetric-key Authenticated Key Exchange) , the master keys (used to authenticate parties and generate session keys) are evolving, ie undergo transition $K=update(K)$.
What is a good candidate for $update(.)$ function?
Would $K=\operatorname{AES}(K, S)$ have "good properties", with $S$ being arbi... |
Phi-hiding assumption can be simply stated as (wrt hardness)
It is difficult to find small factors of $\varphi(m)$ where $m$ is a number whose factorization is unknown and $\varphi$ is Euler's totient function.
Is the hardness due to this assumption comparatively higher than than the hardness of integer factorization... |
There already is this pretty big post about the MOV-attack. It states, that the discrete logarithm problem on elliptic curves can be transformed to a discrete logarithm problem over a finite field. This is possible by using a mapping to a field extension.
The attack is not useful, if the resulting field extension $F_{p... |
My question concerns the recently uploaded paper On the (in)security of ROS that describes an expected polynomial-time attack on the unforgeability of Schnorr blind signatures.
a) Does this mean that Schnorr blind signatures should not be used anymore (ie. is the attack merely theoretic or can it be used in practice)?
... |
Example:
message = 'sup'
// encrypt
cipher = aesencrypt(aesencrypt(aesencrypt(message, 'CFB'), 'CTR'), 'OFB')
// decrypt
message = aesdecrypt(aesdecrypt(aesdecrypt(cipher, 'OFB'), 'CTR'), 'CFB')
if it's not a possible vulnerability, it'd just rather use all 3 than decide on one.
|
Referring the slide 16 from this link:
I want to ask why is MAC encrypted along with the data to be transmitted. Why isn't MAC just appended at the end of encrypted data ?
|
Can someone explain what are the ways to get an output of SHA-1 with first 2-bits which are zeros?
|
I want to understand the Pollard kangaroo attack on elliptic curves. I found this Pollard's kangaroo attack on Elliptic Curve Groups Q/A pretty helpful, but not complete. The posts provides a pretty good algorithm for the attack:
def pollardKangaroo(P, Q, a, b, N):
# Tame Kangaroo Iterations:
xTame, yTame = 0, ... |
I recently learned about the one-time pad method, which has perfect security if the following conditions are met :
The key must be truly random.
The key must be at least as long as the plaintext.
The key must never be reused in whole or in part.
The key must be kept completely secret.
As a thought experiment, I wonde... |
Imagine you took a standard one-way hashing algorithm (like SHA-256), and you implement it in hardware using simple logic gates.
Now, replace each logic gate with an equivalent reversible logic gate (e.g. toffoli gates).
Let's assume we're limiting our messages to 256 bits. We wind up with a circuit that produces the u... |
Are the GPS coordinates (latitude and longitude) a good source of entropy? If yes, why? If no, why?
The question would investigate on the fact if the GPS location data can be used as source of entropy in the cryptography field, in general. The question could be trivial or not, it depends by several factors (e.g. the sc... |
Suppose we have $N$ encrypted values under homomorphic encryption (BFV/BGV ..), and we know that $M$ of them are below $t$. Is it possible to remove those $M$ values?
It is known that some methods (e.g. homomorphic comparison) can out put $N$ encrypted $1$ or $0$s denoting whether the value is above $t$ or not, but I n... |
I am struggling to understand why blake2b is faster than blake2s, despite that blake2b is 512 bits hashing. I hope someone can clarify that for me. I read the official paper for blake2b, but I am not a very technical guy. I didn't understand much of it.
|
In differentially private deep learning, the sensitivity is determined by clipping gradient norm (see Abadi et al.'s paper). In this paper, when the clipping gradient norm is $C$, the sensitivity is $C$. Why is the sensitivity $C$? I think the sensitivity should be $2C$.
|
Alice and Bob know nothing about one another, and talk for the first time on a video channel that they are not in control over and that might be compromised. They want to create a new secure channel, but can only transmit information about how to do so over the insecure channel. How can they exchange information to cre... |
I suggested to my client to use SHA3 instead of SHA2. I know that SHA3 is based on Keccak algorithm which won the NIST's competition.
I want to explain the structure of sponge functions in very simple terms; does anybody have a simple explanation of cryptographic sponges?
|
Isn't it possible to make algorithms that are both computationally complex and have many possible answers if you try to crack them without knowing the password?
Why aren't many popular algorithms like AES like this?
|
While reading the paper on the SIGMA: the ‘SIGn-and-MAc’ Approach to Authenticated Diffie-Hellman and its Use in the IKE Protocols (Krawczyk,2003), I noticed that in the "full-fledge" protocol section on page 24, the author says "Very importantly, the protocols should separate the functions of DH exponentials and fresh... |
Was wondering why there is no straightforward way of using ed25519 keys for encryption.
Then I found this: https://github.com/indutny/elliptic/issues/108
There it is stated that it's unlike RSA not recommendable for this purpose - one should rather derive a Symmetric key from diffie-hellman style shared secret.
It is r... |
I have a small number of hashes.
I would like to combine them into a single hash.
XORing the hashes ignores their order, which is important. Also, it could lead to a result of zero if there were an even number of identical items hashed.
Would rotating each hash (by a distance equal to the item's position) before XORin... |
Let $\mathcal{R}_q = \mathbb{Z}_q/\langle x^n + 1 \rangle$, with $n$ a power of $2$. Suppose that we sample $\mathbf{r} \leftarrow \mathcal{R}_q^m$ uniformly at random with the property that $0 < ||\mathbf{r}|| \leq \beta$. Given $(\mathbf{A} \leftarrow \mathcal{R}_q^{n \times m}, \mathbf{s} = \mathbf{Ar})$, find $\mat... |
An algorithm is simpler than another if
It is easier to explain to a noob with basic high-school math knowledge.
It is easier to securely self-implement by an intermediate programmer (Yes I know one should never 'roll their own' but this is just a metric of comparing simplicity)
Can be done by hand & paper more easily... |
Let $e_x$ be a symmetric encryption function in regards to key $x$. Let $y_1 = e_1(x_1), y_2 = e_2(x_2)$.
My goal is to prove that:
$$x_1 = x_2$$
Is there a way of proving this using ZKP? I can't seem to find anything on zero-knowledge proofs on symmetric encryption.
My ultimate goal involves a hash function $H$ and $y... |
Unfortunately, this structure doesn't even have a full Wikipedia on it. I'm struggling to understand it. There are no Youtube videos, Lectures, or any educational video on it. I want to understand how the structure works, and I don't care about the maths behind the hash iterative framework. I would also like if someone... |
I'm trying to solve a challenge that is no longer active. I failed it when it was active, and I still can't resolve it. The challenge showed me a hash, and I have no idea what kind it is, and how does it make sense that parts of it are separated by hyphens?
I thought about md5 , is it possible?
14d6532f-aefb-49c7-b418-... |
I'm trying to understand the X3DH protocol used in Signal and many other end to end encrypted messaging apps. There are other questions on this site asking about why the signed prekey exists. I'm asking why the prekey need to be signed.
In section 3.3 of the specification, 4 (3 if the one-time prekey is missing) Diffie... |
Does it make a difference against birthday attacks if the algorithm that I am using is 512 bit hashing?
|
I have a server app that stores encrypted payload ($textPayload) that users encrypted on their side (The server is just stores is and serves it).
Users can use multiple encryption keys for different payloads ($textPayload)- the server doesn't know.
I am thinking about how to implement editing.
One approach I came up wi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.