instruction stringlengths 32 27.2k |
|---|
I'm having a hard time pinning down an exact definition of the difference between information-theoretic and perfect types of security. A rigorous definition seems elusive...
A. Wikipedia puts the difference down to the perfect type being a (poorly) defined special case of the information-theoretic type. "...a cryptos... |
I'm reading this paper: Quadratic Span Programs and Succinct NIZKs without PCP
Is QAP NP-complete? as same as QSP?
|
For a sha512 hash of a secp256k1 public key, how many other public keys could generate that hash? I would assume zero since the key size is equal to the hash length (secp256k1 public keys are 64 bytes, 512-bit), and there are only $2^{256}$ public keys as the private keys are 256-bit.
|
The TLS protocol can perform the handshake in different modes. Either fresh handshake where new keys are generated, or using Pre Shared Keys (PSK) or what was know as Session Resumption in previous versions.
My question is: In practice, when do clients such as web browsers for example use TLS in PSK mode? Does the exi... |
This may be a difficult question
So, $C_1$ = AES-GCM($k_1$, nonce, message) where nonce = HMAC(key,message). $C_2$ = AES-CBC($k_2$, iv, $C_1$).
Now, a security breach occurs. The adversary obtains $k_1$ and $C_2$ because they are the most vulnerable parts of my encryption scheme. I change the keys in this instance... |
Assume my prime generation is as follows:
Pick a number $p$ between 1000 and 9999. $p=abcd$.
Make sure $p$ is prime
Construct $q$ such by taking the last 2 digits of $p$ and the first 2 digits of $p$, i.e. $q=cdab$
Make sure $q$ is prime.
Is the resulting $n = p·q$ more easily factorable?
My gut feeling says yes but... |
Is finding a public key that matches hash of pre-commited public key (second layer security) more computationally hard than finding private key to a known public key (attacking secp256k1)?
|
How to motivate, that in ElGamal Alice the recipient keeps her keys fixed, while Bob the sender changes the key each time - why not both of them change their keys each time?
|
I need a compression function $F$ that uses only bitwise operations (AND, NOT, OR, XOR, shifts, rotations) and outputs one 32-bit word $W$ from four 32-bit words $w_1 \mathbin\Vert w_2 \mathbin\Vert w_3 \mathbin\Vert w_4$. The function is required to satisfy one special property: if two 128-bit blocks
$$\begin{array}{... |
I would like to encrypt certain data before logging it. Currently, I use a private key and a static IV.
Looking at generating a suitable IV I am concerned about the overhead in generating CSPRNG whilst logging. I am sure there is a different way to approach this problem but I do not have the experience to know what is ... |
If I have two cipher texts lets say $C_1$ and $C_2$ of the same length encrypted through stream cipher technique using the same keystream. Let's say they are:
$$C_1: \texttt{96 C6 A1 08 E7 F2 33 3B 3F 5C AB}$$
$$C_2: \texttt{90 C6 A1 1E E6 F3 31 2B 37 4A B6}$$
$C_1$ is encrypted as ($P_1 \oplus \text{Keystream}$) and $... |
How to produce a binary output sequence using LFSRs but with increased linear complexity?
I have tried searching but i got confused on equation details. So can anyone help me with rather simple explanation on how to increase linear complexity i.e. with some diagram or so.
Thanks
|
I am trying to validate my RSA implementation for digital signatures with the test vectors provided by NIST. For now, I am focusing on the tests for signature generation (SigGen15) with the PKCS#1 v.15 padding scheme.
Given a message M, the modulus N and the private key D, I need to find the signature S of M. From my ... |
In paper :Cryptographic Analysis of All 4 × 4-Bit S-Boxes Saarinen has classified $4 \times 4$ S-Boxes and defined Canonical representative for each class of S-Boxes.
What does "Canonical representative of S-Box is 0123468A5BCF79DE" mean? And,
How can I calculate it for an individual S-Box?
|
Consider the following custom crypto:
We have a signed message M1 with corresponding signature S.
We have the 1024-bit modulus N and their small public exponent e (with an exact value of 3).
The message M1 is too large to sign directly, so instead they sign the SHA1 hash (160 bits) of the message. The SHA1 hash forms... |
While performing encryption using public key and decryption using the private key, I am always finding that encryption takes more time than decryption in elliptic curve cryptography (ECC). It's the same for signing and verifying. The key is 60 bytes.
Is this the normal behavior or I am using the wrong implementation of... |
I am reading Programming Bitcoin. The author said:
Another property of scalar multiplication is that at a certain multiple, we get to the point at infinity (remember, the point at infinity is the additive identity or $0$). If we imagine a point $G$ and scalar-multiply until we get the point at infinity.
He doesn't ex... |
Given two plaintexts $p_1$ and $p_2$, is it possible to find two keys for AES(-CBC) so that $$E_{k_1}(p_1) = E_{k_2}(p_2) $$
I want to make sure that will never happen, or is there any way to prevent that from happening? Because that will make my system unreliable.
|
The objective is to broadcast information over a noisy digital channel (corruption rate of say, 10-20 %, where bits flip). Assume the broadcasting software is public and there is no possibility of embedding secret information so a public key cryptosystem must be used. Let the adversary have full knowledge of the softwa... |
Vector commitment allows one to commit to an ordered sequence of $q$ value ($m_1,\cdots,m_q$) in such a way that one can later open the commitment at specific positions (e.g., prove that $m_i$ is the $i$-th committed message).
A Zero-knowledge set means that users commit to a set and subsequently prove the (non-)member... |
I have coded an implementation of elliptic curves in order to apply some of the ECC algorithms. However, in most of them, Alice needs to choose a point P on a given curve. What is the general procedure for selecting such a point?
Given a small example such as $y^2 = x^3 + x + 1$ over $F_{25}$, is there an algorithm to ... |
I'm trying to complete a cryptography CTF challenge in which I have a cipher I'm supposed to attain the original plaintext from. I have reason to believe it's been encrypted using AES, but I'm unaware of the typical tests to carry out to check for weak implementations. For instance, with DES you can test for use of wea... |
The following definition is from Trappe and Washington, "Introduction to Cryptography with Coding Theory". Given a number $n$ and an integer $r > 0$ such that $a^r \equiv 1 \pmod{n}$ for all integers $a$ with $\gcd(a,n) = 1$, the universal exponent method attempts to factor $n$ as follows:
Choose a random integer $a$ ... |
Reading here,I was confused in the proof of "A Multi-Signature Scheme based on Discrete Logarithms" proposed by authors.I felt strange to the technique(using array $T_0[]$、$T_1[]$、$T_2[]$ and state $alert$、$bad$),can someone give me a straightforward explain of this proof(or some similar proofs of other schemes)?
|
I'm new to cryptography. I have a binary image with 64x64 pixel in size. I perform an encryption to the image using RSA Algorithm. I wanna ask something bothering me, why can I not use big prime numbers as a pair of key for the RSA algorithm? Thank you in advance.
|
Is there a reference where all common formal security-definitions are summarized (such as OW-CPA, IND-CPA, IND-CCA1, IND-CCA2, EUF-CMA and so on)? I need a PUBLISHED reference (paper, book) which would be possible to handily quote.
|
I'd like to know, in DSA we compute several values modulo $p$ and modulo $q$, like $r = (g^k \bmod p) \bmod q$ or $v = (g^{u_1}h^{u_2} \bmod p) \bmod q$.
As far as I understand, we want to use two different primes $p$ and $q$ instead of just one to make sure that $g$ is of prime order $q$ in order to be able to invert ... |
I am working on an attack that involves changing a constant inside a loop. Consider the simplified example is as below,
For i=1 to n :
j=constant;
for i=1 to n':
Use J here
.
.
exit for;
exit for;
In my case, I don't want to j to get the correct value of constant.
If n is between 6... |
Just read about W-OTS. Since the signature is the private key hashed 256-N times, is it trivial to forge a signature with a smaller value for $N$ when having access to original signature? I.e. just hash it one more time and it represents 9-1, etc.
|
This is a theoretical question to solve an argument with a friend..
Is there a working cryptographic system that do square root operations during the encryption process?
"Working" means that it is really implemented, and not just an academic research.
Hint: I suspect that it is not possible as computer hardware has fl... |
In Lenstra's ECM algorithm, $\#E(\mathbb{F}_{p})$ is required to have small prime factors. Why is this so?
I understand that the p-1 method is efficient for factoring N with small factors. The ECM algorithm replaces the $\mathbb{Z}/p\mathbb{Z}$ group with points on an elliptic curve, both groups having finite cardinal... |
Let $R_q=\mathbb{Z}_q[x]/(x^n+1)$ as usual in the RLWE assumption.
Suppoes that I choose a sample of the RLWE distribution, that is, I compute $(a,y=as+e)$ where $a$ is uniform in $R_q$ and $s,e\leftarrow\chi_\alpha$ are sampled from the error distribution (discrete Gaussian distribution with parameter $\alpha$).
Ques... |
How would one build an LFSR logical map, with a characteristic polynomial such as
$$P(x) = x^4 + x^3 + 1$$?
Also, how would you interpret it, and what would you do to do the reverse it in order to create a characteristic polynomial from an LFSR map?
|
I have read section 3.5 (algorithm 3.7) in "Guide to Elliptic Curve Cryptography", and have been trying to implement endomorphism on secpt256k1 to speed up calculating $kP$ by changing it into 2 point multiplication operations over half-size bit widths of k with a final point add. I tried to implement this in Python fi... |
From what I understand an LFSR produces a maximal length sequence if its characteristic polynomial $p(x)$ of degree $n$ is irreducible, i.e. if it cannot be factored and the smallest integer $k$ for which $p(x)$ divides $x^k – 1$ is $2^n – 1.$
I understand $2^n -1$ has to do with the period, but how is it calculated ... |
Since the signatures all generate the public keys, those can be derived from sig and proven by pre-commited XOR of every pub key compared with XOR of every signature end hash.
|
I am working on a very resource-constrained environment. Using a standard peer reviewed library isn't possible because it won't fit within the RAM requirements of the device (~5K unused ram without crypto). The library I've modified is called microecdsa, and the way it chooses k is as follows.
for (;;) {
// ge... |
Suppose there is a scheme where a message is first hashed and then sent to a PRP. If the hash is done using an $\epsilon$-bounded universal hash function and the PRP $K\times \{0,1\}^n\rightarrow\{0,1\}^n$ is a $(q,\delta)$-PRP.
The objective is to show this scheme $K\times K_n\times \{0,1\}^*\rightarrow\{0,1\}^n$
is a... |
We're currently approaching the end of our semester, but I've found that our homework is starting to consist more of encrypting and decrypting using different types of algorithms instead of learning any other core fundamentals. Even though we've switched over from symmetric to asymmetric algorithms. I'm wondering if we... |
I'm trying to do learn a bit about RSA by doing CTF's and now I am doing one problem probably more than 7 hours so I would really appreciate a hint here from an expert.
I have an encrypted message $c$, the modulus $n$ and the public exponent $e$ (variable names are by the definition of the wikipedia article). The expon... |
CSPRNGs have 2 design requirements:
output unpredictability,
back-tracing resistance.
In addition to which, NIST SP 800-90Ar1 added other features such as a) instance customization/personalization, b) operation administration (reseeding counter, etc.).
Of the three functions listed on Wikipedia page for CSPRNG, ke... |
Suppose there is a plaintext p, which is encrypted with a symmetric cipher using a key k, resulting in a ciphertext c. Bob knows both c and k, but Alice knows only c. Is there any protocol by which Alice can be certain (maybe with some probability) that Bob indeed does know p, without revealing to her p itself?
Also, i... |
Let's say I tell you $G: \mathbb{F} \rightarrow \mathbb{F}$ is a random permutation (some finite field). Does that mean:
$G$ is one-way, so that if I give you $G(x)$, it is infeasible to determine the pre-image $x$?
Is $G$ hiding in the sense that you can't figure out anything about $x$ given $G(x)$? For example, you ... |
Let $N=pq$ where $p$ and $q$ are safe primes. If the adversary knows the inverse of $p$ mod $q$ and the inverse of $q$ mod $p$, can this help him factor $N$ or break the textbook RSA?
|
I'm creating a small messenger and I wanted to know if it makes sense to store user passwords double-hashed in our backend-database. I wanted the user the register in an app, which should save a hash of the password and login with this hash in our system, which should not save this (1st) hash, but should somehow hash i... |
On reading about block chain technology, it was observed that it leverages the distributed ledger technology through P2P, here integrity is ensured through hash computed by miners, and then is validated by all peers in the network and then added to the block chain permanently if validation passes.
Questions:
If the blo... |
What SALT value will be used in HKDF_EXTRACT while generating the Handshake Secret (when there will not be any PSK)?
|
In the secure computation based on GMW and SPDZ style approaches, we use multiplication triples to gain efficient online computation time.
Can a same triples be used multiple times?
Is there any need to update the triples?
|
Regarding the secret sharing schemes, I am wondering if there are any academic references for the Additive Secret Sharing and its variations. Is there any textbook or article which has specifically discussed this scheme for secret sharing? When and where has it been formally introduced for the first time?
|
On page 181 of Handbook of Applied Cryptography Chapter Five, it states the following:
The purpose of this test is to determine whether the number of occurrences of 00, 01, 10,
and 11 as subsequences of s are approximately the same, as would be expected for a random
sequence. Let $n_0$, $n_1$ denote the number of ... |
It seems that the acceptable "security margin" for ciphers is set to be between 25% and 30% as a target by designers, where this number represents the number of rounds that remain "unbroken" for a certain worse-case attack. It is all too eerily empirical from a field that dislikes that sort of thing considering that ... |
This is kind of hypothetical, but let’s say I have a web app and I want to store a user’s email for sending notifications to.
Is there any zero-knowledge way to hide their email from ourselves and any potential database leaks while still having the ability to send to their address (which would obviously require the em... |
Is it possible to find 128 bits $B$ such that $md5(B) = B$?
md5 has collisions that can be computed in acceptable time, but I did not find any papers on fixed points in md5.
As pointed out in this question from 2014, there is a 63.2% probability for a totally random hash function to have a fixed point. Since some time ... |
There appears to be some inconsistencies between the PKCS#11 v2.40 Current Mechanism Specification and the specification for AES Key Wrap Pad as defined in SP800-38F.
First, according to PKCS#11:
The mechanisms will accept an optional mechanism parameter as the Initialization vector which, if
present, must be a fix... |
NIST specifies that implementations were required to create Monte Carlo test vectors for ECB and CBC mode for the AES competition.
What's the reason for these tests? The only thing I can think of is that it is some randomized testing of the block cipher in specific modes. However, in that case the difference between EC... |
What is the expected value of the length of the period of a n-bit linear-feedback shift register with a random tap?
I am asking because I am curious what security issues would appear if the tap would be generated randomly.
|
I'm trying to create BIP32 like key derivation for EKCDSA by riding over a BIP32-EdDSA derivation
Can anyone tell me if there is a glaring problem with my conversion technique?
PrivateECKCDSA = First32Bytes(Hash512(PrivateEdDSA))
PublicECKCDSA = Convert_ED25519_to_Curve25519_public_key(PublicKeyEdDSA)
Can any buffer ... |
Can the security of the encryption system be improved by using double encryption with two randomly chosen keys?
By double encryption I mean using two keys $K_1$ and $K_2$, each 20-bit long, to obtain ciphertext $C = ( M ⊕ K_1 ) ⊕ K_2$.
|
I'm trying to understand Understanding brute force by Bernstein. I couldn't understand how the described machine can brute force the AES.
The attacker builds a very small key-search circuit. The key-search circuit has
three inputs: a 12-byte string $\beta$, a 4-byte integer $n$, and a 16-byte string $s$. The key-sea... |
Are there any hash-based signature schemes which would let two (or more) people sign the same message without increasing the size of the signature linearly?
For my purposes, it is fine if the scheme supports only one-time signatures.
I think PORS scheme can probably be adjusted to support a small (i.e. < 16) number of ... |
The whole process of bitcoin mining was making sense to me until a moment of madness an hour ago, if there are 80 bytes of data to be processed in SHA-256, that's 640 bits of data to be processed in SHA-256.
In this 80 bytes we have: 4 bytes (version), previous block hash (32 bytes), merkle root (32 bytes), time (4 byt... |
I'm studying about MAC and followings are definition of secure MAC.
(This is Def 4.2 and Def 4.3 of "J.Katz and Y.Lindell-Introduction to Modern Cryptography")
I want to prove this statement
"There exists a MAC that is secure(Def 4.2) but is not strongly secure(Def 4.3)
Thank you.
|
Let's say we have multiple parties $P_1, \dots P_n$ that gather personal data, and a party $C$ that is interested in aggregate statistics on these data, i.e. the average value.
An ideal functionality $\mathcal{F}$ would allow $C$ to register a subset of parties $\mathbf{P}$ linked to some kind of abstract data identifi... |
Are there any current recommendations for performant hashing in a Merkle tree?
It appears the hash based signatures in Sphincs use Blake2 everywhere (see Table 1 on page 22 of https://sphincs.cr.yp.to/sphincs-20150202.pdf) but I'm unsure how later improvements like Sphincs++ updated this.
A priori, we're hashing togeth... |
I have a cryptography workshop question I'm having trouble with as follows;
Person A creates a cipher $E_k(m)$ which produces a ciphertext from message $m$ using key $k$. The function inside $E$ is kept secret but the length of $E_k(m)$ is known.
Person B recommends "increasing" security of the cipher by instead doing ... |
For a project, I want to encode the word "MEMBRANOPHONES" with the key "MULTITONE". I try spliting "MEMBRANOPHONES" into groups of 3, but then I get "MEM", "BRA", "NOP", "HON", leaving me with a 2 letter "ES". I can't multiply a 3 by 3 matrix by a 2 by 1 matrix, so what do I do in this case?
|
In above picture you can see a AES state array over 2 rounds through the S- and P-Boxes of AES. It's taken from here and intends to show how 2 rounds of transformation are necessary to achieve full diffusion after only the first byte has changed.
If one would MixColumns() before MixRows() diffusion, one would reach di... |
I am currently trying to understand how you find the unpadded short plaintext when you are using RSA. Please help with explaining the process and so I can understand this topic more.
|
Many of the cryptographic primitives currently in use have a number of their rounds already broken. Generally and with no particular primitive in mind, what is the scale of the effort to break one more round? Is is anything like $O(n)$, or more like $O(n^{something})$ where $n$ is the number of rounds for any individu... |
Can anyone give me an example of a product cipher which more secure than its components.
Here is how the explanation should proceed.
There is cipher C1 which can be attacked with the technique A1, and cipher C2 which can be attacked with the technique A2, but the product of the two, C1C2 can not be attacked with A1, A2... |
What is the main difference between one-way encryption, Transparent data encryption (TDE) and data encryption? If one needs to store passwords or credit card details in the DB, which one is best to use?
What I have understood from my search is that an example of one-way is hash, in this case is the password encrypted a... |
I'm searching for a ZKP package that supports asymmetric encryption so I can implement the following scenario:
Carol encrypts message $m$ with Alice's public key and sends the ciphertext to Alice. Bob and Alice both know $\operatorname{hash}(m)$, but because $m$ is encrypted by Alice's public key Bob doesn't know $m$--... |
In paper https://eprint.iacr.org/2011/218.pdf, the author has examined 16! different 4 bit SBoxes and at the end of investigation, introduced an optimal class which named "Golden SBoxes". How can I extract one SBoxes from this class?
I mean by knowing the canonical representation of Golden SBoxes as "035869C7DAE41FB2"... |
I need to copy a graph of elements with uuidv4s each, and separately stored relations containing element uuidv4s.
On copy, I need to change the ids. Of course all relation ids should still point to the correct corresponding location in the copy.
So I need a deterministic f(uuidv4): uuidv4 function.
I can work with a te... |
I asked this question already at the Information Security SO site, but my research on how to overcome this problem ended always on the crypto site. That's why I will try to find some help here :)
I am currently working on a software challenge where you have to unlock several functions of a piece of software. The softwa... |
I am struggling a bit to understand how authentication systems are properly used in NFC tag environments so I'm posting this thread to clarify some concepts.(In advance, this is not my field, so suppose gaps of knowledge)
AES : Its a ciphering algorithm based on symmetric keys (both sides have same key, being it able... |
I asked a question on Code Review Stack Exchange, and received a great summary but was redirected here. Covering the answers of the post, it was noted and suggested that:
Use of plain (CBC) mode. They suggested to use GCM but in my solution I need to avoid adding an additional library. Here are my options, which are f... |
Suppose we want to make the hash pre-image resistant to 40 bit security (success chance is $2^{−40}$). What would be the smallest size of the hash output?
|
Which key is used to encrypt certificate and certificate verify message in TLS1.3?
I could not figure out which one it is reading section 4.4.2 of RFC 8846 and I only saw a vague mention on page 11.
|
I am trying to understand (in the frame of exponent 3) how to calculate a "forgery" in the case where the desired result is:
xxxxxxxxxxx[...]xxxxxxxxxxxxxxxxxxxxHHHHHHHHHHH[...]HHHHHHHH
where HH = a 160 bit hash which are the least significant bytes, and xx are the remaining (1024-160) bits where I could put "garbage".... |
What are the best practices or standardized methods to prevent replay attacks in a simple server client setup (preferably where the server is stateless) ?
When should timestamps, sequence numbers, and nonces be used, and what is the main purpose/differences between them?
|
I'm self-studying about hypothesis test in the context of RNGs. I'm building a hypothesis test from scratch. I'm taking the simplest statistical test I can think of: how many $1$s are there in the sequence sample? My null hypothesis is that the RNG is uniform, so I expect the average number of $1$s to be close to $n... |
Short Question:
Are the keys for the ICV calculation and the encryption the same in IPSEC/ESP?
Or do there exist two keys in the SA?
Long Question:
Before a new IPSEC-ESP connection is established, IKEv2 is used to start a new session.
This involves also a DH key agreement.
This key is than stored in the IKE-SA.
Once t... |
Currently I am doing some research on differential cryptanalysis. In general I got a good idea about the attack and how it is done.
I am currently talking about ciphers with multiple rounds. It seems that the success of a attack is depending on a good differential characteristic through the cipher. There are way which... |
I'm using Virgil E3Kit SDK to implement end-to-end encryption in my App. Their E3Kit SDK is very effective and not too hard to understand, but I still don't understand how does the key agreement process take pace in Virgil E3Kit SDK. The workflow they describe in SDK document is:
If A want to send messages with end-to-... |
$\newcommand{\F}{\mathbb{F}}$
Consider the ate pairing defined on a curve $G_1 = E(\F_q)$ and $G_2 = E'(\F_{q^r})$ where $E'$ is a twist of $E$ with the twisting isomorphism defined over $\F_{q^r}$. Say $G_T \leq \F_{q^k}^\times$ and the pairing is $e : G_1 \times G_2 \to G_T$.
Suppose $p = |G_1|$ is prime. My question... |
I'm working on an application that involves signing a 32 byte random number generated by the OS. Assuming the RNG works as intended, is it safe to sign the random number itself rather than a hash of the random number?
I'm asking because time is an issue and -if possible- I would like to avoid the few ms it takes to do ... |
This structure provides message authentication. My question is if someone finds the key he can simply change the message and compute new hash according new message and send it to the receiver. If so, how can hashing provide message authentication? This scheme totally depends on encryption algorithm than why do we add ... |
In short: it is well-known that black-box zero-knowledge protocols are sequentially self-composable. However, Goldreich and Krawczyk [GK90] present a protocol which is proven to be zero-knowledge (in a black-box manner to me), but NOT sequentially self-composable. This seems like a paradox to me. I elaborate on this q... |
Is it possible to find equivalent hash function? Under equivalent, i assume same input produce same output, but they have different initial integer values and/or different set of bitwise operators. Or in other words, does there exist another algorithm of hash function, but having same input->output mapping. If exist, h... |
I could generate a random nonce and prepend it to the ciphertext, but storage space is at a premium and the only constraint AES-GCM has on the nonce (if I'm reading correctly) is that the same nonce must never be paired with the same key for a second encryption.
The encryption key is randomly generated, used for a sing... |
I'm trying to write my own SHA-256 implementation in VHDL, which runs in parallel execution style
I have been using this as a reference to the SHA-256 algorithm: https://www.researchgate.net/file.PostFileLoader.html?id=534b393ad3df3e04508b45ad&assetKey=AS%3A273514844622849%401442222429260
In the hash computation where ... |
I read in a document that for a given $n = p\times q$ ($p$, $q$ primes), if you know $p$ and $q$ then you can easily solve the discrete logarithm problem, i.e. for fixed $a,b$, you can find $x$ such that
$$a^x = b \bmod n$$
But I don't see how this can be done... I tried to check if the Chinese reminder theorem could ... |
In a zero knowledge proof, a prover interactively proves to a verifier that an NP statement is true. If the language is an NP complete language and if the prover runs in poly time, the only way a prover could make such a proof is when it has a witness. So, when a prover provides a ZK proof for an NP complete statement,... |
I'm really interested in range proofs, and bulletproof seems to be the most effective range proof.
I saw an example of usage of bulletproofs range proof: You can generate a proof that your age is greater than 18 without revealing your exact age.
That sounds cool, but what I don't understand is how I can prove that my a... |
I already read a blog about the padding oracle and also some posts about how to change the plaintext but it didn't work out.
So I have the encrypted cookie (AES_CBC):
5468697320697320616e204956343536 d6ca0a2883280762915414c54e97df1b 40871b72f45ec7f9510a080095436d51 4129e137aaac86a0f7fa8bd3d250b9d1 df35b668fcb93f00bb066... |
Consider messaging between 2 parties. A sequence of messages are exchanged between the parties using encryption. We consider an attacker that has at a minimum a log of all the (encrypted) messages sent between the two parties.
Forward Secrecy: encryption keys are constantly updated in a non-reversible way, this means t... |
I am developing a REST client (from an Android Point Of Sale) where I'm given a public RSA 2048-bit key and I need to encrypt transaction information. Since that single block cannot be encrypted (and AFAIK it should not) with the public key, we need to encrypt it using AES 128-bit. So we generate a random key (using Ke... |
Alice has a secp256k1 key pair that she used some time ago when she communicated with Bob. Bob can no longer user secp256k1 but he only uses ed25519 instead.
Is there a secure algorithm that Bob can use to derive an ed25519 pubkey from original Alice's secp256k1 pub key and also Alice can derive the matching ed25519 pr... |
Is there anything especially "discrete" about a discrete logarithm? This is not a question of what is a discrete logarithm or why the discrete logarithm problem is an "intractable problem" given certain circumstances. I'm just trying to determine if there's some additional meaning to the term "discrete" as it's used in... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.