All Questions

0
votes
0answers
5 views

Golomb criteria for maximum length sequences

According to the Golomb criteria for maximum length sequences the number of runs of length 1 should be 1/2 of all the runs r, the number of length 2 runs should be 1/4 of all runs etc... What if r is ...
0
votes
0answers
11 views

Big-O Notation for Menezes-Vanstone Elliptic Curve Cryptography?

I need someone help me about . how can compute time complexity for this algorithm (Menezes-Vanstone Elliptic Curve Cryptography). I have spent much time reading journals and papers but as yet have ...
0
votes
1answer
39 views

RSA Decryption given n, e, and phi(n)

my cryptography professor gave us this problem for extra credit a while back and I attempted it but I didn't get it correct. I have gone back to it, but I'm even more lost now than I was the first ...
1
vote
1answer
41 views

AES— Brute force attack versus Known plain text attack

I am taking a codes and cryptology course and the following is a questions on a past exam that I could not and still can't solve: ...
0
votes
0answers
29 views

Why is it hard to calculate Logarithm on Diffie Hellman?

i read something about Diffie Hellman. What i don't understand: Alice selects a randomly generated Number, calculates X = g^x mod p and sends X to Bob. If she calculates g^x, she needs to calcluate ...
0
votes
0answers
21 views

Can The Following Be Considered A Valid Searchable Encryption Scheme?

I'm currently doing some research into Searchable Symmetric Encryption (SSE) for my masters degree and I've read most of the original literature on the topic. For the software artifact part of my ...
0
votes
0answers
24 views

How to add our created session encryption algorithm to (major) browser using OpenSSL

I want to add my encryption algorithm called FooSymmetricAlgorithm for encrypting data using SSL protocol. It will be added to OpenSSL. I will use RSA for handshake ...
0
votes
1answer
20 views

RSA signature scheme

In RSA signature scheme, it is a common practice to 'sign' the hash value of the message so that the length can be fit. Question: If we have $s=m^d \bmod n$ where $d$ satisfies $ed \equiv 1 ...
1
vote
1answer
35 views

Are there any digital signature algorithms in common use that result in 32-byte signatures?

I don't consider myself to be an expert in this field, so forgive me if there is an obvious answer. I am having a tough time finding an algorithm that can sign data and output a 32-byte signature, ...
0
votes
0answers
25 views

Low exponent attack against RSA

According to this: http://www.cims.nyu.edu/~regev/teaching/lattices_fall_2004/ln/rsa.pdf One can calculate the message m, if there was no padding scheme involved. My question: is it possible to find ...
0
votes
1answer
24 views

Symmetric vs non-symmetric pairing based crypto

I am trying to find a comparison of how different pairing-friendly elliptic curves perform (in terms of security) in real world applications; I am using PBC library, and it has type A curves and type ...
0
votes
1answer
41 views

Why develop new stream ciphers when block ciphers can be trivally made into streams?

I've just been reading about a new drop-in replacement for the RC4 stream cipher, but why develop new stream ciphers when AES can be made into a stream with a little XORing?
0
votes
0answers
13 views

Help in uderstanding NIZKPoK notation (and how to code it) needed

Hello fellow cryptographers I have a rather silly question for you; I am aware of how Schnorrs NIZKPoK / SoK works when someone must prove knowledge about DL: y = g^x; (and how to code it) RFC ...
1
vote
1answer
18 views

Is equal length of primes in Paillier cryptosystem is mandate for security reasons?

In continuation to this question about length of primes , I am in doubt about the restriction on length of primes itself . In Paillier cryptosystem , equal length of primes are used . My doubt is ...
1
vote
0answers
33 views

DLOG in $\mathbb{F}_{p^n}^*$?

Assume that we are given an element $g\in \mathbb{F}_{p^n}^*$ and $g$ does not belong to any of the smaller subfields contained in $\mathbb{F}_{p^n}$. If the degree of $g$ is some number $q$, how much ...
0
votes
0answers
35 views

Serpent 256bit Non bit sliced version (Table Sbox/IP/FP/LT/ILT)

Good afternoon! I got some mismatches while counting Round Keys at non bitsliced version of Serpent. I have used official AES submission outputs (file ecb_iv.txt). AES submission package test vector: ...
0
votes
0answers
38 views

Public key encryption without ciphertext expansion

Say I have a database column that is defined as VARCHAR(255) that stores names. I can assume that names can be up to 255 chars. I need a public key encryption so that I can replace names with their ...
0
votes
0answers
28 views

