instruction stringlengths 32 27.2k |
|---|
Suppose a set of $u_1, u_2, ..., u_N$ users each knows an associated secret $x_1, x_2, ..., x_N$ they do not wish to reveal. We have a public $f(x)$ such as the discrete logarithm $f(x)=g^x\,\mathrm{mod}\,p$, which produces a set of publicly available values $v = \lbrace f(x_1), f(x_2), ..., f(x_N) \rbrace$ used for v... |
I came across the following protocol for a "Zero-Knowledge Proof of a Discrete Logarithm" in Bruce Schneier's Applied Cryptography (second edition) book. I simply cannot prove to myself that this algorithm is correct, and have been unable to find an explanation of the protocol online anywhere, only finding the original... |
I recently saw a claim that BearSSL has a bignum-free implementation of RSA. What does this mean? I don't see how one could implement RSA without bignum arithmetic.
|
Paillier's scheme assume has message and ciphertext space equal to $\mathbb{Z}_N$ with $N=pq$, that is $N$ is the product of two different primes.
Is there a way to generalise this for $N$ that is the product of many ($>2$) different primes?
|
I want to encrypt 2 numbers using a public key and have the reader know the correlation between those 2 numbers. I can also share the public key. Example:
22 => 785F3EC7EB32F30B90CD0FCF3657D388B5FF4297F2F9716FF66E9B69C05DDD09
95 => AD48FF99415B2F007DC35B7EB553FD1EB35EBFA2F2F308ACD9488EEB86F71FA8
AD48FF99415B2F007DC35B... |
Is it possible to establish a shared secret between two devices if the devices have no prior knowledge and no secondary secure channel to exchange information?
Assume a Dolev–Yao model for the communication channel. After searching for an answer I came across this but they use a secure secondary channel to exchange in... |
Malformed PKCS8 Key
Algorithm Identifiers for Ed25519, Ed448, X25519 and X448 for use in the Internet X.509 Public Key Infrastructure § 10.3. Examples of Ed25519 Private Key states the following:
An example of the same Ed25519 private key encoded with an attribute
and the public key:
-----BEGIN PRIVATE KEY-----
MHICAQ... |
Just wondered: I currently have TrueCrypt on my system (I am aware that there are various doubts about its penetrability, and that it is no longer under development). TC "volumes" obviously consist of bytes.
It seems to me that decryption must always be reliant on being able to recognise that you've managed to reach t... |
If I have a probability which is > negl(n), i.e., non-negligible, will be this probability raised to the power of n also non-negligible?
|
How can I calculate the polynomial and state of a LFSR given 2n (or more) non-consecutive keystream bits? It is known to be n bit. If they were consecutive, I could use the Berlekamp–Massey algorithm.
Simple example: n is 7 and I know the keystream is
0...0...1...0...1...0...1...1...1...0...1...0...1...0
where the . i... |
In a web application, I need to send in a webpage form an id (my plain text) and then retrieve it back when the user submit the form.
But i need the id to be protected, so malicous users can't send an incorrect id to the server.
I was thinking to send the id and the cypher text to the client, and when i retrieve them s... |
I am basically trying to perform euclidean distance calculation in the encrypted domain (Paillier encryption). Using the homomorphic properties of Paillier, the squared euclidean distance formula can be written as (paper):
$\newcommand{\opn}{\operatorname}$
$$\underbrace{\opn{Enc}\left(\sum^d_{i=1}p_i^2\right)}_{\text{... |
I have the following code in C#
using System.Web.Security;
TripleDESCryptoServiceProvider tdes = new TripleDESCryptoServiceProvider();
tdes.Key = keyArray;
ICryptoTransform cTransform = tdes.CreateEncryptor();
byte[] resultArray =
cTransform.TransformFinalBlock(plainTextArray, 0,
toEncryptA... |
I'm looking for a scheme that a prover can commit to a value $d$, via a commitment $C$, while also provide ZK-proof that this value $d$, together with a public key $e$, are RSA pairs. (i.e private and public key respectively).
Thanks.
|
I have already read the following documents:
Specification of the 3GPP Confidentiality and Integrity Algorithms 128-EEA3 & 128-EIA3. Document 1: 128-EEA3 and 128-EIA3 Specification
Specification of the 3GPP Confidentiality and Integrity Algorithms 128-EEA3 & 128-EIA3. Document 2: ZUC Specification
Specification of the... |
We know a standard way (cf. RFC 6979) to derandomize ECDSA signatures, i.e., to generate ECDSA signature without an external source of randomness.
Is there any similar standard way, or academic-proof way, to derandomize RSA-OAEP encryption?
|
This seemed like an option if the hash is unpredictable.
It could be the hash of the message or the hash of the message + some common secret (apart from the key).
The only circumstance in which the hash would be predictable is when the message is the same. In that case, looking at the same nonce/hash wouldn't provide ... |
A One Time Pad (OTP) sounds perfectly secure if we are to believe Wikipedia. But on the surface it also sounds ridiculously impractical - how does one securely distribute the OTP?
Idea: why not have someone distribute it for you in plain sight of everyone?
Presuming I can keep the details secret (as I would with an enc... |
I have always found it weird when in a crypto discussion people stressed the importance of making algorithms runtime-deterministic, to the point of avoiding any compiler optimisations.
To me, it seems that it's from the start futile to try and completely avoid side-channel information leaking out. Even if an algorithm ... |
I'm working with cipher Kalyna.
Kalyna — like AES — has MDS tables in its MixColumns step. But Kalyna's documentation doesn't list these MDS tables.
Could you give me a hint where to find proper documentation or the particular MDS tables?
|
Im in my final year of PhD in computer vision and my supervisor has given me a task that I am not very familiar with. So I am teaching myself homomorphic encryption everyday. This question is mostly about clarifying my understandings as well.
He wants me to setup an encrypted dataset for an internal competition among h... |
I'm reading up on how post-quantum cryptography works, and stumbled upon the notion of discrete Gaussian sampling. However, I can't understand where it fits in the greater picture - currently it feels to me like a solution to a problem nobody put out.
Where exactly in a SVP problem (or any other commonly used lattice p... |
I was going through some lecture notes where it said that if we have a 2-party protocol that requires both the parties to generate random integers during the course of protocol, then if we migrate the protocol and tweak it to make it work in Malicious setting, then we need to ensure that both parties instantiate random... |
In the Tronix contract code (a large ICO listed on many exchanges) lies this modifier which is used for all token transfers :
modifier validAddress {
assert(0x0 != msg.sender);
_;
}
The code is written by serious professionals : not the kind of Ponzi scheme coder leaving useless code that cost money to everyon... |
Quoting The Transport Layer Security (TLS) Protocol Version 1.3:
ECDSA algorithms Indicates a signature algorithm using ECDSA
[ECDSA], the corresponding curve as defined in ANSI X9.62 [X962]
and FIPS 186-4 [DSS], and the corresponding hash algorithm as
defined in [SHS]. The signature is represented as a DER-encoded
... |
I want to factorize the modulus $n = pq$ knowing that $p$ and $q$ are not random, but constructed based on integer numbers $a$ and $b$ as following ($a$ and $b$ are not given):
$$p = a^2 + b^2, \qquad q = 2ab + 1$$
I'm looking for an efficient algorithm for factorizing such modulus.
For example:
p = 3905103830521375109... |
I have learned that SHA-1 and MD5 are one way hash functions, which means that it is not possible to obtain the original value by performing the reverse calculation.
There however some online websites that 'decrypt' the hash function to the original value. I tried decrypting in the Linux command line but it seems that ... |
I have gigabites of files, which I have to backup. I have some servers for storing this files. But these servers are untrusted. So I need to encrypt files, then backup files. When my PC breaks down, I will dowload files from unstrucsted servers and restore them.
So, basically, I think about AES-256. Is it OK for me, ... |
I read this post Difference between MAC and Authenticated Encryption? but I'm still confusing the difference.
Seems like MAC can guarantee both integrity and authenticity (tbh I dont know the difference of integrity and authenticity).
What is the difference of MAC and AE?
Is AE using MAC?
|
I guess this should be well known (or trivially desperate), but I couldn't find any reference.
I have a small number (say $k=15$) of messages $m_i$ ,$i=1\cdots k$ (they are fixed length and short, but I think this should be irrelevant).
I'd like to find some hash function such that $h(m_i)=h(m_j)$ (deliberate universal... |
I'm trying to create a strong key for encrypting some data using AES-256 for fun and practice. For my own practice, I want to make this as strong as possible, I don't care how long it takes to complete.
I got some advice from 1Password white paper and therefore I want to use 2 secret keys. The master password and a... |
I am studying my Cryptology exam and one question I got stuck below;
Recall the Diffie-Hellman key establishment protocol. Alice runs this protocol over
the Internet to communicate with Bob. Assume that the agreed key after running
the protocol is k = g^ab (mod p). Alice then computes SHA256(k) and uses this
as ... |
I have the following problem which i am trying to find a reasonable protocol to solve it.
This is a simplified version of the problem.
Alice has a set of values $\{a_1,a_2,...,a_n\}$.
Bob has a set of values $\{b_1,b_2,...,b_n\}$.
Alice wants to learn which values Bob has that are equal to her values but without Bob le... |
I have just started learning AES algorithm.
S-Box is using Galois Fields $\text{GF}(2^8)$ math behind its computation and Shiftrows & MixColumn steps also doing some math at both encryption and decryption levels.
Do these calculations ensure any security? What is the actual use of this math?
What is the use of these st... |
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*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.