instruction stringlengths 32 27.2k |
|---|
I am looking for a title of book in the field of stream crypography.
I vaguely remember, that I saw this book at online shop (maybe amazon) near 5-10 years ago. This book is devoted to electronic machines cryptography (LFSR). Electronic encryption machine (perhaps, military) and LFSR in a "magnifying glass" (shows that... |
I am developing an online game, where the server is written in Node.js and the client uses Godot. The issue is that Godot has no cryptographic functionalities (it can only encrypt and decrypt files, not elements in memory).
As implementing cryptographic functionality would be out of my capabilities with Godot, I've be... |
I was given an argument in a conversation today and I don't know how to respond to it:
H( k || m || k ) should be a better choice of MAC than the traditional HMAC. The person's rationale was that: "You don't know where to pick up extending from, and you don't know what to finish extending into. Sure using k twice looks... |
First of all, sorry for any horrible formatting, I have to type this in from my phone.
I know (or, at least, I think) that no currently used cryptographically secure hash functions exist with this property, and I doubt it would make sense if they did, but I want to know if there is any kind of "hash"-like function that... |
openssl speed tests the speed of different protocols on your computer:
$ openssl speed something
Error: bad option or value
Available values:
...
ecdsap160 ecdsap192 ecdsap224 ecdsap256 ecdsap384 ecdsap521
ecdsak163 ecdsak233 ecdsak283 ecdsak409 ecdsak571
ecdsab163 ecdsab233 ecdsab283 ecdsab409 ecdsab571
...
For the ... |
I’m a little unclear on this subject:
TPM chips to enable remote attestation. This mechanism works as follows. At boot time, the host computes a measurement list ML consisting of a sequence of hashes of the software involved in the boot sequence, namely the BIOS, the bootloader, and the software implementing the platf... |
Bit constants are often added to the key schedule to reduce slide attacks. I have reviewed David Wagner's work, where he showed that the increased rounds in a Feistel network do not help if you have key symmetry. I have been trying to find some work that describes if a round-based bit-constant stream could be used to... |
Given two CSPRNGs $A$ and $B$ (of possibly the same family/algorithm), where $A$ is properly seeded from a high-entropy source, can $A$ be used to seed $B$ without compromising the security of either? Moreover, could a tree of such CSPRNGs rooted at $A$ be formed such that all generators can be used independently witho... |
I found a topic on bitcointalk
Public key x and y == Double(Half of the Public key x and y)
half any public key is possible how that possible , in crypto there is subtraction and multiplication only then how divition
one post Sure, just multiply the point by 2^-1 (mod n).
can some one explain more which point to multi... |
Lately I came across of release of unverified plaintext. I was told that this is a bad thing, but I don't really get why. Isn't unverified plaintext released just nonsense? How can this be attacked in the context of authenticated encryption?
|
There are many kinds of fully homomorphic encryption scheme by using boolean circuits. And the plaintext space $\mathcal{P} = \{ 0,1 \}$.
If there is a -bit FHE scheme, we can construct a FHE scheme which can encrypt all the messages.
For a string $x \in \{ 0,1 \}^{*}$ and $x = x_{1} \Vert x_{2} \Vert \cdots \Vert x_{n... |
I have an existing system that signs an arbitrary binary blob with an ECDSA key. The output of this is an r and s value. I now need to verify this signature on another system. On this other system though we are using BouncyCastle, and would prefer to just use the byte array verify method.
Unfortunately my cryptographic... |
I'm not sure whether this questions is about SHA-256 algorithm itself or the particular implementation I'm using.
Usually, a hash algorithm implementation has functions, let us call them update and finalize. update feeds another chunk of data, finalize possibly feeds the last chunk and calculates the digest.
Should pas... |
Suppose there is a cyclic group $G$ of prime order $q$ of elements in $Z_p^*$ with a generator $g$ and a value $x \in Z_q$.
$h_1 = g^{x+1}$
$h_2 = g^{x}$
Is it possible to write $h_2^{((x+1)^{-1})}$ as some combination of $g$ and $h_1$?
$x+1$ is invertible in $Z_q$ only if $gcd(x+1,q)=1$, which means $ax+a = 1 \bmod q... |
could you please explain what is the problem here?:
I'm trying to simulate sign/verify scenario with RSA keys. For simplicity I use 64bits keys:
PK = {BE1EE24B5ACD9DE5, 10001}
SK = {BE1EE24B5ACD9DE5, 15D231A2C5B605C1}
and do the calculations using http://extranet.cryptomathic.com/rsacalc/index
scenario 1 - Ok:
m = 012... |
I'm reading Matthew Green's great blog, especially the Zero Knowledge Proofs: An illustrated primer post and I'm wondering what is the difference between completeness and soundness?
In the post, there is this part:
Completeness If Google is telling the truth, then they will eventually convince me (at least with high p... |
I'm looking at three options for shared-secret message authentication codes:
HMAC-SHA-256(secret, payload)
SHA-512/256(secret+payload)
SHA-512(secret+payload) truncated to 256 bits
Option 1 is the most standard choice. I'm considering option 2 because it is faster on 64-bit CPUs. I'm considering option 3 because SH... |
I have a basic understanding of perfect secrecy. In the case where |K| == |M|, I see that there is only one key to encrypt a given m to a given c. Therefore each m is equally likely with same probability 1/|K|.
For the case of |K|<|M|, I have some intuition that it is not possible to map a random variable on set x to b... |
Who calculates the private exponent $d$ in RSA? Only $(n, e)$ are public and to calculate $d$ (with $d$ being the multiplicative inverse of $e$ with respect to $\phi(n)$), the receiver need $\phi(n)$.
So how is the receiver getting $\phi(n)$ and if the receiver is not getting $\phi(n)$ then who is calculating $d$?
|
I've had a look at “Practical Cryptanalysis of ISO/IEC 9796-2 and EMV Signatures” and read the very good answer https://crypto.stackexchange.com/a/17846/59673 and I understand that signature and encryption are usually different algorithms. For clarity, here I am just talking of RSA.
For long messages usually a hash is ... |
Regev requires $q$ to be prime on lemma 4.2 of his paper for LWE.
Why does he require that and how this effect the proof of lemma 4.2?
|
I am studying an application with an AES crypto implementation that works that like the following:
PBKDF2 is used with X iterations and SHA-256 to generate a 256-bit "master key" from a user-provided password and salt.
master_key = pbkdf2(
password,
salt,
iterations,
alg: SHA256,
size: 32)
A crytp... |
Own research
In my journey into trying to understand PGP, and public key signing and encryption as a whole, I came across this answer on CE. It is an answer to a question with the title: Should we sign-then-encrypt, or encrypt-then-sign? Although this satisfies my original quest, it has an interesting link to an articl... |
suppose the password used in the RC4 encryption of a plaintext is an English word of 6 letters that we do not know or forget it . Is it possible to recover it if we only know the ciphertext but not the keystream ? If yes how exactly ? Moreover , is there some software that can do the job ?
|
It is known that One-Time Pad(OTP)s are theoretically unbreakable but impractical for use because of the size of the key length. But what if multiple encryption is used? Not to encrypt the first cipher text, but the key.
First, the message is encrypted using OTP. Then the key used for OTP encryption is encrypted using ... |
Assuming that $m$ is a multiset of bitstrings where all bitstrings have the same length, let $D(m)$ denote the number of distinct elements in $m$. That is, $D(m)$ is equal to the dimension of $m$. For example, if $$m = \{00, 10, 11, 10, 11\},$$ then $D(m)=3$.
Let $F(x) = \text{Keccak-}f[1600](x)$, the block permutati... |
What is the difference between access control and authorization? They do not mean same as there is a fine line between the two.
|
I am pretty new to ASN.1 format. I have a PKCS#7 signature which after doing an ASNdump looks like the one below. Can someone help me understand what each element below signifies? I could only identify 2 certificates in the signature but cannot confirm which one is used for what. Also appreciate if you could shed some ... |
I am using HMAC to create a message authentication code. My question is, does it matter if I use cipher text + encryption key or plain text + encryption key? I had a look at a implementation and as far as I can see they just concatenate the values (message and encryption key) and hash them.
|
I'm trying to find an authoritative source for the HMAC Key sizes for each of the hashing algorithms below. Specifically for TLS implementations of HMAC.
I found this table in RFC5246:
MAC Algorithm mac_length mac_key_length
-------- ----------- ---------- --------------
NULL N/A 0 ... |
I'm trying to understand the current context for fully homomorphic encryption. What are the most influential papers that are the basis for the most close-to-practical techniques today?
Of course Gentry's original paper is the most influential, but it is far from practical. A 2011 paper I see that appears to achieve muc... |
Let's say Alice has file $F$ and she generates key $K$. She widely publishes the $hash(F)$ for identification. She wants to sell the file to Bob. She encrypts the file with $K$ and sends both $E_f = E(F, K)$ and $hash(K)$ to Bob. However, Bob wants to verify that this encrypted file really is the one he has asked to bu... |
I've come to use AES/SIC for my purpose as I want to write an encrypted file and read it back with the possibility to seek (I only need to read parts of it and don't want to decrypt the whole file just to read a single part of it).
SIC (using Bouncy Castle) looked promising. I've implemented a stream which is seekable ... |
I am trying to design a scheme that would allow the following:
Alice has a number $a$ which she wants to keep secret
Bob has a number $b$ which he wants to keep secret
Alice can "transfer" a number to Bob such that whatever she transfers must be subtracted from her number (the sum of their numbers must remain the same... |
I hate asking for a reference, but I'm having a hard time finding this.
The iana page on tls extensions just links me back to rfc5246 where it only has the following values:
enum {
none(0), md5(1), sha1(2), sha224(3), sha256(4), sha384(5),
sha512(6), (255)
} HashAlgorithm;
enum { anonymous(0), rsa(1), dsa(2), ... |
Lets assume that there is a decentralized network $N$ with participants $A,B,C, D$ and that there was a message $m$ that all of $A,B,C,D$ agreed to. An outsider $X$ wants to know via signatures that $m$ was indeed agreed to by all of $N$.
Is there a way of combining the signatures of $A,B,C,D$ such that $X$ just has t... |
I have a software program running on a piece of hardware. To access a specific functionality it runs a challenge-response-like authentication, that is it generates a numerical 4-digit PIN and expects a 4-digit numerical PIN in response. I'm now looking for whether it is possible to come up with the algorithm that is us... |
I am thinking about to concatenate two hashes, but I was searched about this and I have questions, if some one should help me. Thank you
I have two strings str1 and str2 with variable large.
I need obtain a hash of these, but when I was searched I read about problems with collisions and I don't understand that.
In this... |
I wanted to know how much one Ethereum KECCAK-256(hash) is in FLOPS. I know bitcoin is 12,697 flops per hash.
|
If I have to argue that an assumption A is stronger than B, should I argue this way:-
An adversary breaking the security of A does not translate to breaking the security of B. But, if an adversary breaks the security of B, it can break A too.
Right? or, there are other ways to compare stonger vs. weaker assumptions.
|
Many group signature schemes follow sign-encrypt then prove paradigm, where a membership certificate, is encrypted using some public-key encryption scheme. There are some encryption free group signature schemes.
What is the advantage of group signature scheme without encryption over the group signature scheme with enc... |
I am implementing the key exchange scheme proposed by zhang et al. on Sage. In the implementation of the scheme, they have used the two distributions $\chi_{\alpha}, \chi_{\beta}$.
How to choose $\alpha, \beta$ and what should be typical values of $\alpha\ and \ \beta$ to have 100% correctness of the scheme (that is a... |
The question
Given the same plaintext content that is encrypted two times.
One time with AES-CTR and the other time with AES-CBC.
Both times with the same AES key but with different IVs.
What are known possible attacks (apart from the following example) that could help to decrypt the plaintext without knowing the key... |
This question is related to the question I asked here. I'm looking for encryption scheme with the following properties:
Given $m$ is a 256-bit value, $pub_a$ and $pub_b$ are public keys, and $priv_a$ is a private key for $pub_a$:
$E'(E(m, pub_a), pub_b) = E'(E(m, pub_b), pub_a)$, where $E'$ is a re-encryption function... |
This is a follow up on the question I asked here. I designed a scheme that allows the following:
Alice has a value $a$ which she wants to keep secret
Bob has a value $b$ which he wants to keep secret
Alice can "transfer" a part of her value to Bob such that whatever she transfers must be subtracted from her value (the... |
BGLS [1] is an aggregate signature scheme by Boneh et al., that allows aggregation of BLS signatures on n different messages from n different signers. What I want to achieve is to verify such signatures in a smart contract, using the new precompiled contracts for pairing operations (pairing equality, scalar multiplicat... |
As I've understand OMEMO protocol specification, the initial key exchange between Alice and Bob can be stored on server and in future used for message decryption.
Also the phrase from Conversations, Jabber Android client, official site:
This way, not only your messages are safe but more importantly it is impossible fo... |
Picture the following (the example is very similar to the real scenario):
I have a physical item in possession in which I want to lock myself (don't ask [1]) from accessing it until a n number of hours have passed.
I put the item in a box with a combination lock [2].
I change the combination, and somehow temporarily s... |
The authenticated encryption mode of operation Galois/counter mode has recently gained acceptance because of its high performance due to its inherent parallelism and no pipeline stalls. It requires a block cipher having 128 bit block length which is used in counter mode, and authentication is done by using multiplicati... |
In an answer to this question: Security of GCM if Implemented with Stream Cipher instead of Block Cipher ...it was stated that:
The GHASH part of GCM is usually the problematic one when it comes to implementation, not the AES. GHASH is very fast on hardware platforms that have dedicated opcodes (x86 with AES-NI, POWER... |
Why does the combined shared key in Adi Shamir's Sharing Scheme have to be smaller or equal than each secret share?
|
I was recently reading this paper on SIKE and I'm trying to understand the details of the implementation.
I've noticed the point tripling algorithm (algorithm 6) was already described in a different paper.
Nevertheless, the SIKE paper uses a slightly different algorithm for calculating [3]P. I've quickly checked - it s... |
I know that TLS ciphers such as TLS_RSA_WITH_AES_128_CBC_SHA transmit data as shown https://www.rfc-editor.org/rfc/rfc5246#section-6.2.3.2. From my understanding the ciphertext MUST be a multiple of the block size, which in this case is 16 bytes. However when I look at the below output from wireshark, I'm confused. Aft... |
According to the "Handbook of Applied Cryptography" by Alfred J. Menezes, Paul C. van Oorschot, and Scott A. Vanstone (CRC Press, 1997; p.4):
Cryptography is the study of mathematical techniques related to
aspects of information security such as confidentiality, data
integrity, entity authentication, and data origin a... |
This question is a follow up to the question I asked here. Basically, the protocol I described has a flaw (as pointed out in this answer), and I am trying to figure out how to address it. The setup is:
Alice has a secret value $a$ to which she's publicly committed by sharing $A=a∗G+X_a$, where $X_a$ is her public key... |
So it's hard to make sense out of the title. Let me elaborate:
In LUKS, you can have multiple passwords that unlock the same volume (due to their "unified key setup" where they have a single master key). But I was wondering if you could have a single LUKS volume with, say, 2 passwords. The first password unlocks your s... |
I am researching in authentication and access control in IoT. Is there any difference between working in wireless sensor nodes and IoT in the topic authentication and access control as both require lightweight designs?
|
In the RSA algorithm it's the the integer factorisation problem, it's easy to multiply the two large primes to generate n, but given just n it's very difficult to find the constitutent primes.
In the Diffie Hellman key exchange it's the discrete logarithm problem with the same principles.
Maybe it's just because it's m... |
In matrix encoding, we convert our message into some numerical value and then create a matrix out of those numbers.
The matrice encryption is based on the fact that a matrix multiplied by its inverse is a unity matrix, so, if we pre-multiply a marix by some encoding matrix $X$ it will get encrypted and will be decoded ... |
I am trying to understand the threats the double ratchet system is trying to prevent against.
The threats mentioned in the paper do not quite make sense to me. May be someone can explain where I am wrong?
For the DH ratchet the paper says --
An eavesdropper who briefly compromises one of the parties might learn the... |
I want to implement computing ECC operations (i.e., multiplication) in a BMR scheme (secure multi-party computation)
What is the best way to do it?
I found Fairplay MPC - to allow BMR computation through ASFL language, but it does not provide a good library for ECC operations.
Instead, CHARM implements several cryptogr... |
In NIST FIPS 186-4, "digital signature algorithm", the minimal length allowed is 1024 bit (page 22). On the contrary, in NIST SP800-56B, page 63, RSA-OAEP encryption, the minimal length is 2048. Why 1024 is secure enough for digital signature but not for encryption?
|
So my question is do padding schemes used in RSA protect it against Least Significant Bit Oracle attack?
The attack I am talking about is described here:
RSA least significant bit oracle attack
As far as I know the padding schemes add some random bytes to the end of the block so that it always gives a different value w... |
Please only look at for loop in source code below, especially SP1,SP2,SP3.......
Is it similar to what S-box does?(Ignore the other)
int fval, work, right, leftt;
int round;
int keysi = 0;
leftt = inInts[0];
right = inInts[1];
work = ((leftt >> 4) ^ right) & 0x0f0f0f0f;
right ^= work;
leftt ^= (work << 4);
work ... |
Is it possible to construct such a set that parties can
Add elements to the set without revealing the elements or knowing the elements presently in the set.
Proving to other parties that a certain element exists in the set in a way that doesn't reveal at which point it was added.
For example, I want Alice, Bob, Cindy... |
Is it possible to prove key-equivalence across elliptic curves of different order? Specifically:
Suppose I have a key $x$ valid for both curves listed below
On curve $g$ (for example, Curve25519) it maps to $X_1 = x*G$, where $G$ is the generator point for $g$
On curve $h$ (for example, Curve1174) it maps to $X_2 = x*... |
I want to implement AES algorithm,instead of 128 bit key encryption I wanted to do it for 256.But I’m stuck at point creating scheduling for 256 key generation.
Can anyone help in this.
|
Message authentication is ensured by using HMAC, which can be thought of as a symmetric-key construction.
Source authentication in multicast communications can be guaranteed using TESLA, which is again based on symmetric-key principles (although it basically works because of asymmetries in time).
However, neither HMAC... |
In Brakerski and Vaikuntanathan's homomorphic encryption scheme, the relinearization function turns a 3-element cipher back to a 2-element cipher by using a set of public homomorphism keys (https://eprint.iacr.org/2011/405.pdf, see section titled "An Optimization to Reduce Ciphertext Size").
I do not understand the po... |
Quantum computers will seal the fate of conventional encryption techniques. Of these, the hardest hit will be the RSA algorithm used by 99 percent of all applications the encryption standard for any secure transfer and storage of communication data or software updates. What are some solutions to the inevitable?
|
It doesn't take a lot of time on the crypto StackExchange to realise the sentiment around MD5 hash functions is poor.
My questions are:
If it's such a bad idea to make use of MD5 hash functions why do big websites (such as the ubuntu.com) still make use of the hash function to verify the integrity of the file ... |
In April 2017, Jacob Henning asked "What are the chances that AES-256 encryption is cracked?" and part of his question was how best the transmitted data, now in his web database, a.k.a. "data at rest" might be protected.
Hence my question:
What is the best way to protect data on a server after it has been "safely" tran... |
I have an encryption scheme which masks the message m by multiplying it with a secret random group element i.e $g^r \cdot m$. I should allow decryption and get $g^r$ if I have a valid secret key; otherewise I will only reveal $(g^L)^r$, where $L \in Z_n$ and $g^L$ is known to the adversary.
Is this secure? If yes, how ... |
Telegram recently updated its symmetric-key encryption scheme MTProto, which seems to fix some known vulnerabilities. Nevertheless, I still do not understand why they roll their own crypto. What properties/advantages do they gain from their homemade MTProto encryption scheme beyond those already provided by the standar... |
I there a way to calculate two similar pseudorandom periodic sequences by exchanging some sort of initial value and generator polynomial?
Like a linear-feedback shift register but with a finite field of numbers and each number occurring only once in the sequence?
|
Reading through Katz & Lindell's Intro to Modern Crypto, I came across these notions which were introduced in quick succession without much differentiation between them.
How do Indistinguishability(IND) and Non-Malleability(NM) differ? Which is the stronger notion of the two, in which (if any) scenario are they equival... |
I want to know whether there is any additively homomorphic schemes that can make a non-interactive range proof.
For example, I have a pair of public and private key pairs $(K_p,K_v)$ that satisfying a additively homomorphic schemes $E$, and I want to prove that the plaintext of $C=E_{K_p}(m)$ belongs to $[a,b]$, where... |
I got the idea from Eve Online's BPCs (Blueprint Copy). The in-game explanation is that the license to manufacture a copy of a starship is limited to X times, and afterwards the BPC is automatically corrupted.
I understand that the resulting plaintext can be copied after decryption any number of times, rendering the li... |
I know some works have been done in the context of cirrcuit privacy on homomorphic encryption, where from an output ciphertext it does not allow
someone to distinguish what function is computed.
I wonder the need of this functionality. If we use a cloud server to delegate some tasks over encrypted data, then the clou... |
So I have this protocol for the hamiltonian cycle:
repeat t times:
Peggy chooses a random permutation $\pi$ on $V$, and computes $G_1=\pi(G)$
For each of the $\frac{|V|(|V|-1)}{2}$ possible edges of $G_1$ Peggy computes a different commitment and sends the commitnet to Victor. ($\forall v_1,v_2\in \pi(V)$ if $(v_1,v_2... |
I have an encryption scheme $Enc(pk, m)$ which outputs ciphertext of the form $c_1 = (pk)^r, c_2 = g^r \cdot m$; where $pk$ is the public key of the form $g^a$, $a$ being the corresponding secret key.
Is this secure?
|
In many cases why going through the security proofs I have seen that some does it using a blackbox reduction to some known hardness assumption DDH and others do it using a hybrid argument by arguing the indistinguishability between the hybrids is equivalent to adversary's advantage in the DDH game.
What I don't unders... |
I don't understand how the AddRoundKey function works, because the following example is from the cipher authors. I`m trying to add 76 and 7d, and my result is f3.
Could someone explain this?
8F 20 3E 06 5F C3 54 45 B5 FE B9 AC A7 A0 C6 76 +
86 2F 1F 65 3B 77 5B A1 D0 5C BC 2F 38 E2 D8 7D =
16 50 5E 6B 9B 3A B1 E6 86 ... |
When I study symmetric encryption, it is quite straightforward to understand the following: in the presence of eavesdropper, simply using a PRG $G(k)$ and XORing multiple messages won't provide indistinguishability in the similar fashion as for a single message.
But what happens for multiple distinct messages? Will a ... |
recently I heard the term "transcipher" during a discussion (seems something related to double encryption using two different keys), but I was not able to find any information about such a term in the internet. Is it an actual cryptography term? if so, what does it mean?
|
Just for the sake of learning, I'm attempting to write an ECDSA implementation in Java.
I have what I believe is a correct implementation for point addition and doubling, but I'm not sure how to implement point multiplication - Every online description I've found says to use an algorithm like this:
public static Point ... |
It is sometimes required while proving the security of a protocol in the malicious setting that the simulator is able to extract the witness set of the adversary, who tends to be the prover of possessing some knowledge, in the ZKP step of the protocol.
I was having issues understanding how the simulator would be able ... |
Consider a simple, 1-round Feistel network.
Because the ciphertext is essentially $(L_1,R_1)$, if one knows the plaintext $(L_0,R_0)$, the only unknown left is $K$.
However round functions in Feistel networks are not necessarily invertible. For example, one could in principle use a cryptographic hash as a round functio... |
I have learned new crypto words, so I rewrote the question:
I have quite random 32-byte hash which I want to use as a seed for generation of 10 pseudo-random positive numbers up to some maximum number, the generation must be reproducible. I would prefer, if those 10 numbers would differ from each other.
There is an exa... |
This is a ciphertext :
§ƒÜì ©©”Ѫÿƒ_G¢4Ø{i§çÞ“./
when I put this ciphertext here in this site :
http://www.charactercountonline.com/
some others 4 weird characters were shown : one character after the / and two characters between the ì and the © and one character between ¢ and 4
what are those characters ?
do they belo... |
What is the main difference between CFB and CFB8 modes in 3DES? Is it only a change in block size from standard 8 byte to 1 byte when doing 3des and XOR? I cant find any pseudocode for this CFB8 mode? any pointers?
|
OSPF features the use of Auth Crypto Sequence Number however, from reading the RFC it would appear the sequence number is not being used as a nonce.
In addition, a non-decreasing sequence number is included in
each OSPF protocol packet to protect against replay attacks.
This provides long term protection; however, it ... |
I have two numbers $x_1$ and $x_2$, and there are two Paillier homomorphic encryption (public, private) key pairs $(p_1,r_1)$ and $(p_2, r_2)$. I only know $p_1, r_1$ and $p_2$. Suppose $C_1=E_{p_1}(x_1)$ and $C_2=E_{p_2}(x_2)$, here $E$ means Paillier homomorphic encryption.
How can I prove $x_1$ equals $x_2$ when I o... |
I have 32-byte Keccak hashes and I have some maximum number, for example 500, how to uniformly convert those hashes to pseudo-random positive numbers up to that maximum?
I mean I have for example 100 quite random hashes and I want to distribute them so the result would be something like 80 numbers hit once, 19 twice a... |
The order of the base point, $l$, is 2^252 + 27742317777372353535851937790883648493
However, the base point group is nested within other large groups, the largest of which is of size $8l$.
There are also nested small subgroups, the largest of which is a small subgroup of size $8$.
Is it therefore correct to say that th... |
I do not understand the format used in Shoup's "Using Hash Functions as a Hedge against Chosen Ciphertext Attack (page 8 of the PDF) for universal one way hash functions (UOWH). What are $k$, $u_1$ and $u_2$ in $\operatorname{UOWH}(k; u_1, u_2)$?
|
Regarding this article about a signature recovery
However, with the signature and the message that was signed, and the knowledge of the curve, it is possible to generate two public keys
So we can derive 2 public keys for each signature and message
I try work with python library https://github.com/ludbb/secp256k1-py.
... |
Let $G=\langle g \rangle$ be a cyclic group of prime order $Q$. Let $H_1:\{0,1\}^*\to G$ be a hash function. Is the following a family of PRF for $s \in \mathbb{Z}_Q^*$?
$$f_s(x)=(H_1(x))^s$$
Or equivalently, let $H_2:\{0,1\}^*\to \mathbb{Z}^*_Q$ be a hash function,
$$f_s(x)=(g^{H_2(x)})^s$$
Intuitively it is in ROM, b... |
I have been reading this paper by Abdalla, et al. But there's something I don't get about the security proof (Theorem 3.2) for the basic IP scheme from DDH--how are they simulating the mpk's using $g^a$?
I understand that for each basis vector they are sampling secret keys, and for $x_1 - x_0$ they are implicitly sett... |
An anonymous key exchange protocol $P$ is pair of probabilistic machines $(A,B)$ that sends messages to each other and at the end, both $A$ and $B$ will share the same key $k$.
The attacker can see the protocol transcript $T_P$ of $P$, that is, the sequence of messages exchanged between the parties in one execution of ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.