instruction stringlengths 32 27.2k |
|---|
Forgive me for this question. I have an idea to encrypt *.bmp bitmap files using ChaCha20/Salsa20 without Poly1305.
This is just a simple program, where I can encrypt *.bmp bitmap images, with the resulting CipherText in the form of *.bmp files that can still be opened and display random pixels that have been encrypted... |
Imagine that one needs to periodically encrypt very short messages (i.e., a boolean Yes/No, a single byte, or 3-4 bytes in the worst case). We assume that there is no session, and we just need to encrypt under a receiver's public key (i.e., posting an encrypted byte to the blockchain).
I'm aware of ElGamal, Cramer-Shou... |
I understand that the password-based authorization check procedure requires that you enter a password that is correct, that is, does not allow even a single bit difference.
Suddenly I have this thought.
[System A] For password-based authorization system A, let's assume that the password is 256bit.
And it always asks f... |
In "How To Simulate It" (page 45, line 10), Lindell noted that, in the $f_{\textsf{zk}}$-hybrid model (where $f_{\textsf{zk}}$ denotes the ideal zero-knowledge functionality) in the stand-alone model,
if the adversary controls the party running the prover, then it directly sends the input and witness pair $(x, w)$ to ... |
Can I generate from a randomly generated key let say three other keys via HKDF with predefined IVs, eg. Sha-256 of "apple", "banana", "pear"?
My use-case is an app that at the beginning generates one key from which is created every other key using HKDF for each individual DB and the IV for each generation is an SHA-256... |
I'm a crypto newbie and hoping to get pointed in the right direction. I've seen some related questions like this but none that satisfy my requirements.
Let's say Jane's Forum is a large community, and every member of Jane's Forum has a public/private keypair. The public key is associated with their profile and visible ... |
What are documented early field uses of digital signature?
The oldest I found is reported by Charles H. Bennett, Gilles Brassard, Seth Breidbart, Stephen Wiesner's Quantum Cryptography, or Unforgeable Subway Tokens (in proceedings of Crypto 1982). They cite Gina B. Kolata's New Codes Coming into Use (in Popular Science... |
Say, I have uint64_t rand = <some random number>, and char array[20] = .... My goal is to pick an element in array based on the content of rand.
One slow way is to use the remainder: size_t i = rand % 20 then pick the element by array[i].
Another way, which I guess is faster, is i = rand/UINT64_MAX * 20. Or, to avoi... |
I'm reading this PDF: https://link.springer.com/content/pdf/10.1007/978-3-642-01001-9_13.pdf about order preserving encryption functions and there's this on page 9 (or 232):
It's describing the formula for the probability distribution. So I guess it's saying that the probability distribution of some variable.
What is ... |
This post says that Argon2's Blake2b is a reduced one, which is also agreed by Argon2's specs as it states that it uses only a 2 round Blake2b.
But, on the other hand, page 15 of Argon2's specs states that it modifies Blake2b to add 32-bit multiplications in order to increase latency (I guess they mean by needing to wa... |
I am reading "Elliptic curve cryptosystems" and the link is here(https://www.ams.org/journals/mcom/1987-48-177/S0025-5718-1987-0866109-5/S0025-5718-1987-0866109-5.pdf). I don't understand the meaning of "product of two cyclic groups" in it. Can anyone explain it to me? It's better to have a simple example.
|
For the spare-time project I had been working on, I'm evaluating the PKCS#1 padded RSA schemes for implementation.
For PKCS#1 v1.5, encryption doesn't seem to require a hash function, and the signature doesn't need additional mask-generating function (MGF) beyond a digest algorithm for hashing the message.
For PKCS#1 v... |
We can secretly query inputs from a public DBs using what we call in the literature PIR. We can secretly query inputs from a privately held DB by means of Private Set Intersection (PSI). We can also secretly read/write from a private DB, using ORAM. We can even secretly query a private distributed state, by combining O... |
I've recently found some work on the use of Formal Verification Software, like ProVerif for enclaves. I wonder is if its feasible to have something similar for MPC and Homomorphic Encryption and their applications?
I always thought there were limitations adopting simulation based proofs and Universal Composability, in... |
We have a cloud-based application running on AWS servers and are looking for a way to store highly sensitive user data there without giving AWS the possibility of exposing our data to the US government (cloud act). Therefore, we don't want to use AWS-owned services for encryption / decryption like KMS or HSM. We want t... |
For any bitcoin block we combine various Header fields to create a string which is an input to a 2 pass SHA algorithm. The resultant hash must match with the Hash in the Block header for the Block to be valid.
To test this logic as well as SHA algorithm, I used the header of Block number 695877 (https://blockchain.info... |
Hash functions such as SHA-256 takes a binary string as input. Now given a hex string when we convert it to a normal text string the computed SHA-256 value would be the same. Herein lies my problem
Let us consider a simple string in hexadecimals 2E;
its SHA-256 value is cdb4ee2aea69cc6a83331bbe96dc2caa9a299d21329efb033... |
Assume an arbitrary secret physical image¹, such as a privately made chemical Polaroid™ similar to this
Is there a feasible and secure way that this physical image could be used as cryptographic key, functionally equivalent to an AES key or RSA private key, without "accompanying² other digital data" beyond the physica... |
I am reading Cryptography. I have multiple questions to ask.
I signed my QR code with my private key so that people can verify it's mine. QR code has data which is public. I have this QR code on my document. Problem is, can an attacker copy this signature of this QR code on the document, and create a fake document wit... |
I have a single password which is random bytes that encrypts a database. Right now I am using an encryption scheme of https://gist.github.com/jbtule/4336842. To summarize, we take our one password, generate a salt for an auth key and a crypt key, run PBKDF2 with 10,000 iterations to generate the keys, then use AES to e... |
I was reading the paper PlonK and in the Round 1 of the claim to achieve zero-knowledge by adding random multiples (of degree one) of the polynomial $Z_H = x^n - 1$ to the secret polynomials.
Here, $H$ is the set containing the $n$-th roots of unity and tipically described as $$H = \{\omega, \dots, \omega^{n-1}, \omega... |
Seen this, but it's sort of useless as it allows for trivial solutions by increasing the size of the output's space up to a point any hashing function will achieve non-collision.
This question is trying to be the less useless version of that. I.e. to be about the case where the output range is small. Say that my outp... |
Imagine you are building a shared remote storage system where you send everyones files to a central storage, but you want to de-dup the files between multiple users so we don't store the same file more than once. At the same time you want to encrypt the data so the service provider or anyone who doesn't have the file ... |
According to https://crypto.stackexchange.com/a/8800/53007:
Start with the entire domain [M] and range [N]. Call y←N/2 our range
gap. Now using our key k we generate some pseudorandom coins and give
them to our HGD sampling routine along with y, M, and N. This gives us
an x≤y that describes the number of points of our... |
I received a public key by JSON.
For the example, I have 4 keys: 2 public keys and 2 private keys.
public A : co2D0pNxZJIeQ4RZlCRJYBDzNXSLluETdztid0M+HGzN1uGJ4JWZsenjWgRrmkLh3yqHQqzOBMl/wHVH97A6+g==
private A : TXxii5Ka8LMvuc9arHu63qTmNKxGlgti+wpR3YhBGew=
public B : nUblC+OKdl94iBiWk0941wmYBiMt7C90CjOJPI2BPr8K7xGuC1X... |
Could you help me better understand how the key-pair works in Asymmetric encryption?
I'm studying cryptography at the surface level first. While reading multiple texts and talking with colleagues I'm still not sure about two things.
After generating a key-pair can we pick which key will be private or public? My first ... |
Public-private key signing generally works like this:
I announce my pubic key.
I encrypt something with my private key.
If people managed to decrypt (2) with (1) then (2) is from the owner of (1).
People then can encrypt things to me using the public key in (1).
Signing can also be done using hashing or symmetric cip... |
Lots of cryptography algorithms rely on pseudorandom number generators. Sometimes, given a plaintext, you need to generate a pseudorandom number from it. What are some fast algorithms that do so?
I've seen one that uses SHA256 and other that uses AES, but I couldn't find any literature about them or some implementation... |
Assume I have a physical RNG module that generates $n$-bit random numbers that pass randomness tests such as the Dieharder suite. As it is a black box device with an unknown source of randomness, let us also assume it has potentially been partially compromised: an attacker who knows the workings of the RNG module, give... |
As an example to my question, I post the ECDSA signing algorithm for reference (from wikipedia) to sign a message $m$:
Calculate $e = H ( m )$.
Select a random integer $k \in [ 1 , n − 1 ] $
Calculate the curve point $( x_1 , y_1 ) = k × G $
Calculate $r = x_1$ mod $n$. If $r = 0$ , go back to step 2.
Calculate $s = k... |
File-A is hashed with CRC32, MD5 and SHA-1.
How easy is it to create a fake file-B that has the same hashes of file-A? CRC32, MD5 and SHA-1?
Can an average PC with a GPU calculate a triple hash collision of file-A? And how long would it take?
|
Exercise 3.6 from Cryptography and Engineering Consider a new block cipher, DES2, that consists only of
two rounds of the DES block cipher. DES2 has the same block and key
size as DES. For this question you should consider the DES F function
as a black box that takes two inputs, a 32-bit data segment and a
48-bit roun... |
In this paper ("Strong key insulated signature schemes" by by Dodis, Katz, Xu, Yung (2002)), I understand most of the proof for Lemma 1 (pg. 9); I struggle with how some of the probability is calculated though.
No need to read the paper, I think, all you need is the following:
Context
Adversary $A$ breaks (the "new") ... |
I recently had a situation where I needed to derive a secondary Curve25519 private key from an existing one programmatically. The obvious solution was to use a KDF, but I wondered at the time about deriving the second key via some algebraic operation on the scalar value, which of course would (at least for some transfo... |
I need help understanding semantic security, in particular, the part on the 'game'.
But first, from my understanding, is semantic security is a 'weaker' and more flexible way to determine that a cryptographic function is secure enough for use? I understand that the definition for perfect secrecy is often too rigid and ... |
Let $C=\{ c_1, c_2, \cdots,c_n \}$ be a set of $n$ alternatives and $T$ be the set of all strict complete orderings on $C$. For any two $t_1$ and $t2$ in $T$, their (Kendal-tau) distance $d(t_1, t_2)$ is defined as the number of pairwise disagreements between $t_1$ and $t_2$.
My Question: How to find $k$ (much smaller ... |
Given an Input string of N bytes where some bytes positions in the string are fixed/immutable (F Bytes) and rest of the bytes positions can contain any value as we want or are configurable/variable (V = N-F Bytes).
SHA256(SHA256(N)) = H (256 bits).
Now, Given an Input string of N bytes, the values of N, F, V and the po... |
I was wondering if anyone is familiar with any historical aspects (as to whether someone was able to) for discovering code using images on the web as a transport method ? As in hiding byte values in pixel data broken up between the component values ?
** Edit**
Answer below adds to a good search tree of how hide text bu... |
The elliptic curve secp256k1 is defined as
$y^2 = x^3 + 7$. The prime for the field is set to:
p = 115792089237316195423570985008687907853269984665640564039457584007908834671663
So now, one should be able to calculate the order by using the Schoof's Algorithm. There is a Python implementation provided here: https://gi... |
I've heard about several instances where OSINT researchers were able to match user accounts from multiple data leaks purely based on their hashed passwords, assuming accounts had the same password on different sites. (Yes, even when there were no other identifying characteristics, such as re-used usernames, re-used ema... |
I compare the algorithm description of Optimal ate pairing and R-ate pairing, it turns out to me that the formulas are the same. So I'm a little confused, what's the difference between them? or is it just I misunderstand? Thanks very much.
ref: Beuchat J L, González-Díaz J E, Mitsunari S, et al. High-speed software im... |
I am writing a program in python to encrypt files. This program
takes subsequent 1024*1024 (1 mebibyte) chunks of data from a file and encrypts it using AES-128. This is performed in a loop until all the data in the file is encrypted. The issue is that the size of each 1 mebibyte of data is increased when it gets encry... |
When signing using RSA with $e = 65537$ and many pairs of m and c,
where
$$c^e \bmod (n)=m$$
is there a way to find n (n is 2048 bits)?
I planned on computing $ c^e-m $ and then treating those as a basis for a lattice.
But $c^e$ was too large.
|
Usually one explains how the R1CS/QAPs and SNARKs work using examples of circuits with multiplication and addition nodes, and constructing polynomials from that is relatively straightforward. SHA-2 hashing uses complicated bit-wise arithmetic applied to itself multiple times, not simple multiplications and additions. H... |
Say $m$ is some clear text, and $h_n(m)$ is its $n$ bits hash.
The question: How can we design $h_n$ so that we can extract maximum information about $m$ from $h_n(m)$?
The reason I ask this is because, I think, if we answer that question, we will identify the perfect lossy compression function.
And the reason I think... |
I've got two 1024 bits primes $p,q$, and $n = p \cdot q$.
Now I know the result of $ c^{p} \bmod n = x$, also the value of $c$ is given, I wonder if it is possible to factorize $n$.
|
I have devices which need to communicate with a server over a mutually authenticated and encrypted channel. Authenticating the server is relatively easy, since I can embed the CA certificate in the device firmware and check the signature of the server's certificate. The problem is to authenticate the device to the serv... |
Let $G$ be a finite group of prime order $p$, and $g$ a generator of $G$.
The standard DDH is hard to distinguish two distributions
$$
\{ (g, g^a, g^b, g^{ab}) : a, b \leftarrow \mathbb{Z}_p\} \text{ and } \{ (g, g^a,g^{b}, g^r) : a, r \leftarrow \mathbb{Z}_p\}.
$$
Is still secure DDH with multiple instances? That is,... |
While reading tutorials on two-party computation I encountered two (at least formally) different definitions of security (with semi-honest adversaries).
What I want to know is whether these definitions are actually different or can be shown to be equivalent.
I suspect that they are different, but I might be missing som... |
Let it be $p, q \in \mathbb{P}$ with $p,q \in [2^{b-1}, 2^b]$ for some $b \in \mathbb{N}$ and $p \cdot q = n \in \mathbb{N}$. What would be the distance between $p$ and $q$ (as a function of b) so that the factorization of $n$ is hardest or be considered difficult?
|
Given a block of data, say
THE+ QU+ICK+ BR+OWN+ FO+X J+UMP+ED +OVE+R T+HE +LAZ+Y D+OG
Is there any method of encryption that will make the knowledge that the '+' character will always repeat every 4th character useless for cracking the key used to encrypt the data?
If there is, how does that encryption work, and why wo... |
Does there exist a source of randomness that anyone in the world can independently, conveniently and robustly access?
For example, the 10th decimal place of the temperature in Mexico City is sufficiently random. But it's inconvenient for Bob to access independently, and it can't be measured robustly anyways.
The source... |
Say, using something like Shamir's polynomial scheme, you split a secret $x$ among $n$ people (each given a "share" of the secret) such that you need all $n$ shares to recover the secret.
How can one ensure that all $n$ participants will have access to the secret. E.g. with two people, Bob and Alice, Alice could tell B... |
This is a real world question (and as I'm not an expert in cryptography I have only some basic knowledge in terms of just using it, not a deep understanding how ist works under the hood.): A system for data collection from many embedded end-devices employs AES128 GCM/GMAC to protect messages in terms of confidentiality... |
While implementing the Quadratic Sieve, the textbooks give a rough formula for what Smoothness bound you should use in your Factor Base.
To factor a number N using the Quadratic Sieve, we can use the following:
$L = e^{\sqrt {\ln(N)ln(ln(N))}}$, $B = L^{\frac {1}{\sqrt 2}}$
For the Index Calculus method for solving th... |
If someone found a scrambled BIP-39 24 word sequence how hard would it be to determine the correct sequence that yields someone's wallet.
Are there multiple different unique sequences of the same 24 words that will determine different bitcoin wallets?
How many?
Thanks
|
Moin moin,
Let‘s assume there are two keypairs (d1,e1) and (d2,e2), where d1 and d2 are unrelated private keys and e1 and e2 the corresponding public keys.
Imagine Alice knowing neither d1 nor d2 and Bob only d1, not d2.
Alice has a ciphertext c resulting from encrypting a message m with e1 using RSA. She cannot decry... |
If you have a look at a certificate encrypting google.com it advertises a 256-bit ECC key with ECDSA_P256 parameter. The signature algorithm is sha256RSA. I've been trying to achieve something similar by running the below set of commands, but since the -digest parameter I use is -sha256 the result is always sha256ECDSA... |
I am defining multi-party computation using the real-ideal paradigm (see A Pragmatic Introduction to Secure Multi-Party Computation).
That is, for any successful attack on an MPC protocol in the real world, there exists a simulator that carries out this attack successfully in the ideal world. It follows that security i... |
Reference : Tutorial by HM Heys
If we find a differential trail that holds with some non negligible probability for n-1 rounds for a n rounds SPN structure, then we can recover some of the bits of the last round subkey.
What happens when we only manage a differential trail that holds with non negligible probability for... |
In speedrunning video games, one records a game being played and beaten in one continuous attempt. However, what can be done to cheat is to do multiple attempts, and splice together clips of the best segments to make one fast speedrun that wasn't done in a single continuous hop. This splicing isn't hard, as e.g. loadin... |
I want to take advantage of the slow property of bcrypt to hash an input but also want to get the same hash value for the same input every time just like SHA, MD, etc.
So in order to do that, instead of using a static salt, which is less secure I believe, I am thinking to use the input as the salt as well? The output w... |
According to spec, FOR GCM decrypt function input is IV, A, C, and T. As mentioned below:
5.2.2 Authenticated Decryption Function Given the selection of an approved block cipher, key, and an associated tag length, the inputs
to the authenticated decryption function are values for IV, A, C, and
T, as described in Sec. ... |
For example, in case of using RSA blind signing in E-Voting protocol:
Is it possible to trace (Sx, x) to (Sb, b) if Signer and Tallier is the same person?
In this case, attacker has access to: blinded message b, signing of blinded message Sb, private and public key that allows to sign and verify messages, original mes... |
With regards to SMPC with additive secret sharing, the protocol I am using involves a centralized node(the querier) orchestrating the share creation at client end via setting their random seeds. Now this allows the central party to reconstruct data. My question is does there exist an implementation with no member-membe... |
This is just a casual exploration of what could be effectively the worst possible block cipher, but I think it has some educational value on how ciphers work.
I've been reading about unicity distance and I am interested in a block cipher that has a decent-sized keyspace (2^8 or more?) that has the smallest unicity dist... |
Homomorphic multiplication of plaintexts in Paillier cryptosystem can be
constructed as follow:
Dsk(E(x1)^x2 mod N^2) = x1x2 mod N.
So after the decryption, we get the result of multiplication x1x2. My question is, is it necessary for us to think about the situation : x1*x2>N which leads to an overflow? Or because the ... |
I found this post on Reddit and was wondering if anyone could provide a more detailed explanation/answer:
Lets say I find a hard drive in a trash can along with a sticky note that says "AES-128, good luck!". I'd setup a computer or if I'm really curious multiple computers to brute force using the AES algorithm. It'll ... |
If I have a 16 bytes key and I encrypt a text block (1KB) with AES, and the attacker knows half of the key (let's say the first half), how does it weakens the encryption?
|
I need to implement X3DH Key Agreement Protocol according to Signal specification, in the document they suggest using either X25519 or X448 curves. I assume those curves have been chosen for this protocol for a reason. In the codebase elliptic curve public key cryptosystem has already been implemented with secp256k1. W... |
I know that in multiparty computation we may consider semi-honest or malicious adversaries.
I can find papers that consider malicious adversaries, but the semi-honest term is only mentioned in MPC papers. Are those adversaries particular for MPC, or used also in other technologies, such as homomorphic encryption, diffe... |
Older RSA-4096 GPG keys generated when SHA1 still thought to be acceptable have public key self-signed with SHA1. Shall this considered to be weak key? And with what arguments? AFAIK, GPG key ids are still use SHA1. So, maybe this is not major issue either, because other party will have full public key anyway.
|
Let's say I wish to setup a classic username & password authentication strategy on a server. All communication is encrypted via TLS. But ideally, I still do not want the server to be able to read the passwords in plain-text, even temporarily. To that end the client could send the password that is hashed and salted with... |
There are 2 different definitions of special soundness in the literature:
(1) can be found in Damgard:
We say that a Sigma-protocol $\Pi$ satisfies special soundness, if there exists a PPT extractor $\mathcal{E}$, such that given any pair of accepting transcripts $(com,ch_1,resp_1),(com,ch_2,resp_2)$ with $ch_1\neq ch_... |
I started working as a developper in a cryptography company 3 months ago where the applications are for mostly windows applications. I found that I don't have enough knowledge concerning the topics listed in the table that is taken from Hurdles for Developers in Cryptography.
Indeed, these are the subjects that most d... |
I'm trying as autodidact to read chapter 4 of Foundation of Cryptography by Oded Goldreich (just to let you "tune" your answers, I have engineering background).
If I'm correctly understanding, giving a perfect simulator $S_1$ the possibility to halt is not a problem because we can define a simulator $S_2$ which repeats... |
Imagine I want to hash a private key K (i.e hash(K)), but what if I hashed a concatenation of the key K and the username let's say the following hash :
hash("john cena" + K )
Suppose everyone (even the hacker) knows that "john cena" is used to do the hash : can it help hackers to reverse the hash?
In other words, is th... |
This is very basic, but what I'm wondering is: I have a few notations of hashing/RSA encryption that I'm unsure of when reading.
PKE(PW, K) With PW representing a password, K representing a 128-bit string and PKE representing RSA, how would this be interpreted? Do I combine the string and password then encrypt that or ... |
I am trying to analyse a "uniqueness" game around Schnorr signatures. The game is described in $\textbf{B.}$ and I try to provide in $\textbf{1.}$ and $\textbf{2.}$ some incomplete answers to resolve it. Is it possible to fully solve it? I have not used in my analysis a reduction to the DL problem; maybe is there a way... |
Does breaking the computational Diffie-Hellman problem in a group also always break discrete logarithms in that group?
|
I am designing an web api which needs to grant access to various client apps via an api key sent as http header. I know, not really how it should be done but I have no control over this part.
My current design for api key: have 16 bytes for the app id (a guid) in the database + 16 bytes randomly generated (keybytes). D... |
Is the following cryptosystem possible:
There is an encryption function:
encrypt (k1, k2, T1, T2) = M, where
T1, T2 - two plain texts, with the same number of characters,
k1, k2 - encryption keys of the same length,
M - cipher text, the length of which is equal to the length of the input text.
The length of the key is ... |
I'm wondering if knowing the form of both factors (p and q) of a RSA modulus N is a significant help for factoring or not.
For instance:
p of the form 4k+3, so (p-3)%4 = 0
and q of the form 4k+7, so (q-7)%4 = 0
|
For any $v$ many $b$-bits vectors $(\mathbf{x}_0, \mathbf{x}_1, \ldots, \mathbf{x}_{v-1}) \in \{\{0, 1\}^b\}^v$, what's the fastest way to combine $\mathbf{x}_0, \mathbf{x}_1, \ldots, \mathbf{x}_{v-1}$ into a single number, such that the operation is order-sensitive?
E.g. say that $\hat+$ is some method of combining nu... |
I am looking for a ZK PoK of a digital signature. I have seen constructions that work for ElGamal signatures (see this older paper), but need to work with Waters signatures, as described here.
Has anyone seen a construction that could work in this case?
|
I have seen the FF1 and FF3 Format preserving encryption. There are certain differences with respect to a number of rounds and while using the unbalanced Feistel network. What makes it different for FF3 attacks to work also on FF1?
In Durak et al. paper 2017 they mention the attack specific to only FF3. Why is it so?
P... |
I'm working on a cryptographic data store where blobs need to be identified and referenced via a hash of the encryped data. Think Merkle tree with encrypted nodes. In such a setting where the hash already establishes authenticity (assuming the hash function itself is not broken), is there any value in using an AEAD rat... |
Someone told me recently that using CBC mode with a predictable (e.g. all 0) IV is reasonably secure if a key is only used for encryption one time. I've gone through a couple of examples of chosen plaintext attacks against CBC mode with a predictable IV and it does seem that they assume that the key that is used for t... |
Mellisa O'Neil tested Xoroshiro128+ with 512 terabytes (2^49 bytes) of data. And finally it failed. Would AES fail PractRand with enough data?
When we can expect that AES will fail? Maybe with $2^{64}$ of data?
|
I came across this paper "Hybrid Key Encapsulation Mechanisms", were three methods are defined that allow a secure combination of a classical key encapsulation with a post-quantum key encapsulation.
In terms of security and performance all three of them seem to be equally good.
For the second method, called "DualPRF Co... |
I see lots of mention that zk-STARK proofs that are being developed notably for use in blockchain networks are labelled as "quantum resistant". Many articles and reports that state this, claim such based on the idea that zk-STARKs rely on collision-resistant hashes. My understanding though is that there can never be a ... |
I had the idea of storing large amounts of data in a small space using a Merkle tree. But from what I understand about Merkle trees is you cannot extract the data from the Merkle root (since hashes are not reversible). Though I wonder, is there a way to use an encryption algorithm that gives a fixed output length like ... |
Let's start with what I mean by cryptographic random beacon (RB).
A RB is a protocol among some parties who generate a random value all together such that:
these parties do not trust each other
the result is publicly verifiable (anyone can verify the result is correctly generated by the protocol)
The output is unbiasa... |
If it were possible to receive a string of numbers from a celestial object (by anyone on the Earth who knows which object to look at, and what time to look) could this be of any use in cryptography?
Or would it be useless, because if a bad-actor knew which object you were looking at and at what time, they could find th... |
We have a use case of tokenising the credit card information and returning a tokenised value after preserving the format.
Ideally this should be one way, and following a FPE might not be the best solution.
Pls suggest what best solution can be provided here.
|
Let it be $K$ a key generation algorithm which takes $(k,d)$ as input with $k$ as the bit length for $n=pq$ with $p,q \in \mathbb{P}$ and $d=|p-q|$ as the minimum distance between $p$ and $q$ (RSA). What would be the security parameter $1^\kappa$?
Would it be $\kappa=k+d$ or only $\kappa=k$ and if it were the case on ... |
let we have sbox s: Vn -> Vn.
If we make LAT table for s, fix any row and get a sum by columns, that sum would be $+-2^{n-1}$.
And vice versa, if we fix any column and get a sum by rows, that sum would be $+-2^{n-1}$ too. Why is it so?
Element in "a" row, "b" column of LAT is $#{<a, x>=<b,s(x)>} - 2^{n-1}$. Where <,> i... |
Background
MuSig is an extension of/derivation from Schnorr signatures using cyclic groups on elliptic curves. In the original paper, the authors point out that naive multi-Schnorr is vulnerable to a rogue key attack:
Given $\Bbb G$ is a cyclic group of prime order; $g$ is the generator point; $H$ is a hash function; $... |
I was wondering if there are any hash functions that you can use over and over again on an input until it eventually leads to 0 (or 000000... or 111111... or just any value that would be always the same for any input). It doesn't matter for my question if it is actually bad or good if a hash function has this property.... |
I have been studying on algebraic methods on cryptanalysis of block ciphers.
This is where I am reading from currently
I need some help to understand Attack C.
Excluding equations from the first r rounds till which the differential characteristic holds, we are just left with the SBox equations and one constraint from t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.