instruction stringlengths 32 27.2k |
|---|
I'm implementing a hobby cryptosystem for fun and to increase my knowledge on the subject, and I was wondering if the OAEP construct was still sufficient as an all-or-nothing-transform if variable length hash functions (specifically SHAKE256) are used for the $G$ and $H$ random oracles.
I already found a paper showing ... |
In this example ( https://kavaliro.com/wp-content/uploads/2014/03/AES.pdf ), the AES-128 key and text are 16 characters each, but how would this example be explained if the key or text was more/less than 16 characters? How would this change the procedure that creates the encrypted text?
|
Alice has a set $S_A$ with a low cardinality (say ~30k). Bob on the other hand has a set $S_B$ with a much higher cardinality than of Alice's (say ~100M).
We're trying to create a reduced cardinality set ${S_B}'$ which satisfies the following:
$(S_A \cap S_B) \subset {S_B}' \subset S_B $
Is there a way for Bob to samp... |
I want to compute an HMAC value of a data set using CKM_SHA256_HMAC mechanism with AES key. I have the error code CKR_KEY_TYPE_INCONSISTENT because it seems that I need to use a key of key_type GENERIC_SECRET instead.
Is it possible to use AES key_type with this mechanism? If yes, how can I do it? Can you provide an ex... |
TL;DR
How can the shares of the PRZS protocol proposed in [CDI05] reconstruct the "secret" $0$?
Is the number of shares required to reconstruct $0$ equal to $2t + 1$?
Long question
The paper "Share conversion, pseudorandom secret-sharing and applications to secure computation." by Cramer, Damgård, and Ishai shows a pr... |
I'm a beginner and working on cryptography performance metrics.
My question is that what are the important metrics to check the performance of Cryptography Algorithms.
|
I'm studying about LFSR and have some troubles understanding LFSRs.
For Galois LFSR, it is clear that LFSR just multiplies $x$, the primitive element of $GF(2^n)$, so that it makes all the elements in $GF(2^n)$.
But for Fibonacci LFSR, it seems somewhat awkward.
In the answer at math.stackexchange, it says each registe... |
Based upon choosing a prime $p$ of recommended length and $N=2p+1$, where $N$ is also prime, and $a^2$ is not congruent to $1 \pmod N$, and $a^p ≡ 1 \pmod N$, I believe you can rely upon $a$ as having order equal to $p$.
My question is, what is a good size for $a$? And the reason I ask is because I've heard that you w... |
Just reading Ron Rivest's explanation of MD4 the hash uses two round constants one $ \text{5A827999}$ on round $2$ and the other $\text{6ED9EBA1}$ on round $3$.
I think they are supposed to be hex representation of square root of $2$ and $3$. But $\sqrt{2} = 1.\text{6A09E667F} $ and
$\sqrt{3} = 1.\text{BB67AE858}$
whic... |
Is it possible to get a secure random number generator from a secure hash function this way
First choose a natural number $n$ as seed, then if we are looking to generate random numbers from $0$ to $F$ (in hex), the first in the sequence is the last digit in the hash of $n$, the second in the sequence is the last digit ... |
The Ascon cipher has been selected as the first choice in lightweight case and ACORN as the second. However according to Face-off between the CAESAR Lightweight Finalists: ACORN vs. Ascon paper, the winner of the face-off is ACORN.
They mentioned that
ACORN-1 and Ascon-small have 18% and 74%, respectively, the area o... |
My understanding is: fundamentally it should be hard to produce a different message with the same signature. Therefore chance of collision should be low. But what exactly is the probability of a collision, taking into account stuff like the birthday paradox?
As a consequence, in a system with many signed messages, is i... |
I understand it when we have to solve Discrete Logarithm Problem $a^x\equiv b\pmod p$, where $a$ and $b$ are given integers and we have to find secret integer $x$ that makes the equation true for some given modulus $p$.
I do not understand it when $a$ and $b$ are polynomials and we are working not only modulo integer b... |
Functions such as SHA-3 from the Keccak family allow for a hash of arbitrary length output. These functions are (according to Wikipedia) useful for practical, lightweight applications.
I know that SHAKE-128 and SHAKE-256 can be applied for OAEP.
My question is: Are there currently any other applications found for such ... |
Given an elliptic curve defined in $\mathbb{F}_{q}$ with a generator $G$ and a hash function $H_{q}(x)$ which maps $x$ to $\mathbb{F}_{q}$. A Schnorr signature variation for a data block $B$ such as:
$SigGen(s, B)$:
$m = H_{q}(s||B)$, $M = m \times G$
$c = H_{q}(P||M||B)$
$p = m + c \cdot s$
Outputs $\sigma = (M, p)$
... |
I am trying to learn some basic cryptography and I am reading some conflicting statements about block cipher.
My current understanding is that we start with an XOR to obfuscate our data. We can then generate a one-time pad to encrypt our message. The only limitation is that the message length must be less than the leng... |
Let $f_k(x)$ be a boolean function of two arguments with two properties:
The function $f$ can be efficiently computed.
The output is always 0 or 1, and for any fixed $k$, if we choose $x$ randomly, $\Pr[f_k(x)=1]$ is tiny (say, exponentially small).
Question: Is there a generic way to, given $k$, obfuscate an arbitra... |
if the SHA256 Hash of some unknown data is known !
Can i find the SHA512 of that unknown data ?
|
I thought I'd find an implementation in NaCl, but /dev/urandom is what I find. Search engines samples revealed most implementations are broken.
What libraries are there currently? (I'm only interested in the PRNG based on ChaCha20.)
|
Are there hash functions that dynamically take integers a and b, and output h(a) and h(b) such that if a>b we have h(a) > h(b)?
|
I am trying to think of a way to generate secret and unique random numbers within a range.
Say we have a public range [1-n], how could we have a maximum of n users choose a random number within this range and ensure that no one else chooses the same number.
The difference between this question and others is that we wa... |
Suppose I have 2 bit commitment schemes, C1 and C2 which are computationally hiding.Suppose I commit the same bit using both and send them to an adversary who knows that the same bit was committed. Is the scheme still computationally hiding, or are there counterexamples?
|
I'm learning about Feistel Ciphers at the moment, but having issues with the formulae, so I can't move on from it.
Encryption:
$_{+1} = _$
$_{+1} = _ \oplus ( _ , _)$
For the round function $( _ , _)$, could someone advise on what exactly I need to do? Let's say my key is $1197$, what needs to happen in between the... |
I want to understand the crypto details behind the blockchain (at least in the form that bitcoin implements it).
Can you point me to some page or documents that show the details with examples?
I read the Wikipedia page on Blockchain, and it's sort of: I understand everything that I read, but at the end, I'm clueless a... |
I'm trying to get a per-user encryption key scheme off the ground and need some validation from wiser crypto pros. Consider the following procedure:
User provides registration information to include a password.
Generate a random salt.
Hash the password+salt using bcrypt.
Generate a key to be used for data encryption (... |
I tried to look for a book that presents cryptographic concepts(specially PRNG) in a formal way but what I find is an intuitive approach. So my question is what is the formal definition of Psuedo-random-number-generator(PRNG) or function?
|
I cant understand the concept of linearly active sbox. In the case of differential analysis it is more easy to understand the concept of 'active sbox'
Also how the increase in number of (linearly) active sbox improves the security of cipher
If any generic software programs are available to calculate the number of activ... |
Today on my PC I found some old backups; they contain also some pictures I encrypted years ago with a smartphone running Windows Mobile but I don't remember the application I used to cipher them.
I'm quite lucky, because I found a picture on the backup both in original and encrypted version. Is there any way of finding... |
Let say I have n computers, with some t-threshold encryption scheme.
I want to have n public shares (known to every participant) such that any t of them generates a pair:
$g^k, E(k^{-1})$ that is unique, such that $E(x)$ is the encrypted value of x. and $k^{-1}$ is computed in some cyclic group of power $q$. Also no me... |
In public-key cryptography, the security level indicates the strength of an adversary in breaking a scheme or solving a problem, which can be seen as the time cost of breaking a scheme or solving a problem. Generating a scheme with a security parameter $k$ does not mean that this scheme has $k$-bit security. The real ... |
I'm doing the Matasano crypto challenges. After implementing a naive character frequency scoring (that worked), i was looking for something mathematically more precise and found this thread: Developing algorithm for detecting plain text via frequency analysis
While the Chi Squared analysis does work for me, I encounter... |
I want to construct a CPA-secure schemes using two given schemes $\prod_1$ and $\prod_2$ if only one of them is CPA secure.
Taking suggestions from this answer, I am able construct a scheme as follows.
Given a message $m$,
Generate a random string $r$, of same lenght as $m$.
Compute $r_2 = r \oplus m$
Encrypt $r$ using... |
I was wondering about this topic of brute forcing passwords,or ANY other way to deriving them - and asking myself whats more secure (relatively):
A Password which includes
A) 30 digits length- a entirely random string consisting only letters
B) 30 digits length- with 5 real words of length of 5
I am interested in th... |
What is the difference between Identity-based encryption and multiple key-pairs of public key encryption scheme??
Suppose trusted key generator generates a bunch of public and private key pairs $(k_{\texttt{public}}^{(1)}, k_{\texttt{private}}^{(1)}), (k_{\texttt{public}}^{(2)}, k_{\texttt{private}}^{(2)}),...,(k_{\tex... |
What is a practical method for for finding a triple of keys that maps a given plaintext to a given ciphertext using EDE?
I think this requires something similar to a man-in-the-middle attack...
|
I have read on ZK proof of equality of committed values, that is for $g^xh^y$ and $g^{x'}h^{y'}$, prove in ZK that $x = x'$ (can also be generalized if generators are different using sigma-protocols).
However I want to do a disjunctive (OR) proof as follows: For $g^{x_1}h^{y_1}$ and $g^{x_{1}'}h^{y_{1}'}$ and $g^{x_2}... |
I am new to crypto.
I have a password for my user, e.g. &&38:while:HAVE:havana:60&&
I want to encrypt several documents with 10 pages each with AES.
Now when do I run my salt, KDF and init vector functions?
As often as possible, e.g. for every page? (This is what I do now, but it gets too slow. I store salt and initi... |
Here (https://www.safecrypto.eu/pqclounge/round-2-candidates/) are collected all the proposals which passed the first round of NIST Post-Quantum Cryptography Standardisation process. What does the abbreviations in "NIST security categories" column mean? Where can I find a formal definition of them?
|
So I wanted to check the outcome of a hardware TRNG and see if its entropy is good enough. I downloaded the source files for statistical test suit from nist.gov website, compiled them on my macOS machine with clang and tried some sample data files as inputs to check that everything works correct before proceeding to th... |
This is a homework assignment that's been giving me some trouble:
By eavesdropping on a Diffie-Hellman key exchange, we observe
modulus $p$
the base $3$
$A\ =\ 3^a \bmod p\quad$ and
$B\ =\ 3^b \bmod p$
If we somehow had access to the
secret $=\ 3^{ab} \bmod p$,
how could you retrieve the secret exponents $a$ and $b$?... |
We have a system that processes data. Each entity has an ID that is generated using uuid4() in Python. Later, that ID is used as a partition key for AWS Kinesis. Kinesis docs say they MD5 this partition key and use it to distribute data across the provisioned shards.
Until recently this was working well, but recently a... |
We use Firestore. On their Google help page they say it is AES encrypted.
https://cloud.google.com/firestore/docs/server-side-encryption
But this means in the moment a user is logging in, the data is decrypted on the server not the client? So if there is a corrupt Google admin guy, could he wait till I login and then g... |
I've always been under the belief that larger block sizes require more rounds to achieve full diffusion. Rijndael, SPECK, and SIMON, for example, have a round multiplier based on the block size. The idea that a larger block size also necessitates more rounds for equivalent security also seems intuitively correct. Howev... |
Is the cipher used by soviet spy Richard Sorge still sufficiently secure nowadays?
|
I'm interested in knowing whether a cryptosystem is broken given access to a few primitives.
$\DeclareMathOperator{\KEYEXP}{KEY\_EXP}$
$\DeclareMathOperator{\E}{E}$
Suppose that you have access to an oracle that can provide you $\E(k, m)$ for any message $m$ (so you can obtain the AES-128-ECB encryption of any block wi... |
To Access my data over a Portal i got a 12-digit alphanumeric key like:
VGW8-U98T-TXLV
How safe is this key? I don't want to know the chance to win with brute force. I want to know there are several standards to calculate keys like this? It is the one and only way to get access / safe my really personal health data. Th... |
When MD5 and SHA1 were broken there was, each time, a scramble to upgrade software and certificates to remove the offending algorithm. However, in each case, the HMAC variant of each hash function was not affected. In fact, unless I missed something, HMAC-MD5 is technically still secure.
In the context of signing data ... |
There's a code I'm trying to decipher. What I know is that it's a simple substitution, with just a few added rules intended to make frequency analysis and other very common methods a little less efficient.
I know for example that:
there is no letter repetition, so there must be a way to code double letters (there is ... |
I want to show that finding cycles in a cryptographic hash function is hard.
My thought: assume there a black box, that given a cryptographic hash function $h$, finds some $x$ and $r$ in polynomial time, such that applying $h()$, $r$ times gives $x$:
$$ h(h(h\ldots(h(x))) = x $$
Can this be used to prove the function i... |
It's my understanding that the integer base and exponents chosen to create the initial public keys in DH are from the remainders of a modulus.
For example, if the value of the modulus is $N=11$, a set of remainders "produced" is {0,1,2,3,4,5,6,7,8,9,10}, however, I could also refer to the remainders of $N$ as 11,12,1... |
A group of bankers will store sensitive financial information on a server owned by a third party. I represent the 3rd party server.
The financial information will be stored as plain text on the server except that the customer's Account Numbers will be encrypted. The banks do not want us to know their customers' acco... |
My server and my smartcard (MIFARE DESFire) want to establish that they have the same shared AES key. They want to do that with an untrusted client in the middle.
Usually it works like this:
Now this requires that I store RndA on the server between Generate RndA and Decrypt and compare RndA' with Rotate(RndA).
My ques... |
If my key size is as large as the data I'm encoding, is it trivial to devise a theoretically secure homomorphic encryption scheme for integers (or else any finite/infinite group with order) that supports $+$ as an operation on encrypted data? Plus points if your scheme is computationally inexpensive or easy to understa... |
I can't find any clarity on this. In textbooks, what I'm reading suggests there's already a standardized $g$ and $p$ that everyone uses, but I can't find what they are.
The closest I've come to is this RFC link.
|
EVMs are not secure they say. So how can we make it more secure tham the existing one using cryptography?
|
First I just would like to mention, that my knowledge in windows authentification methods are very limited. So my question:
Is it possible to use custom credential provider in windows to log on, that accepts certificate, which I export from certificate store with private key.
As far as I know, Kerberos accepts username... |
Obviously, it would be easier to stumble across the answer, but you still couldn't be sure it's correct. So it's still theoretically secure?
|
So. As I understand, Carter-Wegman transforms a one-time MAC (which must be a difference unpredictable function (DUF)) by encrypting it with a PRF.
The DUF and the PRF use two different keys, which can be understandable if:
you're just being precautious and not mixing keys
the PRF and the DUF might take keys of differ... |
I want to do generate individual AES keys for a number of smart cards, based on a random master key (key diversification) and the serial number of the card.
According to the answers to this question HKDF is the/one way to go.
HKDF has three inputs, ikm, salt and info. Feeding in the serial number as part of ikm seems t... |
So...
C0 = K0 ⊕ M and C1 = K1 ⊕ M where K0, K1 are different random numbers. What information can you discern about the K0, K1 and M, if any? Could you use K0,K1 again with another different message securely?
|
In my cryptography class, the professor said that collision resistance for a fixed hash function is not a "precise" definition. The reason is since a fixed hash function is a single instance of a computational problem it can't be hard(at least for a somewhat precise and complete definition of collision resistant). Note... |
The sender and receiver share two different secret keys: s1 and s2 both y bit values. 'x' is a randomly generated y bit value. The reader sends to the tag a challenge y = x ⊕ s1, and the receiver responds with z = x ⊕ s2 after recovering x = y ⊕ s1.
s1 and s2 never change, x is randomly generated each complete tran... |
I am going through the Pinocchio protocol paper and I need 2 clarifications in the section Protocol 1 (Verifiable Computation from strong QAP). The part that explains the Verify process, which contains this expression:
$$e(g^{v_0}.g^{v_{io}}.g^{v(s)}, g^{w_0}.g^{w(s)})/e(g^{y_0}.g^{y(s)},g) = e(g^{h(s)},g^{t(s)})$$.
s... |
We already have recommendations on what PQCrypto to use:
PDF (page 11)
Symmetric encryption Thoroughly analyzed, 256-bit keys:
AES-256
Salsa20 with a 256-bit key
Symmetric authentication Information-theoretic MACs:
GCM using a 96-bit nonce and a 128-bit authenticator
Poly1305
Public-key encryption McEliece with bi... |
We have a one time pad where:
We have 8 bits. probability that a bit=0 is p.
The key is common for all 8 bits. It can have a value of 0 or 1 with equal probability.
After applying the XOR operation we take the encrypted result that has n zeros and 8-n ones.
What I am asked to do is calculate the probability that the ... |
I don't understand what the goals are of a Chosen Ciphertext Attack.
What I've read from Wikipedia is that it is an attack one can use to obtain the key that the crypto algorithm uses.
However, I think that every file is usually encrypted using a different key.
If so, why is the chosen ciphertext attack used ?
Maybe ... |
We want to use AES as a pseudorandom function. Given a random master key, we want to derive a set of pseudorandom values/keys, e.g say $n$ keys. Then from each of those derived keys, we want to derive a set of pseudorandom values, say $d$.
I think, one way of doing that is to encrypt $1,...,n$ using the master key. Th... |
I am looking for ways to efficiently perform integrity attestation over large messages using multi party computation. While, hashing (SHA1, 256...) is one alternative but it's painfully slow and grows linearly in length of the message.
|
Let's say $p$ is the pool of files in a folder. And $k$ is the files in the pool that are "key files" for authenticating in a service.
Note: The order of the key files matter.
Then we have $c$ which is the character set of our passphrase. And $l$ is the length of our passphrase.
For each possible passphrase we also hav... |
The german site "SAS und Chiffrierdienst der DDR"
http://scz.bplaced.net
has some interesting content under point 11.3 in the category "manuelle Verfahren" I found ciphers named from A to D. But I think none of these are secure besides security trough obscurity or am I wrong?
|
Why not rank-2 constraint system or rank-3 constraint system?
How do rank-1 constraint systems link to circuits?
|
I noticed AWS KMS generates encryption keys based off of a master key, using a key derivation function (HKDF).
What's the practical advantage of deriving keys based on a master key? Isn't it simpler and typically more secure to just generate random keys with a CSPRNG?
Fewer keys to store?
Edit: to add context to AWS KM... |
Why is it that a one time pad is vulnerable is the key is shorter than the message?
I know that if a key is reused across multiple plaintexts, you can XOR two existing ciphertexts to get the pad, but I'm not entirely sure how this works in practice.
Any help/ explanation is appreciated. Thanks.
|
The RFC for AES-KW doesn't actually mention authentication. It only mentions integrity, where the unwrapping/decryption process should produce an identical IV of A6A6A6A6A6A6A6A6. Is this integrity check effectively performing authentication, or is it possible for a third party to generate a key that will produce the s... |
I'm studying about Additive differential of XOR
I saw two papers that are "H.Lipmaa et al., On the Additive Differential Probability of Exclusive-or" and "V.Velichkov et al., The Additive Differential Probability of ARX"
In this two paper, Limaa et al. and Velichkov et al. compute the probability of additive differenti... |
I'm really confused about the computation about SHA 256.
$$W_t = \begin{cases}
M_t^{(i)} & 0 \leq t \leq 15 \\
&\\
\sigma_1^{256}(W_{t-2}) + W_{t-7} + \sigma_0^{256}(W_{t-15}) + W_{t-16} & 16 \leq t \leq 63
\end{cases}$$
The $W_t$ variable: What's the value of $W_t$? How do I get that value?
I'm still confused because... |
In Cryptanalysis of Block Ciphers with Overdefined Systems of Equations Nicolas Courtois and Josef Pieprzyk define 23 so called bi-affine equations (in Appendix A of the paper) between the input x and the output z of the rijndael sbox.
Then they say in A.1 that it is possible to get "not only" 23 bi-affine but 39 fully... |
I am studying about additive differential probability.
And I show a paper that is V.Velichkov et al., The Additive Differential Probability of ARX.
I have a question in chapter 5.2.
V.Velichkov et al. said that "In general, following the mapping in Table 2, an initial state $S[0]=j \in \{0,2,4,6\}$ will match final sta... |
I have a function in which I need to calculate SHA1(common_prefix + random_string). I am calling this function many times so that calculation of SHA1 slows down the performance of the function. As for the all of the calls, I am using a common_prefix, is it possible to tweak SHA1 in a way that it won't calculate the has... |
I can provide input to an application that encrypts plaintext via an unknown algorithm, which I would like to reverse. I can obtain plaintext:ciphertext pairs, and the length of the cipher depends on the length of the input. For example, for 2 character input:
'AA' 82 46 4C 0B 32 11 B7 17 01 35 E2 92 1D 32 91 94 0... |
In the case of malicious adversaries, while creating a simulator for an attacker in the real world what are the algorithms that this simulator has access to and why?
For eg. I've seen simulators that use the adversary in the real world and also rewind them.
I do not understand what powers are given to the simulator and... |
Is it possible to combine Audio Files and Public Key Cryptography creating a Digital Bearer Audio File that is in complete control of the owner who would then have the ability to grant access to listening to the file, editing the file and sharing the file?
|
Given an arithmetic circuit, are there any examples of turning it into a system of bilinear equations, with the end goal of turning it into a matrix?
|
A scanner encrypts a 32 bit message 'x' using a secret 32 bit key 's1' and sends the resulting cipher y= x XOR s1 to an RFID tag. The Tag decrypts the message 'x' ,and then encrypts the message 'x' using its secret 32 bit key 's2' and sends the resulting cipher z= x XOR s2 back to the Scanner.
Assuming that I know wha... |
I know the difference between KP-ABE and CP-ABE. I am not able to understand why KP-ABE is better for broadcasting than CP-ABE ?
|
I'm trying to understand a comment from the Signal blog post Advanced cryptographic ratcheting.
This article uses the term OTR ratchet to refer to a simple asymmetric DH ratchet, where Alice contributes a new $g^{a_i}$ with every message and Bob contributes a new $g^{b_j}$. The current key is taken to be $g^{a_{i} b_{j... |
Since the block size of AES 256 is 256, how would we calculate the bytes of data AES 256 encrypts at one time?
|
Let $e$ be a secret value and $n$ a public 2048-bit RSA modulus.
Consider the RSA encryption under the key $(e, n)$ with unknown $e$.
The goal is to decrypt a given ciphertext $c=m^e \pmod{n}$ to recover $m$.
The adversary is assumed to have oracle access to:
the encryption function $x\mapsto x^e\pmod{n}$ for chosen $... |
I'm sorry if this question is too novice. It comes from a practice midterm in a cryptography course which I'm taking, and my confusion here is really that I don't know the "tools" that one uses in practice for this sort of question. The notation (and class) is Katz's.
I've been given a PRG $G(s)$; I'm trying to show e... |
Can a quantum computer with insufficient qubits to factor an integer of a given size make any progress in factoring it? For example, what if a quantum computer is only one qubit short of what is necessary to attack a specific integer? Is it capable of making any progress in factoring it, or would it be just as useless ... |
What does the minimal number of round of "nr" use Keccak to avoid collision attack?
$$nr = 12+2L$$
|
EDIT: The instructor clarified that part (a) was wrong. He declined to indicate why. I can share more details of the prompt if need be.
I apologize again if this question is too low-level; it comes from a practice midterm in a course I'm taking. I was told by an instructor that my proposed solution was wrong, but not w... |
LCS35 is a time-lock puzzle, stated in Ronald L. Rivest's Description of the LCS35 Time Capsule Crypto-Puzzle [1] (April 1999). That instantiates a system in Ronald L. Rivest, Adi Shamir and David A. Wagner's Time-Lock puzzles and timed-release Crypto [2] (MIT technical report, 1996, revised March 1999).
Solving the pu... |
The well-known paper described a key exchange (KE) scheme named "NewHope" on USENIX 2016. The authors then proposed "NewHope-Simple" - a PKE/KEM scheme. They also submitted "NewHope for NIST" - variation of "NewHope-Simple" to the NIST PQC competition. Can anyone summarize:
Differences between "NewHope" and "NewHop... |
I am trying to solve an RSA problem. In order to calculate $d$, I have to calculate $d$ with $e=3$ and
$$d\cdot e\equiv1 \pmod{40}$$
Obviously the answer is $d=27$, but I want to solve this with the extended Euclidean algorithm.
Though I know how this works, I am stuck because in the first step of the algorithm I get
$... |
For a protocol, I need to blind a ciphertext. I am not sure how to choose the blinding factor. How should I choose the range? What should I consider to offer security?
I am using CKKS scheme, the one in SEAL.
|
I understand that OTP encryption fulfils perfect secrecy, meaning you can't decrypt the encrypted text to it's original plaintext (and know that this plaintext is indeed the original plaintext) unless you possess the OTP key.
Let's assume this:
Alice creates a truly random alphabetical stream of 10 characters (key).
T... |
From the Visual Cryptography by Shamir and Noar.
Let us take the pixel expansion as 2. Therefore, each pixel will be represented by 2 pixels (also called as subpixels) in a share. Since this is a (2,2) scheme, we will have 2 shares. In order to create share1 for a white pixel, a fair coin is tossed with 2 possibilities... |
There is a subtle difference between the 2 implementations for a Montgomery curve defined from the 2 following links
https://hyperelliptic.org/EFD/g1p/auto-montgom-xz.html
A = X2+Z2
AA = A^2
B = X2-Z2
BB = B^2
E = AA-BB
C = X3+Z3
D = X3-Z3
DA = D*A
CB = C*B
X... |
I am in the process of working on a decentralized application using IPFS and OrbitDB. IPFS uses 2048 bit RSA keys for the Node runtime peer-id and secp256k1 for read/write access in OrbitDB. For secp256k1 there exists a method for deterministically generating keys (bip39 mnemonic phrase).
Let's say I take an existing ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.