instruction
stringlengths
32
27.2k
When using Shamir's Secret Sharing is it possible to use Secure Multi-Party Computation to reconstruct the original secret without revealing one's secret share? When searching I have found results talking about using secret sharing as part of a Multi-Party Computation scheme. But that is not my question.
I am trying to learn the sumcheck protocol used in different interactive zero knowledge proof systems, however I can't move forward due to my little understanding of Low-Degree Extension (see Chapter 5). What is it? What is the problem it solves? How does it work?
Let $H$ denote any hash function based on the sponge construction. Let $F$ denote its underlying function that transforms the $L$-bit state (for SHA-3, $F = \text{Keccak-}f[1600]$ ). Let $R$ denote the bitrate. Note that the padded message $M$ has the following form: $$\text{pad}(M) = B_1 \mathbin\Vert B_2 \mathbin\...
In GCM mode of encryption, what are the limitations on the mixing of plaintext and AAD (additional authenticated data)? Must the AAD come before the plaintext? Or could it be after the plaintext instead? Could there be both a block of AAD before the plaintext, and another block of AAD after the plaintext? Is it possib...
I became interested in crypto lately and read about symmetric and public key crypto algorithms. I understand how crucial the discoveries of the 1970s like RSA, DES and DH were in advancing the technology. I just don't understand how public key cryptography as an idea just came less than 50 years ago while it was a high...
I'm trying to understand the ROCA attack on RSA from Matus Nemec et al. but I'm stuck on how they goes from the constraint they have expressed has: $$f(x) = x ∗ M' + (65537^{a'} \mod M') \pmod p$$ To the real polynomial they feed to Coppersmith: $$f(x) = x + (M'^{-1} \mod N) * (65537^{a'} \mod M') \pmod N $$ Specifical...
Let us assume that we have a string $w$ such that it belongs the set $C$, where every member of $C$ is not null, and contains every string of characters that can be permuted (numbers, letters etc.). For a secure crypto-hash function such as SHA-512, is it possible to generate an infinite amount of hash collisions given...
Original thread: Why hash the message before signing it with RSA? Please correct the diagram below so I can better understand how certificates are created and signed by a third party CA: https://i.stack.imgur.com/wUT1S.jpg The CSR (which contains the RSA public key, Subject Name (CN), etc) is hashed+padded then encrypt...
Here's the hypothetical. There's a blockchain, which for the sake of simplicity, is modelled around Bitcoin and proof-of-work. My goal, is that for each mined block, rather than a set reward (12.5 BTC), each block has a deterministic reward value, and that value can only be determined after the block has been submitted...
We have a browser-launched JNLP/WebStart application that is no longer able to establish client-server CORBA/IIOP communications across TLS 1.0/1.1 due to relying on a cipher suite that uses an obsolete encryption algorithm for confidentiality, now disabled in Java 8u171. Client is Java. Server is C++ on Solaris. The...
I'm studying for an exam and answering practice questions and I would love clarification on something. Apologies if it seems really simple. My lecture notes indicate that for ElGamal: the ciphertext is twice the length of the plaintext. Here is my exercise: the public key $y$ which is $5496$ my chosen plaintext $m...
I am trying to understand some concepts regarding Random Read Access and Parallelism in mode of operations. I have written below what my concepts are regarding the two. If you can please correct where i am wrong, that would be great: What is the difference between random read access and parallelism? Ans: Random read r...
I have an application that does RSA hybrid encryption/decryption – i.e., messages are encrypted with a fresh AES key, which is then itself encrypted with RSA-OAEP and sent with the message. Decryption then does the reverse. I want to now provide support for hardware security modules (HSMs) via PKCS#11. (The applicatio...
Every cipher I've encountered seems to be built from slight variations of only three basic operations: the S-box, the P-box, and the XOR. I’m just wondering, are there any others? And if there aren't (keep in mind I'm not counting XNOR here, since it's semantically the same as XOR), is there any way to prove that tho...
Despite having learned much related to RSA and DSA, I cannot understand their differences. Can anyone tell me at least 4-5 differences between these algorithms? I have just used them for two-factor authentication (Linux OpenSSL).
According to the Wikipedia, and to several of our school study materials, Vigenère autokey ciphers are considered to be self-synchronizing stream ciphers. If I understand it correctly, the main idea of self-synchronizing ciphers is that they should re-sync in an event of missing characters in the ciphertext because the...
When we consider public key algorithms, those usually require keys that are much longer than their security level. According to the Crypto++ Security Level page, for example, integer factorisation algorithms (RSA et al.) require 3072 bits of modulus for a security level of 128 bits. After RSA, we started to have more e...
If hashing algorithms such as MD5 or SHA1 both use Merkle-Damgard constructions at their cores, why is it so easy to break them, and yet so much harder to break SHA3, which is also MDC based?
I was reading about this in a cryptography book last night. I have a hunch about this, but I can't quite put my finger on it. I think this is a similar situation to an affine cipher, where the multiplication factor has to be relatively prime with the size of the alphabet in order for the function to be surjective. O...
So we have the need for using a TOTP to generate a code on the server to send to a mobile client, I have been testing code generation with the following 3 java repos: https://github.com/jchambers/java-otp https://github.com/andOTP/andOTP https://github.com/freeotp/freeotp-android I've taken the core TOTP generating c...
This has been already brought up on security SE, but very sadly, this particular interesting issue got watered down in a far broader question. If and why is it bad to use the following hashing algorithm to store passwords? scrypt(bcrypt(password + salt)) The standard argument to questions like this, reiterated over and...
Under the following premise: I need to generate multiple symmetric keys; I cannot be sure about the quality of local system RNG; I already have a strong key K (generated by other means / elsewhere). Does it make sense to encrypt the output of system RNG with K (or some derivation of it) with the purpose of strengthen...
In the NIST post-quantum cryptography workshop, the round one submissions included pqRSA. If memory serves, this is an implementation of RSA using the product of a very large number of 4096-bit primes to protect against Shor's algorithm. It requires something like a terabyte of private key material. Why was this submit...
Let's say you are using a $\Sigma$ protocol ZK proof to prove knowledge of $x_1, x_2$ so that $Y = g_1^{x_1}g_2^{x_2}$. Of course $g_1$, $g_2$ are generators within cyclic group G of prime order q, with q of sufficient size. My question is, if $z = dlog_{g_1}g_2$ is known to the prover, how would that affect the sound...
I am looking for a work implementation of joint-feldman DKG or at least some library that can help me in the implementation Anyone can help me?
I found a piece of code that uses the first 16 bytes of the input file as IV. This immediately set off some flags in my head, but I have no idea how bad it really is. So, how bad is it? Obviously we're storing the first block in plaintext as the IV, but can we get any other information out?
I am studying how Signal application works and as I was reading the documentation on how is applied the XEdDSA and VXEdDSA Signature Schemes. But I kept wondering: if Signal uses elliptic curve for signing a message (as far as I understood), then how does it apply cryptography for encrypting the actual voice and instan...
I came across a DL that I need to solve... 5^k = 6361196924231058595008858273263807320 (mod 15860584089531798358308118294328202587) The modulus is a 124 bit number, so generic Baby Step - Giant Step would take some $2^{62}$ operations, which is unfeasible on a home PC. Is there any weakness to it? The modulus is 2 *...
I have read all of the technical documentations provided via signal and so far I have figured out that signal intitializes a common key via X3DH key agreement and manages the keys via double rachet algorithm. Also I have figured out that uses the X25519 and X448 curves as well. But I still have a burning question how a...
Let $n$ be the size of the image-space of a hash function $H$. It is known that you can find a collision on $H$ in $O(\sqrt{n})$ time (by birthday paradox). How can I show that, in order to find $k$ collisions, it is needed only $O(\sqrt{k\times n})$ time? I have no idea yet... I guess this happens because after you l...
I read a blog article which discussed SHA-3. I noticed it mention that security was often compromised in the name of speed (not always a bad thing, of course). It gave some examples: What I'm saying is that although they care deeply about security, they are also looking for compromises to gain speed. This can be seen ...
In GCM mode of authenticated encryption, is it a security concern if the GHASH implementation timing can vary? If the timing varies according to the AAD/ciphertext data, it looks as though that doesn't matter because that data is public anyway. But if the timing varies according to the GHASH key, does that reduce secur...
why is Propagating CBC (PCBC) insecure for authenticated encryption? I received the hint that I should feed a message of length $n$ and a message of length $n-1$ to it, but I don't really get what the result gives me, as we still have this Xor with the previous message.
RSA is both an asymmetric encryption algorithm and a digital signature algorithm. However, in recent years, many cryptographic protocols (TLS, for example) have moved away from the use of RSA to instead prefer ECC because of forward secrecy. So, my question is, do we still need RSA? Is there any situation where it ca...
In ElGamal encryption scheme, in order to achieve IND-CPA security, one must use a group where the DDH problem is assumed to be hard. As this answer suggests, one way to achieve that is the following: When working in $\Bbb Z^*_p$, let $p$ be a safe prime $p=2q+1$, where $q$ is also prime, let $g$ be a generator of the ...
Is it possible using RC4 that for e.g. a 17-bit long plaintext i can get a 17-bit long ciphertext? From my understanding, for this example i need a 17-bit long key to do the XOR operation for encryption. However in the normal algorithm of the RC4 only keylengths of 1 to 256 bytes are permitted. Can i use 3 bytes = 24 ...
I am evaluating a threshold Paillier scheme as described in the paper: Ivan Damgard, Mads Jurik, Jesper Buus Nielsen, "A Generalization of Paillier’s Public-Key System with Applications to Electronic Voting", 2010, Aarhus University, Dept. of Computer Science, BRICS. and have a problem with evaluating ${\lambda_{0,i}^S...
I was reading Can XOR be used in a Merkle Tree instead of concatenation? and had the idea of reversing bits for either X or Y before the XOR combiner, to indicate the order. So instead of H(X ⊕ Y) we could use H(RBIT(X) ⊕ Y) (or H(X ⊕ RBIT(Y))). The cost of both RBIT and XOR instructions are negligible on most modern C...
I have heard about the standard elliptic curves called NIST curves. What are the properties of such cryptographically secure elliptic curves? Are they standardized according to certain protocols? Also, does the attacker get any huge benefits from knowing which curve was used?
In the Groth-Sahai proof system, the authors mention (section 1.2) that one of the reasons behind the inefficiency of previous NIZK proof systems is their reliance on the hidden-bits model. Then, they state that other previous work avoided this by using bilinear pairings (but still used a reduction to CSAT, which is no...
Imagine the case of the one-time pad. It is proved to be secure because the key could be everything. We have no guarantee that this key or that key was the one used while encrypting our data. Wikipedia says: "a ciphertext can be translated into any plaintext of the same length, and all are equally likely.". What about...
Shamir's secret sharing protocol generates a polynomial over a prime field $F_p$. Is it possible to generates it over $Z_n^*$ as well? The reason is that I want to combine a secret shared value in another scheme. For example sign on it with an RSA signature (that is over $Z_n^*$. Thanks.
The big advantage of implicit certificate is their small size and fast processing. This article presents a way how to compute implicit certificates. In the end Alice is able to derive both her public and private key ($\alpha$, $Q_A$). Does this mean that the usage of implicit certificates implies the generation of a...
Say $L_1,L_2$ are contained in $\mathbb Z^r$ with \begin{gather*} \operatorname{rank}(L_1) = \operatorname{rank}(L_2) = r, \\ \gcd(\det(L_1), \det(L_2)) = 1. \end{gather*} How do I prove $\operatorname{det}(L_1 \cap L_2) = \det(L_1)\cdot \det(L_2)$? It's easy to show that $\det(L_1 \cap L_2)$ is divisible by $\det(...
If I have a set of AES ciphertexts, and I know all possible plaintext values. I do not however know which plaintext corresponds to which ciphertext. I also know that the same KEY and IV was used to encrypt. Can I use this information to retrieve the key that was used? Or determine what plaintext a given ciphertext corr...
From Cryptography I on Coursera, Week 2, "Exhaustive Key Search Attacks": Now let's assume that DES is what's called an ideal cipher [...] Of course, DES is not a collection of 2^56 random functions Prof. Boneh doesn't offer any explanation of that, he mentions that in passing like something obvious. But why exact...
On this site there is information that one can know first 3 characters (bytes) of the password without brute force. I know that ARJ in older versions has very simple encryption, i.e. XOR with passwords. I can't understand how it is possible to retrieve those 3 characters. Is compression or realization of these archives...
I have a list of 128bit ciphertexts. I know that the plaintexts were encrypted with AES, 256bit key, ECB mode. Same key was used every time. So I know that if I see ciphertexts that are the same, the corresponding plaintexts are also the same. I know all possible plaintext values. Is it possible to derive the key that ...
I’m porting over some crypto code from Mcrypt (deprecated) to OpenSSL. I’m following a process that a former employee implemented, which is as follows: Create a random salt for use in a PBKDF2 key derivation function. Create a random IV for symmetric AES-CBC encryption. Encrypt the plaintext using the derived key from...
Virtually all "hierarchical" Oblivious RAMs use "cryptographically secure" hash functions to determine the position of an item at a given level; and implicitly assume (as can be evinced from the cost analysis in the respective papers) that these hash functions can be evaluated in $O(1)$ steps. Then it seems to me that,...
I need to derive session key in order to create an application layer secure channel between mobile app and a bluetooth device. My scheme is similar to this scheme that uses a HMAC and counter. Provided that between mobile app and BLE device have already share a same key $K$ (256-bits) through provisioning process, I pl...
I want to be able to sign different types of messages with the same asymmetric key. (For completeness, I am using Ed25519 for my signatures). Why do I want to do this? The same key is used to sign different types of messages. If I didn't use some method to differentiate between message types, an attacker might be able ...
To prove UC-security (universally composable security) of a commitment scheme, we must show that a commitment scheme is extractable and equivocal. That is, we must construct a simulator that is able to extract the commitment of an adversary corrupting the sender (extractability) and construct a simulator that is able ...
I had an idea to use something like public message boards to pass secrets anonymously and non-interactively (similar to TV/Movie Trope : http://tvtropes.org/pmwiki/pmwiki.php/Main/PublicSecretMessage ). So here's the basic construction: Bob encrypts a message for Alice and then posts it with an anonymous address tag. B...
TLS 1.2 defines a number of cipher suites that employ AES-GCM, e.g.: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 TLS_ECDH_RSA...
Given is the secret message encrypted with AES-256 in CBC mode 5a04ec902686fb05a6b7a338b6e07760 14c4e6965fc2ed2cd358754494aceffa The first 16 Byte is the initial vector, the second 16 Byte is the ciphertext. The plaintext of the secret message above is (ASCII-encoded) We're blown. Run How can you change the secret me...
Let $H$ be a sponge hash with rate $r$ and capacity $c$, built from a permutation $\pi: \{0, 1\}^n \rightarrow \{0, 1\}^n$, where $n = r + c$. Assuming $r \ge 2c$, how can I find a collision with probability at least $0.5$ in time $O(2^{c/2})$. The colliding messages can be $2r$ bits each. I'm pretty sure I have to us...
I am trying to implement a ChachaPoly1305 encryption with authentication scheme over a network. I am using a counter to derive the nonce as suggested by the rfc. Is it secure to send the nonce over the network along with the ciphertext? If not then why?
As I was looking over the diaspora federation Magic Envelope documentation, I noticed something weird: { "aes_key": "...", "encrypted_magic_envelope": "..." } After some thought, I realized that it uses asymmetric cryptography to send a symmetric key. But other technologies such as TOR or OTR, or even Signal, perf...
There are two discs that we have that have all the same files. However, using a new method for burning the discs, the second disc had modified file dates of 5/30/2018 while the original disc has dates of 2013. The hash value of each CD is identical. I tried to recreate this by making a Microsoft Word document that had...
The question is this... $x^{29}\equiv4\pmod{91}$. Note that $91 = 7*13$. Compute an integer $x$. Since 91 is not prime number, I know I need to use Euler's theorem, not Fermat's. So I get $a^{72} = 1 \bmod{91}$, $a \in Z_{91}^*$ I don't know what to do next...
Let $a,b,c,d$ be selected at random from $Z_q$. Consider the following two distributions $X_1$ and $Y_1$: $X_1={(r_1\cdot a, r_2\cdot b, r_3\cdot c, (r_1+r_2-r_3)\cdot d)}$ where $r_1,r_2,r_3$ selected random from $Z_q$ $Y_1={(u_1,u_2,u_3,u_4)}$ where $u_1,u_2,u_3,u_4$ selected random from $Z_q$ I have two questions: ...
My application is as follows User has a hardware system (with an unique ID) that does not have connectivity but has a keypad for input. To make the hardware operational, the user has to go to central authority and get a code (7-8 digits) in exchange for money The user enters this code through the keypad and the system...
Let a,b,c,d be selected at random from $\mathbb Z^*_q$. We pick values $r_1,r_2,r_3,z_1,z_2,z_3 \gets \mathbb Z^*_q$. Do $u_1,u_2$ that are computed as follows, leak information about values $a,b,c,d$? (a p.p.t addversary can gain information abut values a,b,c,d or these relations with non negligible probabelity؟). $...
I was going through the paper - " Efficient Oblivious Transfer and Extensions for Faster Secure Computation" by Asharov et al. where the authors propose an optimized OT protocol along with a Random-OT (needed for finding multiplication triples) and a Correlated-OT (needed for Yao GC) protocol for specific applications....
This question is similar to Leak Information?, but with new settings. Let $a,b,c,d,e,f$ be selected at random from $\mathbb Z^*_q$. Also, let $r_1,r_2,r_3,z_1,z_2,z_3,p_1,p_2,p_3$ be selected at random from $\mathbb Z^*_q$. is there a P.P.T adversary $A$ such that gets information about values a,b,c,d,e,f or Their rel...
I'm seeking an example of a cipher construction with two variants differing by key/block/state size yet sharing most of the internal structure. Where the larger varient is easier to break than the smaller version. Should be clearly related to a well known cipher so that claiming strength of smaller varient will have me...
I want to show that no 1-private deterministic protocol exists for calculating a sum of $n \geq 3$ parties (within the realms of Perfect rather than Computational Security). I'm having trouble showing that as I have to show that for any protocol, meaning I've no idea what messages are being sent. I thought about showin...
To construct a secure multiparty computation function, we need to use the cyclic group G = Z*p^2 with p is a large prime. However, we are uncertain that DDH holds over this group. Can you show that DDH holds/doesn't hold over the cyclic group Z*p^2? Note that: the order of G is q = p(p-1) and q is multiple of the large...
On DJB's blog he writes: I was one of about 40 people sitting in a meeting where the speaker, NSA's Louis Wingers (one of the Simon and Speck authors), falsely claimed that counter mode is safe for 64-bit blocks, since counter mode doesn't have block collisions. NSA's continuing promotion of these dangerous ciphers in...
I'm working on a project with elliptic curve cryptography (ECC), I'm using the secp256k1 library (the one that's used in bitcoin). My goal is to create the most compact platform-independent representation of an elliptic curve point. Currently my encoding consists of an x-coordinate, 256 bits wide, encoded in a big-endi...
I'm reading up on Authenticated Encryption and can't really wrap my head around how a generally secure MAC and a generally secure encryption scheme can be combined into an insecure AE scheme, such as in MAC-and-Encrypt. I'd be fine with just having links to sources so that I may read up more about it on my own.
Can the birthday bound arising from a block cipher’s block size be worked around by deriving different keys from the master key with a KBKDF using a tweak? For example consider the following scheme, which assumes K is a 256-bit key tweak is an integer we can increment before 2^64 blocks have been encrypted with the cu...
Looking at RFC4253, I came across the notion that the MAC is applied the encoded packet concatenated with a sequence number which acts as a counter. However, I couldn't find any information on how that sequence number is validated. What happens if some messages get dropped or corrupted during transit? Also, when do SSH...
When implementing NTRU related cryptosystem, I came across the problem of deciding whether a randomly generated polynomial is invertible mod $q$. How to solve it?
I want to encrypt a file with a RSA public key. I generate a random 16 bytes key I encrypt the file with AES + the random key (aes.NewCipher() + cipher.NewGCM() + aesgcm.Seal()) I encrypt the random key with RSA (rsa.EncryptOAEP()) Now I can send the encrypted file + encrypted random key to the person who has the pri...
If I use XTS-AES and treat the tweak as a nonce/IV would the result be considered nonce-misuse-resistant? I'm thinking of something like the following AEAD-like scheme: enc(encKey, macKey, plaintext, aad): tweak = ... # 128 bits, generated like an IV or nonce # pad the plaintext to handle shorter-than-16-byte inpu...
Is the following reasoning correct: After ECDH with Curve25519, the resulting shared secret will be an EC public key with a bit strength of 128 bits. This public key would then be hashed (let's say with SHA-2-256) to produce a key of length 256 bits for use in symmetric encryption. This symmetric key would have a bit s...
Wikipedia on its page for Shamir's secret sharing scheme provides a python implementation that applies the idea. This algorithm will generate a (k, n) threshold scheme so for example we could split a secret in 6 parts and we would need only 3 of them to recreate it. But isn't the idea of this scheme to be used by a num...
I've been reading the Wikipedia page on Elliptic-Curve Cryptography and I came across the following. in August 2015, the NSA announced that it plans to replace Suite B with a new cipher suite due to concerns about quantum computing attacks on ECC. Elliptic-Curve Cryptography My question is, how vulnerable is ECC to q...
I have an encrypted file which I want to decrypt but I dont know the last 5 letters (which are probably literally numbers / letters) of the key / password. The Initialization vector is known. Is it possible to bruteforce this within a reasonable amount of time?
I would like to know how to understand which one is private key and public key while seeing them in raw text format?
What is the difference between Elliptic curves and Hyperelliptic curves in terms of security? I am relatively new to cryptography and have heard a great deal more about Elliptic curves than Hyperelliptic curves. Why are Hyperelliptic curves not so prevalent in use?
Since the success of the $p - 1$ algorithm depends on $p - 1$ having "small" prime factors, or at least smaller than a reasonable smoothness bound, and Williams' $p + 1$ method has the same constraint for $p + 1$, it seems to me that it would be extremely unlikely for neither $p - 1$ nor $p + 1$ to be smooth. So if we ...
I am reverse engineering a software that uses blowfish for encryption. The target uses an implementation of blowfish that allows arbitrary positive key length with a key size larger than 56 bytes. I am looking for a way to cut the key size down to 56 bytes so that I can use a standard library to take care of the encryp...
Ive seen in an answer to this question here : https://stackoverflow.com/questions/5889238/why-is-xor-the-default-way-to-combine-hashes/5889288#5889288 that If you XOR a random input with a biased input, the output is random . What is the reason for that ? Is there a formal proof ? thx
I'm studying Shor's quantum factoring algorithm. I was wondering what the largest integer is which they were able to factor with a small quantum computer. Does anybody have an idea about this?
I am trying to understand how best practices on password hashing come about. With password hashing, I mean specifically for the case of storing user passwords in a database in a hashed representation, in order to compromise user passwords if an adversary gets access to the database. I understand that recommendations (e...
Are any lightweight block cipher ciphers adopted in real-time? If yes, what cipher and which application?
We are currently trying to reproduce the implementation of the ROCA-Paper. Therefore we calculated $M'$ from $M$ and $Order_M'$ from $Order_M$ to reduce the search space, but when we hand these values to the coppersmith algorithm as described in Algorithm 1 of the paper, this algorithm does not find any roots.vIt only ...
I'm considering this for bitcoin transaction as it uses ECDSA so if the signer generates two signatures suppose s1 and s2. where: I get it that any attacker who have s1 and s2 can recover its private key x. But the question is can the signer use a different private key x1 for instance to generate s2..in such a way eve...
I was trying to find out a way of speeding up a given symmetrical algorithm the reason and programing launguage in this case are unimportant. I have came up with the following thing: Divide data into n parts Run n threads Each thread encrypts its part of the data Take the output of all of the threads and concatenate (...
I am trying to understand various attacks on RSA and I believe that the only way to fully understand an algorithm is to implement it. I am trying to implement the code in this paper: Dan Boneh and Gleen Durfee, Cryptanalysis of RSA with private key $d$ less than $N^{0.292}$, in proceedings of Eurocrypt 1999. But after ...
To convey how an adversary can bias the coin, most often a simple commitment-based two party coin-tossing protocol is given, as in [1]: Alice sends Bob the commitment $c = commit(x)$ Bob sends Alice the bit $y$. Alice sends Bob $decommit(x)$, Bob verifies Alice actually chose $x$. Both compute result $r = x \oplus y$ ...
I need a function $F$ that compresses an arbitrary (unbounded from above) number of bytes into a single byte. The goal is creating a single unpredictable byte from an arbitrary bitstring. Here are the requirements: Pseudo-randomness: the resulting byte should look uncorrelated and unbiased in comparison with the ...
Does an anonymous signature hide the sender's identity from the receiver, or simply just hide the sender's identity from an eavesdropper or third party?
Why in Chaum-van Antwerpen scheme, the probability that a cheating signer disavow a valid signature is $1/q$ ? From Handbook of Applied Cryptography at page 477: Suppose that $s$ is indeed A’s signature for $m$, i.e., $s = m^a\ mod\ p$. Suppose that B follows Protocol 11.125 correctly, but that A does not. Then the ...
A compression function converts a fixed-sized input into a smaller fixed size output. Suppose that one has a large collection of input-output pairs for an unknown compression function. We can assume the following: That the pairs include some collisions. We don't know the function, we did not yet do any cryptanalysis...
What factor is preventing cryptography based on chaos theory from being of practical use? Is it because of the unpredictability of the system?
Can somebody analyze this scheme and explain how (in?)secure it is? Assume that: The keys were initially securely exchanged All keys are truly random In this scheme: The key size is of length 2s, the plaintext is of length s, and the total message size is 3s The first 2s contains a randomly-generated key to be used ...