instruction
stringlengths
32
27.2k
Following up on a similar question, Does perfect secrecy imply uniform ciphertext distribution?, the answer seems to be that in a perfectly secret encryption scheme, the distribution of the ciphertext space is not necessarily uniform because the message space is not always uniformly distributed (although the key space ...
I'm trying to understand the following text: I'm having trouble understanding why $m$ and $m'$ both hash to $H_2$. I tried doing truth tables for $m_1'$ and $m_2'$ given the equations but I don't seem to be getting anywhere with them. Is it also possible to justify that claim with high probability that $m \neq m'$?
i'm wondering if this type of cryptographic scheme does exists. I know about homomorphic encryption but if one has the private key, he can decrypt every single message. I would like to know if there is a scheme where each user can encrypt the message with a key (public?). Then, the one who has the decrypiton (private)...
So I'm trying to solve this problem. There are of course more but I'm trying to figure out how would I even solve this first one in order to do the rest. Any hints or help in the steps would be appreciated. I'm literally out of ideas.
Is there any software tools available for conducting differential analysis test on cryptographic hash functions? If so, suggest few of them
Given $F(x) = a^x \bmod p$, where $a$ is a primitive root of $p$, Is it possible to work out what $F(2x)$ or $F(3x)$, etc if you know what $F(x)$ is but not $x$. If you use $F(x)$ then $F(2x)$, etc as session keys for a cryptosystem would be knowing a previous key compromise future keys.
While working on a homework assignment, I came across an interesting dilemma that I want to delve more into. The question essentially said to flip the first bit in the key string and then see what S boxes it will effect. Then it says to do the same for decryption. I went through the process of doing this encryption an...
I got to this by experimentation, but can someone maybe provide an explanation for this?
This is exercise with 4.26 in Katz and Lindell's introduction to cryptography 2nd ed. The question is: Show a CPA-secure private-key encryption scheme that is unforgeable but is not CCA-secure. This is what I've come up with. Let $F$ be a pseudorandom function. $Gen(1^n): k \leftarrow \{0,1\}^n$. $Enc_k(m): r_1\lefta...
Can physical unclonable functions (PUFs) be used to protect secrets against physical tampering in the context of public-key cryptography? Some solutions (i.e. ChipDNA or QuiddiKey) apparently use PUFs to protect their private key that are used to perform ECDSA. Some MIT slides about Physical Unclonable Functions and Ap...
I'm trying to do a hexadecimal multiplication in GF(2^8). Now, I know the technique of shifting left the binary numbers in some cases, for example: 02 * 9E 0000 0010 * 1001 1110 you shift one time the 9E part, which results in the following: 0011 1100 and since it went above x^8, you must calculate the XOR operation ...
In Finite Field DHE, the server sends the following parameters in the server key exchange message: $p$: prime $g$: group $g^b$: the server's public DH key In DHE_RSA (non anonymous DHE), the server signs the parameters. The full parameters according to the specs are: ServerKeyExchnage($p$, $g$, $g^b$, sign(hash($\math...
So this is an age-old example of why encrypting images with ECB is a terrible idea, since the underlying pattern of the image remains the same. Referenced from: If you encrypt an image (AES), is it still an image and can you view it? In this question, the answerer shows that is is easy to reconstruct an image (in the p...
The receiver R chooses $a,b,r$ and computes as follows: If σ = 0 then $A = (g^a, g^b, g^{ab},g^r)$. If σ = 1 then $A = (g^a, g^b, g^r, g^{ab})$. R sends $A$ to S. Denote $(x,y,z_0,z_1)$ the tuple received by S. Then, S checks that $(x,y,z_0,z_1)\in G$ and that $z_0 \neq z_1$. If not, it aborts outputting ⊥. Otherwise...
Quote: Most of these answers are a bit misguided and demonstrate a confusion between salts and cryptographic keys. The purpose of including salts is to modify the function used to hash each user's password so that each stored password hash will have to be attacked individually. The only security requirement is that th...
As I have read the latest state of art in group key agreement is the Asyncronous Rachet Tree. But in applications like IRC that exists high user movability (users join in ans leave the room). Is there a mechanism that updates/refreshes the key when users join or leave the chat room to the ART key agreement? So far in ...
The setup is shortly this: There are two custom switches (think of an FPGA for example), both are handling 10-100 Gb/s orders of traffic from their outside facing interfaces. This is normal traffic. Then, they have a link between each other. I want to apply AEAD to secure this link, so that an eavesdropper will not be ...
I am aware that this is at the border to security but I guess that I will rather find an answer here. The question is which institution generally assigns object identifiers for cryptographic algorithms so that they can be used in higher level protocols (with corresponding adoption of standards). I am aware that theoret...
A naive approach to compute a multiplication $a \cdot b$ in a Galois field of the form $GF(2^n)$ is the russian peasant algorithm. However, it does not run in constant time and therefore is not safe against timing attack. Does there exist optimization techniques to implement $2 \cdot a$ for $a \in GF(2^n)$ in a regula...
Is SHA256 MAC (or HMAC) vulnerable to any quantum attacks? Game setup: The attacker's goal is to produce a valid MAC to be accepted by other devices in the ecosystem. The ecosystem consists of many devices with a shared secret key (named "key). The attacker can query an oracle with messages and get MACs. The oracl...
I know that there are many encryption standards that take a key and sometimes an IV to produce a cipher-text (the most prominent one is AES). These standards usually involve many rounds of addition and multiplication. However, using an OTP is much easier than this. You XOR the plaintext with your pad, this is the only ...
I'm currently reverse engineering a binary that uses Blowfish. A sample input would be: 08 00 01 00 1C FB 19 00 When this data is encrypted and then decrypted, I get the following results: encrypt: 47 D2 23 7A 57 2B 9F B0 3F B5 1E BE C6 66 54 0C decrypt: 08 00 01 00 1C FB 19 00 94 14 EC 29 EE 4E 06 00 I'm confused abo...
I have been reading Fast Secure Two-Party ECDSA Signing by Lindell, and I see that in key generating and signing (pages 9-10, especially visible from Figure 1), only the first party performs a commitment, whereas both parties perform a proof-of-knowledge. I have seen this paradigm also in different two party protocols....
I would like to minimize the encrypted packet size. Is it possible to derive the IV from a non-repeatable counter? For example, take a 32 bit counter, hash it with a key (different from the AES key), and then use the result as a 128 bit IV. The counter will increment on each packet, and not recycle during the lifetime ...
Given the block-ciphers defined as follows : $1.$ $C=$ $E_{k1}($$E_{k2}$$(M))$ $2.$ $C=$ $E_{k1{\oplus}k2}$$(M)$ $3.$ $C=$ $(E_{k1}(r),E_{k2}(r$ ${\oplus}$ $M))$ where $C$ is the cipher text, $E$ is the block cipher, $M$ the message to be encrypted, $k1$ and $k2$ the sender and receiver respective secret keys and ...
I am reading about Yao's and GMW protocols and was wondering if there is any perfectly secure MPC protocol in the semi-honest setting, where the underlying circuit is a Boolean circuit (eg. n=3 and t=1)?
Post Structure: Prior source material studied Question & Details Assumed threat model Example Assumptions Clarifications Prior source material studied 0.1. RFC 2898 0.2. HAC (Handbook of Applied Cryptography) 0.3. Crypto 101 0.4. SE answers (ex: If attacker knows salt and hash, how is salt effective?) and (Use of sal...
I have the following requirement: There are N public/private RSA key pairs. The encrypted data must be decryptable by any of the private keys alone, but not by any other key. For encryption, the server knows and may utilize all the public keys for encryption if the scheme requires so. Does such a scheme exists?
The Web Crypto API available in most browsers supports both AES-GCM and AES-KW for key wrapping. There are examples for AES-KW and AES-GCM performing key wrapping, and a popular live table indicates without any supporting reference that both are "recommended". Is there a practical or theoretical reason why one might ch...
Some Protocols require one party to send $n$ random challenges (or random values) to another party. For communication efficiency purpose, one can pick a random key for a pseudorandom function, and send only the key to the other party, instead. Given the key and the function, the recipient can generate $n$ (pseudorandom...
I read SHA-1 is still a secured hashing function with no collision found as of now. However, it's just a matter of time for someone to come up with such a collision or attack. Therefore, in new projects, it is recommended to use SHA-256. SHA-512 is even better. In Java, we still use the "SHA1PRNG" algorithm in the Secu...
I am looking for a cryptographic hash function that I can configure for HMAC. The input that I will hash is around 50 bytes. The function must be fast, and computationally lightweight.
Can someone explain me in basic simplistic english if possible how does McEliece asymmetric encryption works and why its quantum safe ? Thanks in advance.
As I understand, the Content Scramble System (CSS) uses proprietary 40-bit stream cipher algorithm to decrypt the DVD content My question is; where does this key come from? is it embedded within the Hardware DVD player or within the software player? what's the principle in which this method prevent DVD copy?
Problem: Hash functions derived from another hash function (4 marks) Suppose that $H:\{0,1\}^* \rightarrow \{0,1\}^n$ is a collision resistant hash function. Define a new hash function by $G:\{0,1\}^* \rightarrow \{0,1\}^n$ such that $G(x) = H(H(x)).$ Prove tht $G$ is also collision resistant I'm trying to figure out ...
By Euler's theorem, if $\gcd(e,n) = 1$, then $e^{\varphi(n)} \equiv 1 \pmod n$. But why does RSA need to make sure that $\gcd(e,\varphi(n)) = 1$?
I'm trying to optimize the decryption process for Paillier Homomorphic Encryption (PHE) using the Chinese Remainder Theorem (CRT). However, I want to check if there's a different way of applying CRT to PHE apart from the traditional approach and still get the same result or a faster result since there's a simpler varia...
This apparently was a bug with WhatsApp a while ago. I am endeavoring to recreate it and understand it. The bug had to do with the fact that the same key was used to encrypt plaintext on both the client and server sides. However, (A ^ X) ^ (B ^ X) = A ^ B ; ^ is the bitwise XOR function. In other words, if if there are...
Post Structure: Sources Cited Question & Details Before You Answer Useful Info From Comments Sources Cited: https://blog.cryptographyengineering.com/2012/05/19/how-to-choose-authenticated-encryption/ (see first comment on the blog) https://competitions.cr.yp.to/round1/ocbv1.pdf https://csrc.nist.gov/CSRC/media/Proj...
I'm reading this article on the basics of cryptography and it says that the main principle is about taking such an algorithm that knowing the end result and the algorithm, an eavesdropper wouldn't be able to determine the initial data. They give an example: Supposedly, I know the numbers in the second and third row, b...
There are some protocols, e.g. this, that require parties to compute/use RSA modulus: $N$ without knowing it's factors or $\phi(N)$. One way of doing it is to use a trusted party. Question: Is there any other way of generating/using $N$ in the above schemes without using a trusted party? (If yes, can you refer me to s...
While reading the SIDH key exchange protocol, I noticed that all the isogeny computations and curves are defined over the extended prime field $\mathbb{F}_{p^2}$. Does it make the problem computationally hard for the attacker or what is the reasoning?
I am working on this problem where the set up is like this: There are three hosts: A, B and C. A wants to send a message to C which passes through B. At A the message is hashed, the hash is padded to the message and then the message + hash is encrypted and sent to B. B wants to check for message integrity for which it ...
What is the benefits of quantum computing vs parallel processing using classical computer ? Can classical parallel processors outperform quantum computing ?
In McSherry and Talwar's paper which introduces the exponential mechanism for differential privacy, they say that the Laplace mechanism can be captured by choosing the score function as $q(d,r) = - |f(d) - r|$ in the exponential mechanism. However, choosing such a score function creates the following mechanism (assumi...
My Question is based on poncho's answer in this post. If you're doing a meet-in-the-middle attack against 2DES with only on a plaintext-ciphertext pair $(P,C)$, I understand that the expected amount of remaining key candidates is $2^{48}$, assuming that DES encryption/decryption yields a random 64-bit block if done wi...
Just looking for a bit of an explanation on the concept of hybrid symmetric and asymmetric encryption. My understanding: Client requests public key from https://site1.com The client receives the public key and then generates a symmetric key and then encrypts the newly generated key with the public key provided in by s...
In TLS 1.2 when using ECDHE_RSA, the ServerKeyExchange message contains a signature over the server's ECDHE public parameters. My question is: Is the signature over a hash of the parameters or over a plain text of the parameters? The specs does not clarify: struct { select (KeyExchangeAlgorithm) { ca...
I've recently started looking at HMAC, and there a few things that I'm not 100% sure that I'm understanding correctly. Am I right about these three things? HMAC-SHA-xxx has an output length of xxx bits HMAC-SHA-xxx-yyy has an output length of yyy bits If I have a function that generates HMAC-SHA-xxx output, then I c...
I understand the TLS cipher suites using CBC mode are susceptible to timing attacks. From that understanding it seems that the cipher suites using GCM (CTR-based) are safe to use considering they don't need padding. However, in Java, SunJSSE provider by default enables many cipher suites that are using CBC. And whether...
I am new to security and I am wondering if JWT is secure enough. From what I have read online the flow goes like this: Clients log in by sending their credentials to the identity provider. The identity provider verifies the credentials; if all is OK, it retrieves the user data, generates a JWT containing user details...
Are there any strong manual (i.e. performed only by pen and paper) ciphers for practical use? It should be: no less strong than modern cryptography algorithms used in computers, at least relatively fast/easy to encrypt/decrypt with just a pen and paper (say, no more than 10 minutes per character), key should be memora...
What is the role for simulation-based proof under the semi-honest model without considering malicious adversaries? I agree with that a view of a some party is important to prove that a protocol is secure under some assumption which is semi-honest or malicious setting. I'm wondering if a proof of simulation-based for a ...
I am making a tool that generates 16 character long password out of a 64-bit binary number. But I dont know how to make an encryption key for that, or where I can find one. To show what i mean, here is an example with 8 bits: I have the binary number: 10110111 The output could than look something like this: t6Yli12q A...
I am unable to account for an extra 0x00 byte in an EC SubjectPublicKeyInfo structure. > openssl asn1parse -i -in ecpub.pem -dump 0:d=0 hl=2 l= 89 cons: SEQUENCE 2:d=1 hl=2 l= 19 cons: SEQUENCE 4:d=2 hl=2 l= 7 prim: OBJECT :id-ecPublicKey 13:d=2 hl=2 l= 8 prim: OBJECT ...
How does having the same password in different services make it less secure? How does having the same password as someone else make it less secure? Very basic question that I've always wondered about; I've been reminded by GitHub recently seen this message, The password you provided has been reported as compromised du...
I need to design a system where there is a secure device (a.k.a. HW wallet), with the following functionality: Deterministic key generation for key parameters (speaking simply: key ID). Never expose/compromise secret keys. Participate in signing schemes, such as Schnorr, Bulletproof. Support multisignatures. Should ha...
How can a digital signature provide proof the authenticity (not integrity!) of a file?
Is it possible to use a more efficient hash - such as one based on GHASH - instead of a cryptographic hash for signature generation? In other words, could a combination of a fast hash and the private key operation together provide the security that we expect from a cryptographic hash? Could such a scheme be proven to b...
I am having a hard time understanding and applying the formulas that are used to identify a function is negligible or not? One text defines it as; a function $f$ from the natural numbers to the non-negative real numbers is negligible if for every positive polynomial $p$ there is an $N$ such that for all integers $n > ...
I have come across the term "seed" many times and, each time, it confuses me more and more. I think it has a well-known meaning in cryptography, but what is it? From an article I was reading: They can usually use the limited number of results stemming from a limited number of seed values to defeat security. Not only...
I am trying to explore different methods used to generate pseudo-random numbers for my project in maths and I would be very grateful for some help or references to valuable sources as it is very hard to explore this field without background information. Although the mechanism used to create PRNs are quite clear for me,...
Which techniques could be applied to AES to prevent these kind of attacks? I can just think of creating noise with a parallel process for random computation, so the signals have the combination of that process and the crypto process.
Imagine a hypothetical system as follows: A distributed algorithm running on a Local Area Network (LAN) that allows real-time addition and removal of processors. The addition of a processor is considered trustless until proven otherwise (guilty until proven innocent). Each processor in the system is given some process...
Having some trouble understanding the following line: “Alice conveys zero knowledge to Bob if Bob can sample from a distribution of messages that is computationally indistinguishable from the distribution of messages that Alice would send.” From Page 122, https://www.cs.cornell.edu/courses/cs4830/2010fa/lecnotes.pdf Co...
Consider the following: A whole system depends on the security of one private key and if this key is, for any reason, compromised, the whole system will be compromised. What's a suitable name for such an attack?
I'm currently working on a business Java application, and we store sensitive files related to our users. What is the appropriate approach to store them securely? Is it viable to encrypt/decrypt all the files in the business logic, and then store them in the filesystem? Then what the key could be? If I derive a key from...
Especially in the context of Encrypt-then-Authenticate.
I'm trying to apply the RSA cryptosystem to encrypt a byte M=72, using predefined modulus n, public key exponent e and private key d. (n, e, d, p, q) = (4802, 5, 59, 43, 8) In order to accomplish that, I used the following code on Python console: C=(M**e)%n M=(C**d)%n print M the first instruction encrypts the byte a...
What is the condition if the message size in md5 increses from 448 as the 64 bits are the length and we have to make the block of 512. So what will be the bits if it increases from 448
my first question on here. I've gone through some examples of Shamirs Secret Sharing Scheme, but I have 2 rather pressing doubts - i. Why do we choose the co-efficients of the polynomial from the set {1,..., p-1}? ii. Why should we have p (the choice of prime) > n (total number of parties involved in the secret shar...
I am trying to implement the Paillier threshold scheme described by Fouque, et al, but I am having an issue when combining share decryptions. The scheme calculates the plaintext $M$ with the formula: $M = L\left(\prod\limits_{j \in S} c_{j}^{2\mu_{0,j}^{S}} \mod n^{2}\right) \times \frac{1}{4\mu^{2}\theta} \mod n$ Wher...
I read some similar questions like Simply put, what does “perfect secrecy” mean? (This one defines perfect secrecy as ciphertext conveys no information about the content of the plaintext. Now, problem 2.3 on this assignment asks: show that perfect secrecy of $(GEN, ENC, DEC)$ implies $$\Pr [ENC_k(m) = c] = \Pr [ENC_k...
After going through some literature, I've convinced myself that to recover the exact secret using Shamirs Secret Sharing scheme, we must have S(the secret converted into a number) < p (choice of prime) and n (total number of parties) < p. I understand that the reason for incorporating modular arithmetic and the prime p...
This might seem an impractical and unnecessary conversation, but I feel it's something I need to clarify. Especially, as I just got my first developer job in a blockchain startup. So hashes are said to generate the same thing for any information it sees, and it's only a one-way interaction. As far as I understand, has...
Matrices have been used in symmetric ciphers since the Hill Cipher (before?) all the way up to modern ciphers such as Twofish and AES. I understand matrices can be invertible, therefore making them useful for decryption, but what other benefits do they have over other methods? For instance: Are they notably fast/effi...
In the publication - "Communication complexity of secure computation", I have encountered a small problem - on page 5 of the literature under the heading "Theorem 1" they have described a $(c,d; k,n)$ multi-party secret sharing scheme. Here, $d$ denotes the minimum number of parties that must come together to recover t...
Say I'm a researcher like Satoshi Nakamoto that wants to stay anonymous. I want to publish documents and sign them somehow. A few years, I want to reveal my identity and prove it was me who was Satoshi all along. Is there a cryptography scheme that can be used to achieve this?
I'm looking for a function to compute a hash of a set. It needs to satisfy two properties: If someone published a hash $h(S)$ of a set $S$ and a hash $h(S')$ of some subset $S' \subset S$ of it, I should not be able to compute the hash of $S \setminus S'$ from $h(S)$ and $h(S')$. From the hashes $h(S_1)$ and $h(S_2)$ ...
If a symmetric encryption key $K$ has been generated by some recommended (NIST for example) RBG then we should have a key with high entropy. But if we xor other bit-strings (e.g. IVs, other keys, etc.) to $K$, how does this affect the level of the entropy of the resulting bit-string? Specifically, how is the level of e...
Say I encrypt a message with the public key of a party whom I want to contact with and then send the ciphertext over an insecure channel. Naturally, an adversary who listens to this channel can obtain the ciphertext. This adversary can simply wait some years for computation speed to increase and then might launch a b...
In the Paillier cryptosystem, decryption goes $m\gets\displaystyle\left\lfloor\frac {\left(c^\lambda\bmod N^2\right)-1}N\right\rfloor\mu\bmod N$ with $\mu<N$ being a part of the private key just like $\lambda=\operatorname{lcm}(p-1,q-1)$ for $N=p\,q$. The Chineese Remainder Theorem allows to speed-up this computation k...
Assume an instantiation of AES-CTR like in the following picture: Some details on the input-values for keystream generation: COUNT: a 32-bit value associated with the transmission mode IV#1: a 5-bit value that can be assumed constant for a specified transmission IV#2: a 1-bit value indicating the direction of the tr...
I have some trouble finding valid information about IOTA. Actually I would be nice if there would be a good source. So my question is: Bitcoin uses the SHA-256 twice and some "target bits" for hashing it's blocks. What PoW does IOTA use? Some sort of Hashcash Lite - but how does this work in detail? Is there also a ...
I'm having difficulty on proving the fact that each round of DES algorithm is its own inverse. Can someone put a concise explanation for it please? If a function, say $f$ ,is its own inverse than $f(f(x))= x$ right? I try to prove that, given a round function $Rd$, that: $Rd(Rd(L_1\|R_1))= L_1\|R_1$. Here $L_1$ and $...
The equation below shows the proof of Laplace mechanism for differential privacy. I am not understanding the product operator, is this a common rule? $$ \frac{p_x(z)}{p_y(z)} = \prod_{i=1}^{k}\left(\frac{exp(-\frac{\varepsilon |f(x)_i - z_i|}{\Delta})}{exp(-\frac{\varepsilon |f(y)_i - z_i|}{\Delta})}\right) $$ While $p...
Is it always a win or could PFS algorithms introduce new attack vectors or weaken the level of secrecy vs not being used?
Would the use of Secure Enclaves such as Keystone or Intel SGX obviate the need for cryptography? Rendering cryptography irrelevant in the decades ahead?
Will there be any security concern if there is no mode of operation specified in the ciphersuite name? For instance, there is no mode of operation in TLS_ECDHE_RSA_WITH_AES_256_SHA.
Consider the following keyed function $F$: For security parameter $n,$ the key is an $n\times n$ boolean matrix $A$ and an $n-$bit boolean vector $b$. Define $F_{A,b} : \{0, 1\}^n->\{0, 1\}^n$ by $F_{A,b}(x) = Ax + b$, where all operations are done modulo $2.$ Show that $F$ is not a pseudorandom function. I have though...
In the paper, under section 4.1 Goals and environment of use we read: In applications that demand the most efficient use of space, the block cipher will often only be implemented as encryption-only. I presume this is NOT the same as one-way encryption (perhaps I should say hash?) as used for passwords. So in what cas...
There are many recommended modes of operation for block ciphers as described by NIST here, e.g. for DES and AES. However, I am struggling to find any for lightweight ciphers. I am particularly interested in modes of operation for PRESENT, Clefia and other standardised lightweight ciphers, and why they are suggested.
Using OpenSSL library is there any chance that decrypting AES256-CBC encrypted data with wrong encryption key will succeed without an error? Asking this because I have read somewhere there is 1/256 chance that decrypting broken data won't produce an error
I'm trying to evaluate some changes to an existing codebase and one question that has come up is the block cipher mode. For legacy reasons we've been using AES in CBC mode, however it's unclear why this decision was made. I'd like to propose moving to GCM, but I'm unsure if this will affect decrypting the data we alrea...
Can someone explain me this please I am a bit confused? It's from a texbook I am reading (block cipher companion) it says that: each weak key has $2^{32}$ fixed points $m$ where $\operatorname{DES}_w(m) = m$ ( $w$ is a DES weak key). In other words encrypting a fixed point gives exactly the same point. To see thi...
I'm regularly reading that AES-256 is secure against quantum computers because Grover's algorithm will only halve the key strength (i.e. "only" require $\sqrt{2^l} = 2^{l/2}$ operations instead of the full $2^{l-1}$ operations required to brute force the key). However, would it be possible that classical attacks on sym...
From Lewko, I understand the difference between an adaptive and selective model: Adaptive model: the attacker can adaptively query the challenger for private keys. Selective model: the attacker has to declare the challenge message BEFORE he can see the public parameters setup. Now comes to Rouselakis with static mode...
After following a discussion that Shamir's Secret Sharing scheme cannot be used to share a real number as secret, I came across the paper "Secret Sharing Over Infinite Domains" - B. Chor and E. Kushilevitz The above paper describes a method for sharing a real number as a secret, I quote from Section 4 (note: this pape...
In tweakable block ciphers the tweak acts some ways like part of the key and in other ways, acts like an initialization vector. Should the the tweak remain secret like the key or visible like the an initialization vector. Or perhaps this may differ from one algorithm to another?
I reviewed the paper "Secret sharing homomorphisms: keeping shares of a secret secret" by J.C. Benaloh yesterday and I had some difficulty understanding his version of verifiable secret sharing to address " k-consistency." We say that a set of n shares $s_1$, . . . , $s_n$ is k-consistent if every subset of k of the n...