instruction stringlengths 32 27.2k |
|---|
I believe I am misunderstanding something about the bounds derived for the key switching error in CKKS. I will refer to the initial paper, but similar bounds have been derived in all variants I have looked into.
My particular point of confusion is with $B_{\mathsf{mult}}(\ell)$ (on page 12, as part of lemma 3), which i... |
I'm new to cryptography and I'm trying to implement a secure chat application using OpenSSL.
I want to ensure that public messages (which will be shown to all users) cannot be altered during transmission.
Does the use of SSL connection guarantee that?
If not, would using digital signatures to sign every message so as t... |
I'm reading the paper "Why and How zk-SNARK works" to learn zkSNARK, and I suffered some problem in section 4.4, when prove the ability of single operation.
In this section, it tries to come up with a protocol to verify that the prover have the ability of doing multiplication. It gives two number $b$ and $c$ and tries ... |
Lattice-based cryptography is being used for several primitives and applications.
I know there are newer works for PIR, PSI, ORAM that have seen tremendous improvements due to FHE. In some cases, FHE is the only tool that can be used for practical constructions of these primitives.
My question is which other such primi... |
In Simmons and Norris paper they demonstrate the cycling attack with the following example:
p = 383 q = 563 s = 49 and t = 56957 ( a prime)
The attacker knows the publicly available r = pq = 215,629 , s = 49
and an encrypted message C. By forming C1 = C49
, C2 = C149, etc. He will find
Cj = C for 1,2,5 or 10
I do not... |
Suppose that we have the usual problem of secure communication, where each of the $I$ agents have a private signal $s_1,s_2,\dots,I$ and they wish to compute any function $f(s_1,s_1,...,s_I)=(x_1,x_2,...,x_I)$ in such a way that no party learns more than their input $s_i$ and output $x_i$.
Although I have seen many cry... |
I got the idea of this proof, that since PRG expands from n to 2n, it cannot project to all {0,1}^{2n}, only to a neglible part which we can abuse to make a good distinguisher just by telling if A succeeds finding a preimage in X. A random string from U2n has very likely no preimage in X. Thus we can distinguish U2n f... |
When encrypting data, I want to verify that the correct key was entered without hashing it. Is it safe to decrypt the ciphertext and compare the hash of it with the stored one or can the plaintext (which could be very long) be read from the hash?
|
PRNG is a mechanism to produce randomness from an initial random seed, so basically a way to derive more secrets from one secret.
Looking at the Wikipedia entry for KDF you find
In cryptography, a key derivation function (KDF) is a cryptographic algorithm that derives one or more secret keys from a secret value such a... |
Just for an example, let's say I downloaded "the adventures of tom sawyer" from gutenberg in .txt file format and saved it to my usb thumb drive.
And as you can see, usb drive is not an ideal device for long term data retention.
But if I insist on using it, there's possibility any files in my storage would finally be c... |
The root hermite factor corresponding to an bit-security level, such as 1.0045 corresponding to 128-bit security. What is the root hermite factor corresponding to 100-bit, 160-bit, 180-bit security?
root hermite factor: 1.0045 ? ? ?
bit-security : 128 100 160 180
|
I have some code, which can crack a discrete logarithm problem in ~ O(0.5n) time. However, this only works if, in the following, N is less than P:
G^N (mod P). To be clear, my program can figure out the value of N based on G and P as long as N is in between 1 and P (inclusive and exclusive respectively).
This would be ... |
I am relatively new to cryptography, but I've been programming for a while. Here's a story that sets well the problem I'm trying to solve:
Alice has a digital passport that's signed with her government's private key. Each property is signed separately, and it would still be verifiable that, for example, her first name ... |
I was reading the comments of an article about a proposed new implementation of /dev/random in Linux today, and someone remarked that it must be bothersome to go through 43 revisions and still not have your patch landed. A few comments down the line and someone seemingly implies that this new implementation would be FI... |
the following equation is used to prove the Shannon's theorem by showing the existence of two messages $m_0, m_1$ if $|K| < |M|$ but I'm unable to visualize/understand the probabilities. Especially the $Pr$ over $K$ thing doesn't get into my head. Anyone able to explain it?
$\mathcal{K}$ is the keyspace
$\text{Pr}$ me... |
Let's say parties A and B have a common secret $k$. Is there a protocol where both the parties jointly release a commitment to $k$ so that later on, neither A or B can deny what the common secret was?
Edit: Specifically, I am interested in the scenario where one of the parties can be malicious and we need to prove to a... |
This (https://en.m.wikipedia.org/wiki/Discrete_logarithm) Wikipedia article confuses me. If you have the equation a = g^n (mod P), and g, P and a are all known, then how does a brute force solving for n algorithm run in exponential time, as this article states. Shouldn't it be linear, or am I reading this article wrong... |
I am trying to implement a cramer-shoup cryptosystem but I don't understand how to work with the plaintext I want to encrypt.
From what I understand, the plaintext needs to be converted to an element of the cyclic group G, which was generated with the key. I've checked multiple resources, from the wiki to several paper... |
I think I found a small error in the security proof Link end of page 37. It states that
$ \sum_{i\leq q} \frac{3i+2}{p-(3q +2)^2/4} \leq \frac{3(q +1)q/2+2}{p - (3q +2)^2 /4}$.
But shouldn't it be
$\sum_{i\leq q} \frac{3i+2}{p-(3q +2)^2/4} \leq \frac{3(q+1)q/2+2q}{p - (3q +2)^2 /4}$ ?
I think that the proof still wor... |
I know one of the advantages of hash functions is that they are fast. However, I read somewhere (I don't know where exactly) that the speed is a disadvantage for password hashes when storing them in databases, but why is this so ? Would someone explain to me if being fast is a disadvantage for password hashing and why... |
I've a problem with a protocol for which I can prove the security if the messages sent by the adversary are sent in clear, but I can't prove the security anymore if the messages sent by the adversary are encrypted... and this is a bit strange since I expect the protocol to also be secure in that second case.
More preci... |
Imagine this:
Charlie chooses two integers $x_1$ and $x_2$ and signs each of these integers with the same private key.
Charlie sends the following to Alice:
$x_1$ and $x_2$,
the two signatures, and
his public key.
Alice computes $x = x_1 + x_2$ and sends the following to Bob:
$x$ and
Charlie's public key.
Can A... |
I'm trying to implement a Cramer Shoup cryptography system in C but I've run into problems with generating the keys.
From what I have found on the wiki and in other papers, to generate keys for Cramer Shoup you must generate a cyclic group G of order q with generators g1 and g2, then take 5 values between 0 and (q-1) a... |
Let $H:\mathbb{Z} \rightarrow \mathbb{Z}_{p}^{*}$ and $a \mapsto g^a\bmod p$ for $g \in \mathbb{Z}_{p}^{*}$ where $p$ is prime. Is this function (strongly) collision-free meaning we cannot find practically $x_1$,$x_2$ such that $H(x_1)=H(x_2)$?
I argue no with the following reasoning: Let $A$ be an Algorithm which ge... |
I'm currently working on an hardware implementation (with verilog) of PRESENT-80 for research purposes. Due to our goal to strengthen the security of PRESENT-80 with Masking and Error Detection I need to understand how the S-Box is designed.
In PRESENT: An Ultra-Lightweight Block Cipher the 4x4 S-Box is simply stated a... |
My course teacher mentioned that the two forking lemmas have different prerequisites for use.
The former article (Security Arguments for Digital Signatures
and Blind Signature) is more limited, but I did not find it in the second article I read, and the article did not describe the difference between the two in detail ... |
Suppose in a elliptic curve (say the curve equation is: $y^2 = x^3 -17$) with prime order $q$, we have $(x,y_1) = nP$, where $P$ is a generator and $n<\lceil{q/2}\rceil$. Can we claim that there does not exist $n' < \lceil{q/2}\rceil$, such that $(x,y_2)=n'P$ is a valid curve point where $y_2 \neq y_1$?
|
Consider the following scenario: Alice has a secret key and public key pair for text-book RSA (denoted $\text{sk}$ and $\text{pk}$ respectively). Bob has an authentic copy of $\text{pk}$. The adversary has an authentic copy of $\text{pk}$.
Now, Bob wants to send his $\text{PIN}$ to Alice which is a four digit number. ... |
How feasible would it be to migrate from AES-128 to AES-256?
|
For $p$ a 1024-bit prime, we have a 1021-bit element $g \in \mathbb{Z}_p^*$, where the order of $g$ is much smaller than the order of $\mathbb{Z}_p^*$. How does this small-order $g$ affect the security of the signature?
|
Let us consider the following situation. Let $U_f$ be a gate computing $f$ mapping $\{0,1\}^n$ to $\{0,1\}^n$. That is, $U_f\left\vert x,0^n\right\rangle=\left\vert x,f(x)\right\rangle$. Let $\left\vert\phi\right\rangle$ be the uniform superposition on $\{0,1\}^n$. By performing $U_f$ on $\left\vert\phi\right\rangle\le... |
The zero-knowledge property of the Groth16 (https://eprint.iacr.org/2016/260, page 8) non-interactive zero-knowledge argument is based on the existence of a simulator $\text{Sim}$ generating "fake" proofs for valid statements $(\phi, w) \in R$ without knowledge of the witness $w$ for statement $\phi$.
My question is wh... |
In Section 2 dP and dQ are defined thusly:
dP p's CRT exponent, a positive integer such that
e * dP == 1 (mod (p-1))
dQ q's CRT exponent, a positive integer such that
e * dQ == 1 (mod (q-1))
In Appendix A.1.2 we have this:
o expon... |
I encrypted my entire volume with Veracrypt which prompts on start up and asks for a password, great.
Now after every startup is finished or everytime I leave the computer unattended (after a quick Windows key+L) there is only the Windows password to protect my computer so is it safe to use the same password for both v... |
Let $\mathbb{G}$ be a group of prime order $p$ with generator $g$. Suppose that I randomly pick $r_1,z_1 \leftarrow \mathbb{Z}_p$ and $r_2, z_2 \leftarrow \mathbb{Z}_p$ and $c \leftarrow \mathbb{G}$. Let $\alpha = g^{r_1z_1}g^{c}$ and $\beta = g^{r_2z_2}g^c$. By the semantic security of El-Gamal encryption, both $\alph... |
I'm reading through Indistinguishability Obfuscation from Well-Founded Assumptions and in Definition 3.1 describing sPRG, it mentions "samples a function index I." Can someone explain what a function index is in this context?
|
qTesla is a signature scheme and a submission to the NIST post-quantum standardization process, which made it to the second round. It is based on the hardness of RLWE. The NIST round 2 status report says that it didn't make it to round 3 because:
the
performance of the remaining parameter sets of qTESLA is not strong ... |
Let's assume you can factor integers in a very efficient manner. Would that endanger the security of e.g. elliptic curve cryptography, or is there no link between the two ? You can often read that Shor algorithm would break RSA and Elliptic Curve Cryptography, but I'm more precisely searching about the effect of breaki... |
Is it possible to convert secp256k1 private key to valid sr25519 key?
|
The scenario
Using AES 256 with CBC mode. (Authentication is done separately. Ignored here.)
The goal (explained more later)
To avoid sending an unencrypted IV.
But since this is being done using .NET whose function forces us to use an IV, we can't just prepend 16 random bytes and then toss away the first 16 bytes afte... |
We are developing an open-source peer-to-peer app, Mapeo, designed for users with low technical experience (and no email or phone) to collect data in offline environments. We are generating their identity on the device for each project as a public-private keypair using libsodium crypto_sign_keypair.
To support identity... |
I would like to build secure notes via javascript and webcrypto.
I have found the possibilities to generate strong key via PBKDF2 and encrypt data via AES.
Here is a sample how to generate key via PBKDF2 in webcrypto, where is required salt:
function getKey(keyMaterial, salt) {
return window.crypto.subtle.deriveKey... |
Here is an idea for a designated verifier signature scheme. Suppose Alice and Bob know each other’s public keys and Alice wants to send a message to Bob, such that only he will be convinced of its authenticity.
Alice will do Diffie–Hellman between their keys and then MAC the message using the derived secret. To verify,... |
Classic disclaimer: there may be a better place to ask this question, if so comment and I will be happy to move it.
An example I'm looking for is related to recent scrutiny over energy consumption of bitcoin, such as here although there is no math in this example.
An example similar in nature is the math behind the que... |
https://dl.acm.org/doi/10.1145/2905055.2905118
Quoting the above paper's abstract, "Biometric cryptosystem can apply fuzzy vault, fuzzy commitment, helper data and secure sketch, whereas, cancelable biometrics uses distorting transforms, Bio-Hashing, and Bio-Encoding techniques."
It differentiates between a fuzzy vault... |
I'm trying to end the research work for my master thesis about BB84 QKD (and QBC) and a basic problem of quantum mechanics is blocking me.
I'm trying to do a probability calculus of the action of measuring a qubit in a wrong bases. In bibliography, I've always found the statement:
When Bob chooses the wrong bases for ... |
I m studying for the Key Establishment Using a Key Distribution Center
From my understanding, KDC contains all the users' private keys. For example, If Alice wants to talk with Bob, Alice requests to the KDC by using Request(IDAlice,IDBob) and KDC generates the random session key and encrypts the session key with Alice... |
I have been playing with SHA-2-256 in Julia and I noticed that the hashes produced don't appear to follow a uniform distribution. My understanding of secure hashing algorithms is that they should approximate a uniform distribution well, so they are not predictable.
Here is the Julia code I'm using:
using BitIntegers, D... |
If I understand correctly, the core of man in the middle attack is in being able to replace an exchanged variable (public key) with another.
Hence to detect a MITM one needs to check if the exchanged public key is truly same for both A and B, and to defend against MITM one needs to be able to exchange a variable withou... |
I have an encoded file and a public.pem file. Is it possible to decode the file using the public.pem file or do I have to start looking at private keys?
I tried https://github.com/Ganapati/RsaCtfTool with no luck. The public key (pem) is as below
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjH... |
Imagine that we have a protocol like this:
B -> A: RB
A -> B: {RB,B}K
Goal: authenticate A to B
K: a shared key between A and B
{}K: encrypting by K
After receiving {RB, B}K by B, B is able to authenticate A. But what if we have something like:
A -> C: {RB,B}K
C -> B: {RB,B}K
so in this case B will authenticate C inste... |
The answers to my HW say that a preimage of a single block is easily found. I do not understand how it is easily found. Please help.
|
Two add the plaintexts encrypted in a ciphertext, you would just multiply the ciphertext and modulo it. However, how does the randomness value of the new ciphertext change? Assuming you the encryptor knew the randomness values in both ciphertexts, could you calculate the new randomness value?
|
I am trying to understand the difference between permutation and transposition. I have seen a similar question in the forum but I would like to ask you for proper definitions and examples of each. I'm trying to understand the DES algorithm and I'd like to understand if the halving of the initial block and eventual swap... |
We have encryptions $c_1$ and $c_2$, the person who knows the plaintext and randomness in both wants to prove that they know it. Let $r_1$ and $r_2$ be the randomness values in $c_1$ and $c_2$ respectively. The prover then randomly generates another random number, $z$. They then calculate $a_1 = r_1^n z^n$, $a_2 = r_2^... |
Is there a way to recover the bit sequence of a number ( for example 29 = 0b11101 ) by always dividing it by 2 when in mod 143 for example ?
What I mean by that is recover the number bit by bit by multiplying it by the inverse of 2 mod 143 to simulate the /2 division. for example:
$\begin{array}{}
&29\bmod143=&29&\equ... |
Following the question Can I know from a Bitcoin public key if the private key is odd or even?
The answer there gives a simple algorithm for solving the Discrete Logarithm Problem when given an oracle which gives the LSB of the DLOG. The answer hints this may be possible but not so easy with a probabilistic solution. S... |
STS Protocol is like this:
$A \rightarrow B:~ g^x$
$A \leftarrow B:~ g^y, E_K(S_B(g^y, g^x))$
$A \rightarrow B:~ E_K(S_A(g^x, g^y))$
My question is why do we say in STS we have mutual authentication? For example:
$A \rightarrow C: g^x$
$C \rightarrow B: g^x$
$C \leftarrow B: g^y, E_K(S_B(g^y, g^x))$
$A \leftarrow C:... |
Anonymous credentials are used to prove certain properties of a specific user without revealing any other information, and transactional pseudonyms are used to authenticate a user as the rightful owner of a specific transaction without revealing any other information. Are transactional pseudonyms a form of anonymous cr... |
I know that I have to use decryption, but I am confused about how it breaks one-way (preimage resistance)
|
(I guess no but why is this the case? Any way to make it possible?)
Out of a given equilateral triangle T1 (with his 3 vertices A,B,C lying in a finite Field $\mathbb F_N^D $) another equilateral triangle T2 can get constructed by mirroring one of the 3 vertices at the edge in between the two other vertices. This will ... |
As asked above, what does "counter" mean exactly? Is it the same as nonce?
Also, the book Network Security Essentials (6ed.) from William Stallings states, "Typically the counter is initialized to some value and then incremented by 1 for each subsequent block (modulo $2^b$, where $b$ is the block size)". What does this... |
Recently I noticed that my device generates short-sized Nonces.
Approximately $2 ^ {243} - 2^{244}$.
Could it turn out that there will be a small leak of information about the first 3 bits of Nonces?
Accordingly, if Nonces is short, then it must contain null at the beginning.
That is, the first 3 bits of Nonces contain... |
Alice wants to store key:value pairs with Bob.
The goal of the exercise is for Alice to be able to use Bob as a reliable data storage service, even if Bob were untrustworthy.
A (correctly implemented) MAC/AEAD/Signature means Bob cannot tamper with records.
But basic authentication is not sufficient to ensure that Bob ... |
Is it possible that the plaintext encrypted in a ciphertext using paillier encryption is positive without using a zero knowledge range proof?
|
The question is basically stated on the title. I have done some introductory reading on Oblivious Transfer and most of them are secure in the semi-honest model. Are there any protocols that are secure under stronger security assumptions (e.g. malicious adversaries) ?
|
I think of a situation that attacker can steal data from AES encrypted table without knowing the key.
I tried to search on internet but found nothing about this(may be I were not using the correct keyword), really appreciate if any one can shed some light on it.
Assuming that the table is encrypted with same key but di... |
I apologize in advance if this question has been answered already. However, I have not been able to find an existing answer - despite the case being pretty simple and common I imagine. Perhaps there is some terminology that I do not know making me miss the obvious.
So here goes:
Assume we repeatedly SHA256-hash a "secr... |
Suppose G1 is an elliptic group and G2 be a multiplicative group and they are of same prime order p and e is a bilinear pairing, e: G1 X G1 -> G2. The operations e(p,q)r and e(pr,q) gives equal result where p, q $\in$ G1 and r $\in$ Z*p.
The computation time of different cryptographic operations are given below source... |
Authentication-:
I understand that authentication is basically digital signature. But what I don't understand is how it has been explained here specially the RSA key part. It is leading me to huge confusions.
In RSA encrpytion, we use public key(of whose sender or receiver?) for encrpytion and private key(of whom?)... |
I've came with the following problem from the Theory and Practice book by Stinson-Paterson. It states the following:
2.17
(a) Prove that a permutation $\pi$ in the Permutation Cipher is an
involuntory kei iff (if and only if) $\pi(i) = j$ implies $\pi(j) =
> i$, for all $i,j \in \{1,...,m \}$.
(b) Determine the number... |
Does anyone know of a C++ homomorphic encryption library that supports addition, multiplication and logical right shift over integers? Some set of instructions that allows the implementation of logical shifts would work as well. The range should be at least sufficient to support signed 32-bit integers and the scheme sh... |
I need to create an id generation function that takes 4-digit number and returns a unique 3-letter identifier.
I already have a function that generates a 2-letter id from 3-digit number with some limitations (between 100 and 775), but I'm not sure how to change it to meet the new requirement.
if order_id < 775:
alpha... |
I don't understand why $\text{CBC-MAC}(M) = \text{CFB-MAC}(M)$. Has it something to do with $\text{CBC-MAC}(M) = C_L$ and $\text{CFB-MAC}(M) = E_K(C'_{L-1})$?
|
By using SSSS we distribute the key to "N" people where any "k" (N>=k) are required to participate to unlock the code. But what if I wish to have the people "x" and "y" always be part of "k".
Any provisions for that??
|
The classic definition of a PRP includes efficient invertibility.
Given that many modern cipher modes (CTR-based e.g. GCM) use only the forward direction of the block cipher, it seems that the efficient invertibility part of the definition is not actually necessary for practical purposes.
Would such a relaxation gain u... |
For example, if I use Rijndael for encryption, I have to specify a key of a certain length. For user convenience, I want the user to be able to use a key of any length. Then, to get the key to the required length of the algorithm, I build the hash value, which I then use for encryption and decryption. Is the security o... |
I was reading Wikipedia page of post-quantum cryptography. It says that it is desirable for cryptographic algorithms to be reducible to some particular mathematical problem, that is intractability of the system should be essentially stemming from hardness of some mathematical problem.
For example, lattice-based cryptog... |
Is there any fundamental reason to designate one direction of a block cipher as "encryption" and the other "decryption"? Or are these arbitrary choices? Or perhaps practical decisions for specific cipher designs?
Put another way, if the designers of DES or AES had chosen to label what are known as "encryption" as "decr... |
(Probably not the right board to ask. But here goes)
I'm designing an IoT Solution with RPi as client and AWS as the server. On the client hardware, I have an Security Chip that can securely generate and store ECC, RSA, AES Keys/Pairs and can perform variety of cryptographic operations including ECDH, ECDSA, KeyGen, et... |
I'd like to ask if in case of modular exponentiation, reverse engineering the base would be equally difficult, when knowing the exponent as determining the exponent is hard when the base is provided? The modulus should be considered to be safe and the same in both cases.
In equations:
secret ^ public1 mod public_prime... |
I am new to this field and have some concerns regarding PQC;
How does NIST do a comparison that a particular algorithm is efficient and its security can not be broken by future quantum attacks? I am enthusiastic to understand the criteria.
Had NIST tried to break the Encryption algorithm by applying Shor's algorithm us... |
I've just started studying Bitcoin and cryptocurrencies, so I might be wrong, but so far my understanding is that public keys are derived from private keys using ECDSA, in Bitcoin's case using secp256k1. This is a one-way function and is, technically, computationally safe... Until you take into account quantum computin... |
I am reading up on Pairings using Elliptic curves & all the texts talk about functions on a Curve.
I am finding it difficult to even figure out what they mean by "function on a curve" or "function on a line"
The equation of a line or a curve itself is in the form of a function, but I am unable to figure what is "functi... |
I am looking for research problems in lattice based Crypto. Can anybody help?
|
Let $F_M(n)=\operatorname{CRC32}(M|n)$, where $M$ is an arbitrary length prefix message, $n$ is a 32 bit integer (whether little or big-endian encoded is unimportant) and "|" is simply concatenation of data.
Is $F_M(n)$ injective in $[0,2^{32}−1]$?
|
given a hash H() , like sha256
and a secret text S
and a public salt P
will knowing H(S) reveal HMAC(P, S) ?
to clarify: the question is if it possible to learn the digest, not the secret.
In my specific case HMAC(S) is actually HKDF(S), but i'm assuming for this question the safety-related part is just the extract pha... |
There is a statement that I can't give a reference;
"Since the timing characteristics of symmetric algorithms are not as key dependent as asymmetric algorithms, they are more resistant against timing attacks."
Is it true?
|
I have a web API with a custom API authentication system that users each have a SecretKey and a public ApiKey. Using these two keys client(or user) can generate a token for the authentication on the server.
Consider this function generating an authentication token
public string GetToken(string apiKey, string secretKey,... |
I have a public key but struggling to get the modulus from it
alan@WW031779:/mnt/c/Users/alan/Downloads/rsatool$ openssl rsa -noout -text -inform PEM -in lol.pem -pubin
RSA Public-Key: (2048 bit)
Modulus:
00:e6:23:97:28:84:b1:f4:d7:22:bd:d5:ee:5b:eb:
84:cb:84:76:0c:2e:d0:ff:af:d9:3c:d6:03:0f:b2:
0d:79:30:90... |
I am implementing certificateless cryptography from this research paper in python language. Essentially, I want to have the following hash function mapping. This hash function is mentioned in the setup algorithm in section 2.4 of the paper. Here n is the bit-length of plaintexts.
$$\begin{align}
H_4: \{0, 1\}^n\to\{0, ... |
The following is a real-world problem.
In a standardized protocol clients can connect to a server using mutual 4-pass authentication on an otherwise unsecured TCP channel:
pass-1: Client send random Challenge C to server
pass-2: Server answers by sending random challenge S to client
pass-3: Client prepares res(S, K) a... |
I am mostly self taught and have limited knowledge of the symbology in the image below. It is a diagram of a sub block the RIPEMD-160 algorithm:
Are such symbols standardized? Is there a good dictionary or atlas someone is aware of that could link such symbols to their definitions?
Here is the source: https://en.wikip... |
I believe with Shamir’s Secret Sharing Scheme, I can create an n-part secret and distribute each of those parts to n parties. But the weakness is that I still know all the parts.
Is there a mechanism in which n parties can each have a secret that none of the other parties know, but yet have the public key be known in a... |
Let's say I'm modifying the Scrypt hash function (https://github.com/Tarsnap/scrypt/blob/master/lib/crypto/crypto_scrypt-ref.c) and that all I want to do is replace SHA256 with SHA1 in the code to make it easier to compute. (Remember that the intention of this algorithm would be to be used as PoW, not for security. Wou... |
I already have the Katz-Lindell textbook, but I also want some additional practice problems for security reductions for stuff like PRFs, MACs, digital signatures, private and public key schemes, and key exchange schemes. Where could I find more problems for practice?
Thank you!
|
Let's say that I uniformly sample a 1000 bits randomly. Then, I hide a secret of 10 bits on those 1000 bits, randomly. That is, I pick each of the 10 bits and randomly replace them inside the 1000 bits, in an order that just I know. And then I call this order my key. Knowing where each bit is, gives me the hability to ... |
Please help me to understand the proof of the following claim:
Assume there exist strong OWFs, then there exist functions that are
weak $\frac{2}{3}$-one-way functions, but not strong one-way ones
Proof
Let $f$ be a strong OWF. Define $g(x) = \begin{cases} (1, f(x)) & x_1 = 1 \\ 0 & else \end{cases}$
I just don't u... |
this is just a general question, Is there is a bug bounty from the NSA or anyone else for reversing a SHA HASH, specifically SHA-256?
|
The constructions of 1-out-of-$n$ OT for $l$-bit strings I've seen had communication complexity proportional to $nl$. I wonder, is it possible to do OT with active security and transfer less than $O(nl)$ bits (I'm ignoring the security parameter in $O$-notation here)? The important part for me here is making it cheaper... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.