Password generation/storage scheme

How bad is the following strategy for a password manager on a local machine? The user wants to sign up for somesite.com where he needs a password. The user has previously generated a secret key ...
0
votes
1answer
21 views

Direct sum of Binary numbers In Mixcolumns

I have just started learning cryptography and I am trying to make sense of the direct sum on some binary numbers. I am trying to find a column of a state space after a Mixcolumns operation has been ...
1
vote
2answers
56 views

Encrypting twice with same key gives back plain text

I read in the answer here that when encrypting twice the plain text with same key could result in plain text as shown below $encrypt_{key}((encrypt_{key}(plain)) = plain $ Which block-cipher ...
1
vote
0answers
53 views

What are SNARKs?

What does it mean and what is it used for, I have been hearing this term a lot lately. From the context I've heard it talked about it seems to be connected with zero knowledge?
1
vote
1answer
55 views

How can a good pseudo-random number genarator be made?

I am trying to make a pseudo-random number genarator so that I can use it in a synchronous stream cipher for encrypting plain text. I want it to genarate numbers which are as random as possible. Can ...
2
votes
1answer
82 views

What are these twist attacks with cost $2^{58.4}$ on NIST P-224 curve, and when do they apply?

This page on Twist security mentions a combined attack and a twist rho attack, applicable in particular to NIST P-224 curve with cost $2^{58.4}$ something, with no mention precise definition of ...
4
votes
1answer
67 views

Understanding Twist Security with respect to short Weierstrass curves

I'm trying to understand the "Invalid-curve attacks against ladders" section of SafeCurves Twist Security page and I have difficulties to apply it to short Weierstrass curves. That section claims ...
0
votes
0answers
22 views

Elliptic Curves Readdition

I found the term re-addition in https://www.hyperelliptic.org/EFD/g1p/auto-shortw-projective.html and I cannot figure out what it is. It has actually same complexity of addition and I dont see the ...
1
vote
1answer
69 views

Why does openssl use SHA1 in ECC when I use secp384r1 curve

I need a small clarification that why openssl using SHA1 in ECC when I am using secp384r1 curve, but in rfc they are saying we should use SHA2. Thing here is am using nanoECC in my DTLS, nanoECC ...
0
votes
2answers
100 views

Encryption algorithm designed to be easy to decrypt by machine but impractical to decrypt by hand

I am looking for - or considering the design of a new - encryption algorithm that does not use variable keys, such that it is easy for a computer to encrypt and decrypt any message regardless of its ...
1
vote
0answers
40 views

About the Algebraic Normal Form (ANF) of S-Box in DES

I've thought up a way to represent the transformation of S-Box in DES by ANF. Let $x_i\;(1\le i\le 6)$ be the input of one S-Box, $y_i\;(1\le i\le 4)$ be the output, for example, then $$y_1= 1\oplus ...
1
vote
1answer
30 views

A simple attack on DESX in time $2^{120}$

Let $\mathcal{M}$ be our message space and $\mathcal{K}$ our key space. Now, let $\mathrm{E} : \mathcal{K} \times \mathcal{M} \to \mathcal{M}$ be a block cipher. Define the block cipher ...
3
votes
1answer
54 views

Why does NTRUEncrypt lack a formal security proof?

Is there any particular reason why NTRUEncrypt lacks a formal security proof? That is, a demonstration that it achieves certain security notion (e.g. IND-CPA). I know there is a provable-secure ...
0
votes
2answers
56 views

public key certificate on TLS/SSL

Currently I am working on a public key certificate. I got a question: Why is a public key certificate needed for TLS/SSL? Wouldn't TLS/SSL itself is enough? What is the role of the certificate?
0
votes
1answer
46 views

rsa public and private keys

I have a question about RSA key generation: this is a simple rsa algorithm: Choose p = 3 and q = 11 Compute n = p * q = 3 * 11 = 33 Compute ?(n) = (p - 1) * (q - 1) = 2 * 10 = 20 Choose e such that 1 ...
-1
votes
0answers
65 views

Why cbc-mac is a secure mac with psudo-random but not random IV?

Is cbc-mac a secure mac with pseudo-random function? If it is yes, Anyone can prove that? Also, is it based on the length of key? BUT why is not secure with a random IV?
0
votes
0answers
48 views

What can we say about x, y if B is prime, semiprime or even number? [on hold]

I have found method for integer factorization, where we are trying to find x,y. Let us emphasize two cases: a) Let $N=ab$, $b<a$ and $N\equiv 3(\textrm{mod }4)$ if we take $B=\frac{N+1}{4}$ ...
1
vote
2answers
89 views

