instruction stringlengths 32 27.2k |
|---|
I have a basic understanding of public-private and symmetric crypto, but I keep struggling with the concept of ABE. I know the difference between the two variants: Key-Policy: A key is linked to a specific access policy. A cipher text is linked to certain attributes. Ciphertext-Policy: A cipher text is linked to a spec... |
I was reading Ring LWE homomorphic encryption scheme referred in http://www.wisdom.weizmann.ac.il/~zvikab/localpapers/IdealHom.pdf
But this encryption scheme provides security mostly in the semi-honest model.
Consider a scenario of the protocol is in the semi-honest model. Say, Alice has little computation capability w... |
I have a script that helps me to make to make a Correlation Power Analysis (CPA) attack. I am trying to attack the first round. As input, I put:
my traces
my plaintexts
my key
The steps to make the attack are:
Reading the data, which consists of the analog waveform (trace) and input text sent to the encryption cor... |
I'm fairly new to cryptography and am trying to find out best practice for this situation. Let's say I have some code which is going to be used to pass around an encrypted e-mail address. I encrypt it and pass the encoded data out in a link:
// pass in "bill@microsoft.com"
public String encryptMessage(final String mess... |
Suppose that we have a pseudorandom function $F$. We compute a tag on message $m=m_1,m_2,...,m_l$ with $F_k(\langle 1\rangle\mathbin\Vert m_1) \oplus \dots\oplus F_k(\langle l\rangle\mathbin\Vert m_l)$, where uniform key $k \in \{0, 1\}^n$, $m_i \in \{0, 1\}^{n/2}$ and $\langle i\rangle$ denotes an
$n/2$-bit encoding o... |
Having read some papers about RSA accumulators applied to ring signatures schemes, I ended up thinking why would we need to accumulate all the members public keys for our specific use case.
So I came up with a scheme, but have the feeling that there is either an obvious flaw that I cannot see or it is (a variant of) so... |
In this paper (A simple provably secure key exchange by Ding et al.) At page number 8, the author gives correctness of the technique as follows
then SK A = SKB with overwhelming probability i.e. if Alice and Bob run the protocol honestly, then they will share an identical key.
The above equation uses Lemma 1 which i... |
I have generated a prime number with a 1024-bit size.
Now, when I create an RSA key - how many bits does the key have?
|
I'm studying the UC framework by Canetti. While I understand the basic idea, there are still a lot of details that I need to work through.
One thing that's puzzling me is how to achieve concurrency under the UC execution mode. For example, in many distributed algorithms, a machine may broadcast a message and then every... |
First, if my password is exactly 8 characters long, derived from a pool of 95 characters, then is the total amount of passwords I can create simply $95^8$ ... |
With reference to the image above, what is meant by
Choose $d_r$ other points of the polynomial $q_r$ to define it completely
|
Literature that includes the DBDH assumption such as this paper or this paper has a formal security proof that states:
Suppose an adversary with non-negligible advantage $\varepsilon = Adv$. A simulator is constructed that can distinguish a DBDH element from a random element with advantage $\frac{\varepsilon}{2}$.
Wh... |
With the RSA cryptosystem, you publish $n=pq$. Does RSA $-$ the company $-$ have/store the values of $p$ and $q$?
If not, how do they find $n$ without knowing $p$ and $q$.
Also, how do they find $(p-1)(q-1)$ without knowing $p$ and $q$?
In short, should I trust a private company with my encryption?
|
So I went through my /etc/shadow file in Linux and discovered that my passwords were stored in SHA-512-based crypt ('sha512crypt') mode, so SHA-512. But why? I mean SHA-512 is not even a secure password hashing function. Why not bcrypt or Argon2 or scrypt ....
And how much iteration does this hash even have?
PS: Does ... |
I am working on a bitcoin related project and I am trying to speedup the ecc calculation. I started with double-and-add and sliding window.
I would like to go move over to the jacobian coordinates. This is what I found out so far:
Point Doubling
if(Y == 0){
return POINT_AT_INFINITY
}
S = 4 * X *Y^2
M = 3 * X^2 + a ... |
I've read a few papers about how Yao's Garbled Circuit protocol can be made secure against malicious adversaries, but I haven't seen any mentioning how the sender safely retrieves the output of the function after the receiver computes it.
Suppose Alice is the sender, that is to say she garbles the circuit and sends it... |
Understanding end-to-end encryption, I ran into an issue which I wasn't able to find a solution for.
Given three parties: Alice, Bob, the chat endpoints, and the server party owned by Eve. The server party allows Alice and Bob to communicate.
Let's say Alice and Bob wanna start an encrypted chat session with each other... |
What are some simple algorithms that …
operate on a block of fixed size (or can be easily made to do so), i.e. the input block has a fixed size, e.g. 256 bit, and the output is a block of the same size
are reversible (can't be a hash function)
satisfy the strict avalanche criterion (SAC)
I'm not interested in any oth... |
I'm developing a local file encryption/decryption software (AES-256 CBC),
which I want to validate decryption was successful or not.
so I decided to add an additional MD5 hash of plain data to end of plain data and encrypt it together,
and when decryption, calculate the MD5 hash of decryption data(except last additiona... |
DTLS endpoints are required to re-transmit the entire flight of handshake messages in case there is a timeout. Before timeout event, the transmit epoch can change at record protocol. Which epoch is used for re-transmission of messages? The old one of the new one?
E.g., during initial handshake, client sends a flight co... |
Can someone please explain the below paragraph from section 7 in The XEdDSA and VXEdDSA Signature Schemes?
The below para states that we are hashing twice (I am not able to get that). How pre-hashing will help in this case.
Pre-hashing: Except for XEdDSA verification, the signing and
verification algorithms hash the... |
How many cycles are there in a CFB mode of operation?
Say for example I use AES encryption in CFB mode. How many times will this cycle before outputting the final ciphertext? In the picture below this is done in 3 cycles. Are there any rules on the amount of cycles before outputting the final ciphertext? I may be way ... |
It's my understanding that there's no longer a requisite of safe primes for $q$ and $p$ when choosing a RSA modulus. How is it that this does not change the hardness of factoring $N$?
|
I know there are standard ways to prove disjunctive statements about discrete logs, e.g. OR proof. But are there similar approaches for other class of language? For example, how can one go about proving either $G_1$ or $G_2$ has a Hamiltonian path (without leaking which one)?
|
I am trying to understand the calculations for the success probability of finding an unknown key using rainbow tables.
Basically, I have a target success probability, a known keyspace of size $N$ and want to derive the neccessary table building parameters: the number of chains $m$, and the length of each chain $t$, and... |
I know modulus $N$, public exponent $e$ and have some crypted messages $c_i$, $c_i = m_i^e mod N$. I know something about each $m_i$: they have a sequence of bytes BAADF00D at offset $t$.
Is there any kind of attack which helps me to recover any $m_i$ or even $p$ and $q$ used to make $N$?
I thought about an Oracle atta... |
I want to combine RSA and ECC. First of all, a particular file is encrypted with the RSA algorithm and then that encrypted data is again encrypted with ECC algorithm.
However, can I use RSA to encrypt and ECC to sign, or do I have it backwards?
|
Can someone please explain the below paragraphs from section 2.2 in The X3DH Key Agreement Protocol? Please try to explain the whole paragraphs.
1st paragraph:
I want to understand how the DH function is working? How is it calculating the shared secret key using public keys?
DH(PK1, PK2) represents a byte sequence wh... |
I permanently need to hash lots of data quickly, but the result only needs to be collision resistant.
Is there any negative side-effect of using multiple (say 2) algorithms providing a shorter digest (e.g. RIPE-MD-128 and Tiger128) versus using an algorithm providing a digest of the added length (e.g. SHA256).
I want t... |
Can someone please explain to me how the Cipher Feedback Mode works? From what I have read some examples have a shift register in its explanation but some examples don't. Is there two versions of CFB and what is the difference? What is and how does a shift register work?
The first picture shows the process without a sh... |
Can someone please explain the below paragraphs from The X3DH Key Agreement Protocol?
1st paragraph: What is deniability and how does it work here?
Deniability
X3DH doesn't give either Alice or Bob a publishable cryptographic
proof of the contents of their communication or the fact that they
communicated.
Like in ... |
I have some trouble in understanding the definition of Schnorr's Identification protocol. The is the definition that I received:
Prover and verifier agree on a cyclic group $G$ of prime order $q$ generated by $g$.
The prover sends $r=g^k$ for a random $k$
The verifier sends $e \in_R Z_q$
The prover sends $s=k+xe$
The ... |
In most papers and other documents I see people are considering an ECC key of 256 bits equivalent to an RSA key of 3072 bits, which is true on a classical computer. But the amount of qubits required to crack RSA keys are estimated to be 2•bits while ECC is roughly 6•bits, which would make 256 bit ECC weaker than 1024 b... |
Is that possible? Well, of course it is, but if you decrypt it, will it show the actual message in the final output? This isn't me actually doing this in practice, just if it is possible.
Lets say you encrypt this message: "faeces" with the caesar encryption by using key 22.
The output will be a bunch of random crap. T... |
I have got one theoretical question related to extensions of X509 Certificate. More precisely I have question about what is happening when issuer signs subject's certificate with has several extensions, especially I am interested in three extensions, certificate policies, issuer alternative names and basic constraints.... |
Let a, b be two statements. Given succinct (fixed size) zero-knowledge proofs z(a), z(b) that a, b are true, how easy is it to build z(a AND b)?
|
I've seen papers saying toy ciphers can be improved with powerful key scheduling, but was wondering if there is evidence they are needed in reasonable ciphers? for instance AES. Is there any cryptanalysis which shows a strong cipher becomes dramatically weaker with simpler or no key scheduling?
|
My Question(s)
I am wondering if I have a password (long enough) and I cypher it by itself (let's ignore the salt) in this way:
cy_hash(mypassword)=cypher(text=mypassword,key=mypassword)
Then, is cy_hash as secure as md5, sha1, sha512, etc?
Also:
Is there any theoretical comparison between these methods?
Has this... |
Let's assume we are using the textbook RSA where $Sig(x)=x^d$. Alice has public key $(e,N)$, and private key $(d,p,q)$.
Now, if Alice sends $Sig(5)$ and $Sig(10)$ to Bob, where $5$ and $10$ is just numbers, is there a way to combine them on Bob's side to get $Sig(15)$?
If this is not possible in RSA, is it possible in... |
In Lindner & Peikert paper, the authors propose that to set the cryptosystem's parameters, one should choose $q$ to be large enough to allow for a Gaussian parameter $s \geq 8$.
My question is, how this condition ($s \geq 8$) is obtained? I guess this lower-bound on $s$ relates to the smoothing parameter, but I can't f... |
I'm was reading this example for length extension attack given here
link
When working out, how the extended block length be divisible by 512 (SHA block size).
I'm assuming following:-
In SHA, the size of the blocks is 512 bit.
The last block must contain:the rest of data in message (mod 512).
some filling (padding)... |
Key Generation Method: Take $s \le n/2$ bits.
Generate two distinct random $n / 2$-bit prime numbers $p$ and $q$ with $\operatorname{gcd}(p-1, q-1)=2$ and
calculate $N= p*q$;
Generate two $s$-bits random numbers $d_p$ and $d_q$,
such that $\gcd(d_p, p-1)=1$, $\gcd(d_q, q-1)=1$
and $d_p= d_q \bmod p-1$.
Calculate one $... |
Paillier homomorphic encryption enables us to combine two messages such as
$D\left(E(m_1,r_1) \cdot E(m_2,r_2) \mod n^2\right) = m_1+m_2 \mod n$
My question is what are the specification of $m_1$ and $m_2$. Should they only be numbers (e.g., integers), or could they be textual information (e.g., "Hi")?
If it allows tex... |
I am looking for an algorithm/procedure that encrypts a text
where the alphanumeric data is encrypted into password-protected alphanumeric data.
I have seen other algorithms where a text like "Hello, How are you?" will be encrypted into something like this: JHo+8D337H/hLwg9n2n2n8+du783bsH9hdsSEWj93==
This is not what I... |
AE comparison summarizes features of nine AE ciphers and none of them combine features online, one pass, AD auth (see table below). Are out there such ciphers or such combination was proved to be unsecure?
|
I'm wondering whether it is possible to achieve the following scenario:
Say you have a set of names {Alice, Bob, Jake}. To verify that the name 'Bob' exists in the set, you can simply compare 'Bob' against each element of the set and discover that one of the entries in the set does indeed match the name 'Bob'.
I need a... |
When studying cyclic groups I stumbled upon the following sentence:
The ∗ in $Z_n^*$ stresses that we are only considering mulitplication and forgetting about addition on this site of stanford.
I don't really understand this definition, as I was learned that $Z_n^*$ just consists out of all elements of the elements of... |
I have large data set which has sensitive information. I want to encrypt different parts of it with different keys. There is also need for compression as data is very large (100s of GB that has to be distributed to users that have got permission).
I have been reading about format preserving encryption and would like t... |
I can encrypt the message using the RSA algorithm. But I do not know how to encrypt video.
|
I am confused about what parameters that I must encrypt on a WAV file.
If the file is text, it's only required to convert the character to ASCII code; if picture, just encrypt the pixel.
What is the corresponding parameter for audio files, especially WAV files?
|
I've been thinking about this for a few days, a SHA-256 algorithm outputs 64 characters which can either be a lowercase letter or a number from 0-9. Which should mean that there are 64^36 distinct SHA-256 results.
How has a collision never been found? If I decide to find the hash for a random input of increasing length... |
I need to derive symmetric keys between two communication endpoints on an embedded device with 800MHz ARM core. What algorithms are available to have this secure key derivation mechanism?
I know Diffie-Hellman is one of them, but I am unable to make the right choice while considering computational requirement vs secu... |
Assuming I have three parties in a system: Alice, Bob, and a Server. Alice and Bob needs to aggregate some messages $m1$ for Alice, and $m2$ for Bob. And send the aggregate $m1+m2$ to the Server.
I used Paillier homomorphic encryption as follows:
$D\left(E(m_1,r_1) \cdot E(m_2,r_2) \mod n^2\right) = m_1+m_2 \mod n$
As... |
Can someone explain the statement below from section 3.3 in The X3DH Key Agreement Protocol?
DH1 = DH(IKA, SPKB)
DH2 = DH(EKA, IKB)
DH3 = DH(EKA, SPKB)
DH4 = DH(EKA, OPKB)
SK = KDF(DH1 || DH2 || DH3 || DH4)
DH1 and DH2 provide mutual authentication, while DH3 and DH4 provide
forward secrecy
How do DH1 and DH2 prov... |
I am currently in the process of learning how AES actually works and that works great as of now but when it comes to the Rijndael's key schedule I have a question. From what I have read, I have to make a expanded key that is 240 bytes in size to supply enough subkeys to the whole process of a AES encryption using a 256... |
Firstly some predicates:-
Sufficient hardware generated one time pad key material.
No pad reuse.
Messages of 160 characters length (think Twitter).
28 characters only in use (A-Z, space and full stop alphabet. Think
Morse).
The very vast majority of messages based on English grammatical form.
The messages would be ty... |
Our company has decided to ditch server side sessions in favor of storing authenticated information such as user id and access privilege information in a cookie.
Before everyone jumps up and down about this approach, given that this is a business decision - how would I do this right? The basic need is to prevent user ... |
I captured some plain TCP packets (not HTTP) which are not using HTTPS.
I am wondering whether these packets are using AES 256 (or 128) or not.
Is there a way to do that?
Thanks
|
Looking into different papers and online documents, I find the following block sizes for SHA-3:
SHA3-224: 1152 Bit
SHA3-256: 1088 Bit
SHA3-384: 832 Bit
SHA3-512: 576 Bit
Somehow I am unable to find (calculate) these numbers from the specifications:
http://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.202.pdf
http://kecca... |
I’m trying to understand how a program checks for passwords and how fast it iterates through a loop.
I think I understand how to calculate the minimum required strength for my password.
Estimate that an adversary can guess one billion (10^9) combinations a second (Snowden)
Want to make the data safe forever. Let’s def... |
Assume a communication session between Alice and Bob (being client and server, in my case). Alice uses a secure random generator to generate both a key and an IV for use with AES in CBC mode.
Alice transmits both the key (and IV) over a "secure channel" (RSA is being used), together with a message that has been encryp... |
I am a novice cyber security student and thought of a way to generate a random cryptographic key.
The algorithm works as follows:
Get the size (in bytes) of every file in a directory (drills down into each folder to only get files)
Concatenate each byte sizes together, EX: A file length of 2 bytes and a file length o... |
I'm not a math professional and researching an algorithm to provide a good permutation, I found references for Butterfly, Benes and Cross permutations.
But all papers I found are in fact discussing some enhancements and/or CPU mnemonics to these algorithms. I saw a lot of images like this, for BENES:
Since I'm not fam... |
I'm new to the list, a layman in cryptography, but a competent programmer. Seeking your help for a practical algorithm that I can implement please.
Problem
Let a prover P hold an identity document D, e.g. a passport, that contains a date of birth field dob.
A verifier V wants to check that:
that I hold the document
t... |
Maybe someone has already heard about "Pico" by Frank Stajano. In short: It is a model for an alternative for using passwords for authentication and seems to be very interesting.
Regarding the paper, there is described the initial "Pairing" between the Pico and an application (thats the action when a user enters the ap... |
I'm studying the protocol FHMQV - C but I don't understand how two honest parties can reach the same value of $\sigma$. The paper that I'm studying is: https://eprint.iacr.org/2009/408.pdf. If you look, both values of $\sigma$ are made by different values. I can't understand how it's possible that $\sigma_b = \sigma_a$... |
I've got a homework question asking to explain challenge-response in reference to RSA encryption and signatures. There really doesnt seem to be much or any explanations online. can anyone help me out.
|
Assume $\Pi$ is a CPA secure scheme. Let $\Pi'$ be a derived scheme, such
that the encryption of a message $M$ is as follows:
$Enc_{\Pi'(k)}(M) = Enc_{\Pi(k)}(M) || LSB(k)$, where
$LSB(k)$ is the least significant bit of the randomly chosen key.
Can someone help me to finish my proof that the $\Pi'$ scheme is also CPA ... |
What is the chance for collision or resistance of a hash made out of 5 chars randomly picked from this sets a-z A-Z and 0-9 (62 chars total).
Also, what is total amount of combinations without collision that I can get, AFAIK :
$62^5 = 916.132.832$
Thank you.
|
I wonder if there is an AES mode which would verify data integrity after decryption operation.
Due to the reasons which does not matter here, there is a possibility that AES implementation I use may produce wrong results under certain conditions (particular data length, memory alignment etc). On the platform, two authe... |
This is more out of curiosity than anything, having no knowledge of cryptography.
But say I have strings "test1" and "test2", is there any way/algorithm to encode the two strings to an encoded string "string" such that when "string" is decoded with "key1", it returns "test1", and likewise for "key2" and "test2"?
Thanks... |
I've been reading this paper about ElGamal encryptions and its application in electronic voting:
http://www.win.tue.nl/~berry/papers/euro97.pdf
Section 2.3 talks about using Shamir secret sharing so that t-out-of-n authorities need to combine to decrypt an ElGamal ciphertext. This makes sense so that after multiplying ... |
In Witness Encryption and its Applications Garg et al describe "witness encryption" which allows one to encrypt some specified data to a NP problem, such that another party can decrypt iff they present some witness to the NP problem.
They give general construction using multilinear maps based on a reduction of NP from ... |
It seems like the Keccak permutation is reversible, which is not making the output of SHAKE forward-secure. In the sense that if one state is leaked, everything can be recovered.
I wanted to know the reason why the permutation was not one-way. Or rather why they do not use a one-way function in place of the permutation... |
I am trying to import RSA and AES-GCM keys in jwk format using Web Crypto API on Internet Explorer 11. Can anyone give me examples of how to do it?
The reason why I am asking is according to this msdn page, the keyData parameter must be an ArrayBufferView. However, if the format parameter is jwk, the function should ac... |
I have trouble understanding steps for Key set generation mentioned in an article titled as "An optimized encryption technique using an arbitrary matrix with probabilistic encryption". The steps are:
Consider the sequence for 0 to n-1 values for a source text of size n = pow (p, p) characters.
Convert each element of... |
I have a symmetric key which can be used to encrypt plaintext and decrypt the resulting ciphertext.
I use it to encrypt a plaintext which is a copy of the aforementioned key.
My adversary gets a copy of the resulting ciphertext.
Assuming my adversary knows that the plaintext is a copy of the key,
is there a way they ... |
I'm going to ask a question and answer it, then hope someone has a better answer.
You are Bob, you have been given a large key by Alice (think 40 gigabytes on DVDs) to take with you to use for communicating while in a foreign country but first you will have to pass through their customs. Customs is looking for data th... |
From Definition of CSPRNG, it has two characteristics
It satisfies the next-bit test.
It withstands 'state compromise extensions' - part of all of the state being compromised does not allow for reconstruction of the prior stream of random numbers.
The Design of CSPRNG can be based on
Cryptographic Primitives
Number ... |
From Definition of CSPRNG, it has two characteristics
It satisfies the next-bit test.
It withstands 'state compromise extensions' - part of all of the state being compromised does not allow for reconstruction of the prior stream of random numbers.
I am looking for PRNGs which fail the 2nd Characteristic. Infact they ... |
It is obvious that there are different hashes. I am looking for a reference on hash complexity as it relates to strength because I am considering making a "bad hash". I have read a few things on the impossibility of making an efficient hash based on a block cipher, and then I thought that there are cases for bad hash... |
From my understanding, a well-generated cryptographic key would be indistinguishable from randomly generated binary data. However, I also know that most cryptographic keys do not appear surrounded only by random noise in practice but rather by structured program data. Are there any demonstrable techniques from practica... |
Is there a way of getting the nth random number from a particular seed run in ISAAC? i.e. one day run a selection of 256 numbers and the next day run from the 256th number to get the next 256 random numbers? I presume no as I haven't been able to and I've tried everything I can think of but there may be a mathematica... |
I do not quite understand what the greatest advantages are of using the Montgomery ladder algorithm for scalar multiplication?
Can someone help me out?
|
CVE-2015-2730: Mozilla Network Security Services (NSS) before 3.19.1, as used in Mozilla Firefox before 39.0, Firefox ESR 31.x before 31.8 and 38.x before 38.1, and other products, does not properly perform Elliptical Curve Cryptography (ECC) multiplications, which makes it easier for remote attackers to spoof ECDSA s... |
In "An Introduction to Mathematical Cryptography"'s section on lattice reduction algorithms, the authors describe Gaussian lattice reduction and claim:
[...] the angle $\theta$ between $v_1$ and $v_2$ satisfies $\left| \cos \theta \right| \leq \frac{\lvert v_1 \rvert}{2\lvert v_2 \rvert}$, so in particular $ \frac{\pi... |
Suppose Bob wants to give Alice a large file, in such a way that:
Bob cannot keep the file, but is able to use it to precompute anything he needs before he gives it to Alice
Bob must be able to challenge Alice periodically, and Alice can only successfully answer the challenge if and only if she is in possession of the... |
I'm very (!) new to the world of cryptography, so pardon me if this question is very basic.
Related to hashing, something that hasn't become clear to me is the relation between data length and hash length.
If I understood correctly, any change in the data should also alter the hash, while still avoiding hash collisions... |
I am building a client-side app that will encrypt data, using password-based key generation, into the database. Can someone verify my calculations to figure out what is the right number of iterations I should use to dissuade a potential hacker?
We'll assume that the password is at least eight characters long with a mi... |
I am building an Android App where I will be storing some encrypted data in a database. To ensure that the user has entered the right password, I have encrypted my own secret phrase and stored it in the database. Thus, I try to decrypt that using the entered user password to see whether it matches the clear text form.
... |
I have been given an obviously encoded string, that looks similar to this:
F1WFBhcCFwkSS1GVMU1MGABFJaU1MCHRYNCBU0RQRBhFGUkBBSxAFBxEEHx8FS1lWBEHFBUTGAZR
U05BV0RMPDwcTFx0GQFVREhcJGx8XCRgTHQBG1UkBBSwAYHxsCGR8FS1lWVAYAEBgIGBAZRVU05B
VQkAAChBRX1RGOS1VMU1MWB1GxRASwg=
I also have a hint toward the passphrase, but nothing abo... |
Is it possible to achieve perfect secrecy, unbreakable, unguessable, uncrackable by using a totally secret cypher?
The following conditions must apply:
Using the secret cypher only 1 time, so that no correlation between outputs can be achieved
The cypher itself has to be selected from a big pool of possibilities and h... |
Would the Intel SHA extensions help in creating SHA1 collisions? AMD Ryzen and EPYC supports them.
|
What is the "MP3" of encryption formats today, which hopefully will make it easy and compatible to send to other recipients (not via e-mail), without them having to download and learn a software suite just to unlock what I sent them?
I work commercially and a part of it means sending people the end result files (usuall... |
$y^2 + xy = x^3 + ax^2 + b$ is the elliptic curve over $\mathbb F_{2^m}$.
In the elliptic curve standard, most of the curves use $a=1$ a lot.
Is there any mapping for this such that $y^2 + xy = x^3 + ax^2 + b$ is equal or similar to $y^2 + xy = x^3 + x^2 + b$?
|
I read the proof of modulus switching and realised that it can be extended to integers, but do we actually use it for integer encryption in practice?
Consider that we are doing additive and multiplicative operations modulo $t$. So, we'll have to find $p$ s.t. $p$ mod $t \equiv q$ mod $t$ and we'll have to round $c' = (... |
In a lecture I was told of a a possibility to modify Yao's Garbled Circuit Protocol so that both parties in the end get each a part of the output but not the other part.
This may be achieved by manipulating the Circuit.
Does anybody have some hints how this can be done?
Thanks in advance.
|
I have a photo with a resolution of $1024 \times 768$ which means $786432$ pixels in total. Let's suppose it's a 24-bit color RGB image (so 1 pixel = 3 bytes = 24 bits) and I want to hide information by only modifying the last bit of a color value. What is the maximum number of bytes that I can hide in this photo?
|
Given an SBox, how can I generate its component equations (in ANF)?
For example, let's say I have this SBox:
6, 4, 7, 8, 0, 5, 2, 10, 14, 3, 13, 1, 12, 15, 9, 11
Then, the equations are:
$y_0 = x_1 \oplus x_0x_1 \oplus x_0x_2 \oplus x_1x_2 \oplus x_0x_3 \oplus x_0x_2x_3 \oplus x_1x_2x_3$
$y_1 = 1 \oplus x_0 \oplus x... |
Let's say we want to sign message $M$ with RSA using a safe hash function.
However, instead of signing $\operatorname{hash}(M)$,
We split the message into 64-bit blocks (|| is concatenation):
$$M = {m_0}||{m_1}||{m_2}||{m_3}\,...$$
For each block we calculate:
$${h_i} = \operatorname{hash}({m_i}||i)$$
and then we calcu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.