instruction stringlengths 32 27.2k |
|---|
To use the OTP with RSA, I implemented the one-time pad first for only one time, and then I used the RSA algorithm to encrypt the message.
For the RSA algorithm, I pick $p$ = 2143 and $q$ = 3257, values which do not share any common factors and generate a random value between 1 and $(p-1)(q-1)$. Then generate a public ... |
I'm currently reading the work "Obfuscation of probabilistic circuits and Applications' by Canetti Lin Tessaro and Vaikuntanathan 2015. It says sub exponentially hard OWF implies
sub exponentially hard PRF ( puncturable PRF) and later again proves that sub exponentially hard PRF ( puncturable PRF) + sub exponentially ... |
I'm implementing classical Schnorr signatures for real-world use. By "classical," I mean that the operations occur in a finite group, with no elliptic curves.
I'm following Schnorr signature and Schnorr group at Wikipedia, and some academic papers.
After choosing $p=qr+1$ with $p$ and $q$ prime I need to calculate a su... |
I found some App in the Google Store, and there were features only for the PRO version: Threefish 1024-bit and SHACAL-2 512-bit. Meantime, AES-256 was available in the free version of app.
So I concluded that the Threefish 1024-bit and SHACAL-2 512-bit algorithms are stronger, and I did a little research and discover... |
I just want to note before you continue reading--this does not specifically apply to hashes or the key to encrypted messages. However, I am initially thinking about password/key solving/remembering by humans.
Today, the longer and more "complex" your passwords are, the more secure the password itself is, and the more s... |
I am new here and new to encrypting and securing passwords, so please forgive me if this question is not posted to the right location or if my question is bad.
I have been working on a web app in Java that requires a username and a password. Through my research, I discovered that I need to salt and hash my password in ... |
The equation of an Edwards curve is $x^2 + y^2 = 1 + d x^2 y^2 \,$
The addition formula is $(x_1,y_1) + (x_2,y_2) = \left( \frac{x_1 y_2 + x_2 y_1}{1 + dx_1 x_2 y_1 y_2}, \frac{y_1 y_2 - x_1 x_2}{1 - dx_1 x_2 y_1 y_2} \right) \,$
Why can't you divide by zero when you have a non-square d?
What is the intuitive explanati... |
Let $ G:\{0,1\}^*\rightarrow\{0,1\}^*$ be a length doubling PRG, and let $ \Pi=(Gen,Mac,Vrfy)$ be the following MAC scheme:
$ Gen $ on input $ 1^n$ uniformly samples and outputs $ k\leftarrow \{0,1\}^n $.
$ Mac $ on input $k\in\{0,1\}^n$ and message $m\in \{0,1\}^n$ outputs
$ t=G(k||m) $.
$ Vrfy $ on input $k\in\{0,... |
Suppose the decryption program is already built. Now I want to encrypt an arbitrary plain text given the IV and the decryption program (no key). From the formulas, we have $$Dec(C_i)\oplus C_{i-1}=P_i$$ $$Dec(C_1)\oplus IV=P_1$$. However, given these information, I can only figure out $Dec(C_1)$. I have read this quest... |
There is a system in which Alice and Bob need to establish a secure communication channel. Their conversation happens via a "public" server whose only purpose is to rely messages between users. This server must never be able to decrypt communications.
With the protocol that Alice and Boo will use, the first time they w... |
There are some protocols that require the user to generate some random key locally (client-side) with no server authority to "approve" or "reject" their key and are based on the assumption that it's extremely unlikely that two user will come up with the same key.
Bitcoin is one of these.
What's the probability for two ... |
Sorry for my silly question, but I have some doubts on this point. I'm trying to explain it better with an example.
Suppose you use RSA to sign a package and you have the public key. If the signature is generated by the server with its secret key you are able to decipher it because you have the public key and verify th... |
It's widely accepted that both block ciphers and hash functions are great cryptographic primitives to build a CSPRNG.
I'm thinking of creating a protocol where, provided that there is a source of random to generate a root secret (which will become a key if used with a cipher or a seed if used with a hash function), thi... |
Since a 2048-bit RSA key or a DH shared secret obtainet using a 2048-bit prime only provides the equivalent of 112-bits of security in symmetric encryption, what's the advantage of using AES-256 with a key derived from this level of asymmetric cryptography?
Why many protocols such as SSL use it? Is there any advantage?... |
When a hash function is used to derive a key from a shared secret (either by simply hashing the shared secret or using a more robust construct like HKDF) what's the strength of the derived material?
If, for example, the shared secret is 256-bit, is the security of the derived result also 256-bit or is it $2^{n/2}$ (tha... |
For SHA3, if I were to hash large files (> 1GB), would that operation be CPU or I/O bound?
Suppose I were to exploit parallelism and either use multicore/SIMD execution or generate a hash tree, would that also be constrained by the same resource?
|
I have just found the sequence output by the Galois type LFSR, seen here.
Now I know there exists a Fibonacci-type LFSR capable of outputting this same sequence but how could I find what the first six states of this LFSR would be?
|
Consider the following hybrid encryption scheme (B3||4 is for concatenated IV and AES-CBC encrypted message):
-------------------------------------------------------------------
| Encrypted with RSA | HMAC | | |
| HMAC_KEY || AES_KEY | of | IV | AES-CBC Encrypted MSG |
| (... |
Assuming that you are given the public modulus $N$, the public exponent $e$, and the private number $d_P = d\mod (p-1)$, is it possible to recover $d$?
If not, is it possible to recover $m$, also given a $c$?
|
Given a random oracle and a deterministic signature scheme.
Is the following $hc(x)$ an hardcore predicate of $H(SIG_k(x))$ ?
$$hc(x)=lsb(H(SIG_k(x)))$$
How would I get to think about this? I saw a few academic papers that mention this strategy. I don't understand why that can be a valid hard-core predicate.
Thank you ... |
I have several clients that I communicate with from a central location. All connections are encrypted using static symmetric keys that are hard-coded in each client config file. I use a different key for each client because it is possible that someone gains access to the key of a client. In that case I want the attacke... |
I come across the following explanation of bootstrapping in this tutorial:
Once the “noise” in a ciphertext grows too large it is no longer able to be decrypted properly. Bootstrapping solves this problem. It does so by homomorphically decrypting the ciphertext, performing a single computation on it, and then recryp... |
I am writing a key generator program.
Indeed it generates a key in the form of a random text string (not binary), with its characters chosen randomly from a set of defined characters, with a specified length.
You can see an example of my program's config.ini file for clarification:
[general]
key_chars = abcdefghijklmno... |
For security personalization of a device within the production environment our customer requires the following:
The private / public key pair should be placed within the device and
within the Secure process environment.
To generate the private key, parts of the entropy are to be generated
by an external random num... |
PKCS#1 v2.1/RFC3437 defines the OAEP padding mode for encryption and the PSS for signature padding. Both schemes are based on the generic constructions not specifically tailored to RSA by Rogaway & Bellare.
One of the alterations done for RSA-OAEP is, that the actual padding is only done to a length of $n-1$ (where is ... |
I'm given an elliptic curve $y^2=x^3+ax+b \in \mathbb{Z}_p[x]$ (with numbers $a,b,p$ not greater than $10^6$).
I would like to find, using the naive approach, the number of affine points on the curve without the point at infinity .
My approach is to go through all $x\in\mathbb{Z}_p$ and check which of them have residu... |
Is php's bin2hex(random_bytes(8)) safe for an initialization vector when using openssl_encrypt()?
$cipherText = openssl_encrypt(
'Secret message.',
'AES-256-CBC',
'some key',
OPENSSL_RAW_DATA,
bin2hex(random_bytes(8))
);
|
After reading this question/answer I thought I'd try and implement the SHA-256 for my own education. My initial thought for converting the input into a number was to use a line of code like sum([ord(character) for character in input_string]), I quickly realized this is a terrible idea because I'm greatly reducing the e... |
Hi I am studying for an exam and having some problems solving one of the questions. It reads as follows: Factor $$N=44370047$$ using Quadratic Sieve by using the information that you get from squaring the following numbers modulo N.
$$33965, 2145407, 19416874, 15213395$$
I know how the algorithm works, i.e $$19416874... |
Let
$$d_p = d~\mathrm{mod}~(p−1)$$
and
$$d_q = d~\mathrm{mod}~(q−1).$$
Given $d_p$, $d_q$, $p$ and $q$, how can I reconstruct $d$?
|
I'm trying to solve a problem that was given to me. The issue I have is that I'm missing some parts to solve it.
I'm confronted with an Oracle that performs MAC on an input that can be of any length using the following function. I need to forge a message that must match the message the Oracle has computed.
$o_1 = E(k, ... |
I have just gone through Feldman-Micali, Dolev-Strong, KatzKoo (basically, most of the literature behind Byzantine agreement), however all of their protocols take a really incredible amount of rounds.
Just now, I read about PBFT from CastroLiskov and I realize that they are making a byzantine consensus that just happen... |
The initial Keccak submission used 18 rounds, which was bumped up to 24 rounds for the final version after distinguishers were found for a reduced 16 round variant. However, the Keccak team has recently released a spate of cryptographic primitives based on a twelve-round variant of Keccak.
I've seen scattered refere... |
I want to communicate with a friend (he lives in another country so we can't exchange fingerprints or keys physically, I could post him a USB disk but I'm sure I can do it through the web).
I'm pretty familiar with public key cryptography but this is the first time I've decided to use a symmetric approach. There are a... |
In the set of 2^n binary strings on n-bits, how many strings have exactly equal number of 0s and 1s.
|
I've heard about using a hash approach to create random numbers based on two independent entropy sources A, B:
$h_{i} = H(a_i+b_i)$
$H$ could be for instance SHA-1, or SHA-256.
My questions are:
1)
I read that hashing an input of s Bits to an output of n bits will reduce entropy because of truncation. The accepted answ... |
This was mentioned in a different question.
However Wikipedia states it is proven to be unsolvable.
So I would like to know what it is in this context and - since it is unsolvable - what the protocols trying to achieve it are actually doing.
|
I want to truncate an AES128-CMAC from 16 down to 8 bytes length.
Citing RFC, "[...] It is possible to truncate the MAC. The result of the truncation should be taken in most significant bits first order. [...]".
When using CryptoJS to generate such a CMAC over "Hello World" using the key "0xDEADBEEF CAFEBABE DEADBEEF C... |
I have been reading a paper where they construct probabilistic IO (indistinguishability obfuscation) from sub exponential IO. I want to know if the following two notions of sub-exponential security equivalent?
A scheme is sub-exponentially secure if a PPT adversary doesn't get more than 1/subexp(x) advantage.
A scheme... |
I am implementing support for TLS 1.2 for the IBM mainframe operating system z/VSE in Assembler language, but am having difficultly getting the PRF to work. I am validating with the values described in:
https://www.ietf.org/mail-archive/web/tls/current/msg03416.html
The first 32 bytes of my output are correct using thi... |
So I recently made a benchmark SHA-512 vs bcrypt with hashcat CUDA.
Here are the results :
bcrypt : bruteforce : ~ 400 H/s
Wordlist + dive.rule : ~ 550 H/s
sha512 : bruteforce : ~ 870 MH/s -> 870000000 H/s
Wordlist + dive.rule : ~ 640 MH/s ... |
NMAC uses an fpad value that is appended to the output of the Cascade function in the penultimate step of the algorithm (as depicted here, p.63) before it is sent to the last step of the NMAC algorithm to produce final tag.
I found that opad and ipad values used in HMAC are one-block constants (0x5c5c5c…5c5c and 0x3636... |
I wanted to use Rijndael for encrypting big array of bytes, as you know this algorithm will add up to 15 byte to result (if you use block with length equal to 16). It is acceptable in most cases but in this case I can not afford such a thing (result length should be same as given length). So I think about using this al... |
I know that people may be yelling "of course!" at the title of the question, but my concern is not about how to construct quantum-resistant primitives, but rather how to use the power of quantum computers to develop secure and efficient cryptographic primitives and protocols.
For example, in post-quantum Cryptography p... |
I'm currently building a web application and would like to encrypt all data on the back-end. I was thinking of using the AES-256 encryption but wasn't sure how safe it was. I did that math and felt safe.
I took this model to a professor at my college, who is a cyber security expert, and he seemed to have quite a differ... |
What's the difference between game-based and simulation-based security? When we use the simulation-based, how to construct the simulator based on the adversary?
|
If you knew the entire equation of an elliptic curve $$y^2 = x^3 + ax + b~( mod ~~m)$$ given $a, b$ and $m$ which are all more than 70 digits in length, as well as a point $P$ and the point $t P$, with different orders, would it be possible to calculate $t$? What would be the fastest way to do this?
(I'm aware that $tP... |
Is there a way to limit the output of AES-256 to only alphanumeric characters and maintain 256-bit key?
I'm looking encrypting some data and use the encrypted data in a system, and the reason behind using Alphanumeric characters is that the system might have issues processing special characters.
|
The original CPA game:
The adversary gives two arbitrary messages $m_0$ and $m_1$ to a challenger;
The challenger encrypts an arbitrary message $m_u$, $u∈\{0,1\}$ , and sends the ciphertext to the adversary;
The adversary outputs the guess $u$.
Now I give a revised version of the above CPA game:
The adversary give... |
I have been learning about block ciphers, modes of operations, and csprngs by myself for a few days and there are some things I'm unsure about.
Assuming we only talk about cryptographically secure block ciphers; can any block cipher in CTR mode be used as a CSPRNG? Or are there specifc characteristics a block cipher ... |
I am reading the [CLT13] paper regarding multilinear maps over the integers and I have some troubles in understanding what the following random generation means:
The vectors of the matrix $r_i \in \mathbb{Z}^n$ are randomly and independently chosen from the half-open parallelepiped spanned by some vectors $\pi_1,...,\... |
In What is the advantage of AEAD ciphers? Maarten Bodewes used the term 1.5 pass cipher in his answer.
What is the difference between a 1.5 pass cipher and a 2 pass cipher?
And why is Poly1305 a 1.5 pass cipher? Isn't the authentication tag in ChaCha20-Poly1305 calculated after the encryption in a separate step?
|
Please note, I am in no way questioning the future usefulness of quantum key distribution (QKD) in certain applications. I have no doubt it will prove useful for large banks, and in certain military research applications.
However, I cannot ever see it becoming common at the consumer level, or even enterprise level, eve... |
I recently stumbled apon a though, is there a way to make a website only available to the people that have a public key, just like SSH key authentication, the private key is stored the server, while the public key is stored on the client. When the client tries to connect, the server looks for the public key to see if i... |
Please consider the following question:
Determine the order of all the elements of the following multiplicative groups. You can write a C or Java program to do this.
a. $Z_{21}^*$
b. $Z_{23}^*$
Now note that $21$ is not a prime number and since the question refers to a
multiplicative group, I would expect that means ... |
The way I understand it, stream ciphers are pretty much one time pads off-sourced to a PRNG (the seed is the key that generates the fake one time pad).
So why not just use one or more CSPRNGs (concatenated seeds, xored pad streams)?
Wouldn't breaking such a stream cipher be equivalent to breaking every single CSPRNG us... |
A MAC is calculated the following way:
mac = sha1(secret || m)[0:8]
[0:8] denotes taking the first 8 characters from the resulting hash.
The length of the secret is unknown. Users (and potential attackers) can check the validity of a particular MAC and message pair online.
if(macInput == sha1(secret || m)[0:8]){
//... |
I know that some hashes, like MD5 or SHA-1, that were previously thought to be safe are now known to be vulnerable to collision attacks. But it is obvious that collisions exist for all hashes, given that the space of possible hashes is smaller than the space of possible contents. For example, if one considers all possi... |
I know that when I have a ECDSA keypair and use it twice with the same $k$ to sign different messages then the private key can be recovered.
If I now have multiple ECDSA keypairs and sign a message with each, and use the same $k$ in each signature, is this still secure?
Note: The signed messages may be identical.
I per... |
It appears that SHA-1 is broken in practice. The website detailing this attack shows an infographic of how two PDF files can have the same SHA-1 hash value. Also Google's. I've also read Mathew's answer regarding the implications of this, and his explanation example focuses on PDFs.
What is it with PDFs? Does the a... |
I've heard that textbook RSA is insecure when decryption exponent $d$ is smaller than $N^{1/4}$ where $N$ is the public modulus. Why is it the case and what would be a simple explanation of the attack ?
|
Here is the definition of universal hash function for $h \in H$ (family of universal hash function)
$$\forall x, y \in U x \neq y : Pr_{h \in H}[h(x) = h(y)] \leq \frac{1}{m}$$
Double hashing is the following
$$h_a , h_b \in H$$
$$h_i(x, m) = (h_a(x) + i \times h_b(x)) \mod m $$
Is there a proof that shows that double... |
New to the crypto world and I can't figure this basic thing out, embarrassingly.
Bitcoin uses secp256k1's elliptic curve y^2 = x^3 + 7 mod(p)
Let's pretend p is 9. Using this little website:
https://cdn.rawgit.com/andreacorbellini/ecc/920b29a/interactive/modk-add.html
You can plug in the parameters, e.g.: a = 1, b = 7... |
There are many design goals for an e-voting system. My question concerns a conflict between 2 particular goals:
A voter should be able to verify that their vote was correctly tallied
A voter should not be able to prove how they voted (to prevent vote selling)
I've looked into various e-voting systems and none of them... |
I am reading some notes and having trouble understanding the following example:
Let $F$ be a finite set of size $q$, where $q ≥ 2$. Let $n$ be an integer, where $n ≥ 2$.
For a subset $X ⊆ F^n$ of words over $F$ of length $n$, and for $k ∈ \{1, 2, . . . , n\}$,
we define $X(k)$ to be the set of $k$th components of words... |
I am reading Peikert's paper [Pei16] about secure instantiating of R-LWE problem. In section 3.1, The author gives a new attack framework by using "reduction modulo an ideal divisor $\mathfrak{q}$ of the modulus $qR$".
I'm a little new to Algebraic number theory and so I did not understand this framework especially th... |
Background:
We use the TweetNaCl crypto library by Bernstein (tweetnacl.cr.yp.to) et al and we would like to stick to it. However, we have the need to sign large messages and the library does not explicitely support signing something that does not fit in a buffer of bytes. However, the 25 functions of TweetNaCl includ... |
RSA System is generally slow (but why?)
|
('n', '0x8978ee9e52ad5dee313b1401bc04d04fa3f90ca7018fc256afc67fc200390cbbL')
('p', '0xd098978cde12b9e101b519d42ca54e7dL')
('q', '0xa8b69b77f593ca8a280dcd7d757d9597L')
('e', '0x10001')
('d', '0x17e6c54214a8dcdc7585ca8834aaf796a797496607aa7660153859d02ba399a5L')
('dp', '0x7978a2a8319a0e0c6d861ca865e74db1L')
('dq', '0x38f... |
I am interested in end to end encryption, recently I read some articles on its principles but I can't find anything on the maths behind the encrypting and decrypting functions that relates private and public keys. I remember to have read that they are related with prime numbers and elleptic functions but I haven't find... |
High-latency anonymous communication (e.g. Mixmaster and Mixminion) delay messages for a long time using mixers to anonymous communications. I understand that it has applications for email and p2p but not for good for responsive applications such as web browsing and instant messaging.
I've gone through the papers for t... |
I recently designed an encoding method that I'm fairly sure is unique. Is it universally secure, provided that anyone intercepting the message doesn't know anything about how it was encrypted? Could it be cracked given a large sample of ciphertexts? If so, how many? Additionally, how can I find out how secure it is? He... |
I found the term "overwhelming" when I study cryptography.
According to the definition, we call $f$ overwhelming if $1-f$ is negligible.
I already know the negligible function and its way to use but I don't understand why we consider the overwhelming function.
Can someone teach me how to use it and some examples?
|
For a paillier cryptosystem how can I perform a zero-knowledge proof?
Given a set of values:
0001
0010
0100
1000
This would be for use in a voting system where we want to ensure we where given a value from the set of acceptable ballots without knowing which if the values where selected.
I have found some information ... |
Given two MAC schemes $\prod_1 = (keyGen_1, S_1, V_1)$ and $\prod_2=(keyGen_2, S_2, V_2)$.
$\prod_3$ runs $keyGen$ from $\prod_1$ and $\prod_2$, respectively, to obtain $(k_1, k_2)$. $\prod_3$, where $S_3 = ((k_1,k_2), (m_1,m_2))$ then runs $S_1(k_1,m_1)\rightarrow t_1$ and $S_2(k_2,m_2)\rightarrow t_2$. And obtain $t... |
So my understanding is that if we've got some hash function $H$ then a 2nd pre-image attack is one where given a message-hash pair $(m, H(m))$ we can find some $m' \neq m : H(m') = H(m)$, while a collision attack is to find any old $m, m'$ such that $H(m) = H(m')$.
Everywhere I see people talking about collision attack... |
How would I go about this? I don't want to roll my own but I do really want to use SCRYPT as a KDF for several algorithms, some of which require an output length longer than the SHA-256 hash. Otherwise with encryption algorithms like AES-256 it's the perfect size already.
Do I just manipulate the keylength of the secon... |
(Layman's terms please, I'm just a kid stuck on a puzzle)
I'm trying to factor the following RSA256 public key to find the corresponding private key:
MDwwDQYJKoZIhvcNAQEBBQADKwAwKAIhAIl47p5SrV3uMTsUAbwE0E+j+QynAY/CVq/Gf8IAOQy7AgMBAAE=
I got as far as downloading a YAFU factorization program found here, which I was told... |
Most of the proofs that I have seen for cryptographic protocol include completeness and soundness.
Why do we always prove completeness and soundness?
Why do we not also see other propertes such as "validity", "consistency", "integrity"?
|
This might sound as a silly question but does the Sylow theorem III apply to (Z/pZ)*?
For Example for (Z/11Z)* we have the order of the group being 10 = 2 * 5.
I would expect to have only 1 Sylow 5-subgroup. Or am I wrong?
|
I am currently learning about the RC4 cipher and its improved version called Spritz.
The paper of Spritz says
We do not consider other stream-cipher proposals here, and expect that for many applications other word-oriented architectures may be a better choice than the byte-oriented RC4/Spritz style.
Now, what I don'... |
I'm writing a JavaScript library which needs to encrypt 256-bit private keys. The algorithm often used for that is AES, but the shortest implementation around has 172 lines of code.
I'm trying to optimize for code size, so I'm looking for shorter alternatives. I've done some research and believe this should work well e... |
A PRF can be used both to generate a key stream for use in a stream cipher, and to construct a MAC to authenticate. The two can then be combined e.g. in a generic encrypt-then-MAC construction to create an authenticated stream cipher, using the same PRF for both (with independent keys). Is this actually done in any rea... |
Inspired by Magic "Nothing Up My Sleeve" Numbers - Computerphile - YouTube [5:31]. If you just need a constant to begin your algorithm, and the value of that constant isn't important, why not have a widely known convention to always use the digits of Pi or Phi or other well known constant? It would seem that choosing a... |
What is the difference between implausibility vs impossibility in the context of Crypto? I came to know that differing input indistinguishability Obfuscation (diO) implausibile but not impossible. Can I know the difference between the two terminologies?
|
I am reading the paper Fully homomorphic encryption over the integers (PDF). The paper reduced the security to the approximated GCD problem. My first question is whether the scheme proposed by the paper is semantically secure?
In the paper, the plaintext set is {0,1} and the scheme is asymmetric. I am now thinking abou... |
I have an https implementation, using mbedtls. I have installed two certificate - one is a plain RSA 2048 bit certificate, and another is an ECC 256 bit certificate.
I can connect using all browsers - and a test of the implementation with ssllabs works. But chrome will send an alert 47 Illegal parameter message and dis... |
I have studied linear cryptanalysis for block ciphers, but i did not understand how it works on hash functions. Can you give me an explanation of this attack on hash functions?
|
I've been reading on RSA for a while but there's something I still can't understand. When generating the key: once you find n = pq and φ(n), you choose a number d coprime with φ(n) and then you need to find e the inverse of d mod φ(n).
Don't you need to do that to know φ(φ(n)) and then use Fermat Little Theorem? If so ... |
Bob sends a ciphertext obtained by Paillier encryption to Alice.
Alice has the private key. She decrypts the ciphertext and returns the plaintext to Bob.
How can Alice convince Bob that the plaintext is correct to this ciphertext? Bob only has the encrypted plaintext and the public key of this encryption.
|
Maybe a silly question but I am wondering what the correct way to specify a security level is:
128-bit security
128 bits of security
Something else entirely
|
This is a further question to the one reached here Homomorphic encryption and approximated GCD.
I am now thinking about a symmetric cipher in which the plaintext set is integers, illustrated as follows. For an integer $m_i$, the encryption is $c_i=pq_i+m_i$ and the decryption is $m_i=c_i\mod p$, where $p$ is the key an... |
I am just wondering what's the differences between boolean circuits and arithmetic circuits? I know the basic notions of circuits. My question is their applications in cryptography. For example, why we should consider them separately (e.g., why we should consider functional encryption for boolean circuits and functiona... |
Im trying to understand how TTH works, but have a question.
Let's take this example: ABCDEFGHIJKLMNOP
We have
A B C D
E F G H
I J K L
M N O P
Then we add each column mod 26 and add the result to the running total, mod 26, in this example, the running total is (24,2,6,10)
Round 2: Using the matrix from round 1, rota... |
The NORX8 paper says
It is assumed that adversaries are nonce-respecting.
What is a nonce-respecting adversary?
|
We've been trying to understand how Telegram's VoIP end-to-end encryption works.
Key Exchange
Detailed description of the key exchange algorithm is documented on the Telegram website.
Here is the crux of the algorithm, taken from the same page:
A->B: generates a and sends g_a_hash := $hash(g^a)$
B->A: stores g_a_hash,... |
I was reading Introduction to Modern Cryptography by Katz and Lindell and i found this:
Coming back to our discussion of pseudorandom functions, recall that a
pseudorandom function is a keyed function F such that $F_k$ (for $k\in2 \{0, 1\}^n$
chosen uniformly at random) is indistinguishable from $f$ (for $f\in$ $F... |
There are Chinese, French and NIST curves. There's a Million Dollar one. The BADA55 Research Team studied 1 million variants. Some are based on widely different formulae. Indeed there are entire suites of curves, and we're still actively developing more. It's all starting to look like a plate of spaghetti.
Why is t... |
There's a lot of discussion and answers regarding RSA's limits when it comes to the size of the plaintext, but I couldn't find anything similar when talking about ECC.
Is there a limit? If so, why and what is it?
|
I experiment with argon2 and build a web application. In browser, I use one threaded hashing with not too much memory. I want to protect my short length input data from parallel brute-force attack.
I understand, using large memory (1GB or greater) prevent parallelism, because of the cost. I would like to support mobile... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.