RSA prove $a^{\varphi(n)/g} \equiv 1 \pmod{n}$

I should prove that $a^{\varphi(n)/g} \equiv 1 \pmod{n}$, so I thought I would prove it with primitive roots but I got stuck. Here is the assignment: Let $p, q$ be primes such that $p \ne q$. ...
0
votes
1answer
58 views

RSA CRT modulo reduction

I am working on RSA CRT and there is a point that I don't understand : So we have $n=pq$ and $c = m^e \bmod n$ an encrypted message. To decrypt $c$ with RSA CRT, we have to compute : $d_p = d \bmod ...
1
vote
1answer
59 views

Are there any many to one encryption frameworks available?

I am reasonably new to the cryptography. For my use-case I need a method where in I would need a receiver to accept encrypted messages from a range of senders (each having their own, say, public key). ...
2
votes
1answer
106 views

The Boneh-DeMillo-Lipton fault attack (RSA CRT)

I am trying to understand the Boneh-DeMillo-Lipton fault attack on RSA CRT signature. Suppose that we sign a message $m$ with RSA-CRT : $d_p = d \bmod (p-1)$ and $d_q = d \bmod (q-1)$ $s_p = ...
2
votes
2answers
110 views

What is a q-type assumption?

I've seen the term "$q$-type assumption" used in a few papers without a definition. A google search doesn't seem to come up with anything useful either (except the same papers without a definition). ...
0
votes
1answer
54 views

Client-server communication

The base scenario goes as follows: A program stores some user's confidential data encrypted on their disk. The user is most probably clueless and the disk might get stolen, but these are the classical ...
0
votes
0answers
119 views

Cryptographic Dilemma [on hold]

I'm reading an article where they are talking about 'the Cryptographic Dilemma. Is there one universal dilemma in cryptography? I can think of a few, like computation time vs. crackability. The ...
-1
votes
0answers
50 views

What is a vanishing trapdoor?

Explain like I'm five. The term is mentioned here: http://bristolcrypto.blogspot.se/2014/10/this-weeks-study-group-was-given-by.html
0
votes
0answers
34 views

Isn't Groth-Sahai proof system applicable beyond Bilinear groups?

Classical paper by Groth-Sahai on NIZK proof system is titled as "Efficient Non-interactive Proof Systems for Bilinear Groups". To my understanding, only (Pairing Product Equation) PPE are defined ...
0
votes
1answer
52 views

Frequency analysis of Vigenere Cipher

For Vigenere cipher, I understand Find period first (say we have p = 6) Find highest frequency of letter in each group (from 1 to 6) and assume it is "e" in plaintext What if we have more than ...
-1
votes
0answers
15 views

Decrypting monoalphabetic substitution key which does not appear in ciphertext

There is a text which has been encrypted using monoalphabetic substitution. I have managed to decrypt the text and found the mapping between plaintext and ciphertext. The problem is finding the ...
1
vote
1answer
43 views

Monoalphabetic cipher key

I'm new to cryptography and have just completed homework on Monoalphabetic cipher. I managed to decrypt the cipher text successfully but I cannot identify the key from my plaintext to ciphertext ...
1
vote
0answers
61 views
+50

A Doubt with the twisted-PRF

Recently I'm reading the paper 2-Pass Key Exchange Protocols from CPA-Secure KEM in CT-RSA 2014. I'm not quite understand the part of section4.2--Original Twisted PRF Trick. In the final of the ...
-1
votes
1answer
41 views

Cipher Alphabet [on hold]

Present the first 50 characters of the plaintext of the ciphertext below. NPKLMBAMMAKLNFKCSDABAUADMRMADBAMMAKVFKGSDGVRPEREFBBAEMPUABX PDEBQGASBBMVFLPWBAMMAKLFNMRASBIRSTAMMRAEFBQCDLPDIFKMSLGPSOK ...
-2
votes
1answer
46 views

General strategy for proving security of a scheme [on hold]

I see in many crypto papers, they prove the security of a scheme by defining an adversary that can break the scheme, and then reaching some sort of contradiction that a baseline protocol is also ...
1
vote
0answers
26 views

Infer encoding mechanism from $n$-grams distance?

I have a series of obfuscated strings which across the set of strings have regions of high variance and regions of low variance – implying some encoding mechanism as opposed to an encryption procedure ...

15 30 50 per page