# All Questions

20 views

### Large file validation on an embedded system through hash and encryption

As a preface, I have to say that I am a noob in this area. Having said that, I will ask the question. I have a situation where I need to validate and protect against tampering a handful of large ...
32 views

### DES-X , computation load and storage

The passage said that the computational load to attack DES-X can be reduced to approximately $2^{(56+64)}=2^{120}$ steps,and the storage of data sets should be $2^{64}$. But I can't figure why ...
28 views

### What can be learned from the ciphertext of LibSodium's crypto_box_detached()?

LibSodium, (https://github.com/jedisct1/libsodium), has a function crypto_box_detached() which does authenticated encryption using the public key of the recipient ...
25 views

### Does the size of a SSH ECDSA key determine the hash algorithm?

I am a bit lost in understanding what I read on authentication, signature, etc. Is the size of the ECDSA keys produced by ssh-keygen -t ecdsa -b 256 linked to the ...
44 views

### Is AES's parity key-dependent?

Is the parity of the permutation of the set $\{0,1\}^{128}$, defined by AES encryption for a certain fixed key, dependent on this key? DES, and any pure Feistel cipher, has even parity for any key. ...
21 views

### A simulation for the BB84 quantum key distribution protocol

I am looking for a Python/Java/C/C++ (any programming language, actually) simulation for the BB84 qkd protocol. I am very new to this field and I just want to better understand how it works and maybe ...
19 views

17 views

### Verify signed file using GPG by passing in signature hosted online rather than stored locally (i.e. in keyring)? [migrated]

Is it possible to pass the URL of a GnuPG signature when executing a verify query against a signed file? For example, instead of: gpg --verify file.txt Is there ...
74 views

### Protection of Elliptic Curve Implementations against side-channel attacks [on hold]

Recent fast elliptic curve implementations, for example a presentation at Eurocrypt 2014 (earlier presentation slides, the paper) talks about protection against only timing attacks. Why only timing ...
115 views

### Does a stream cipher require a KDF when it's key is variable length?

RC4 has a variable length key. Is it still necessary to use a key derivation function, such as PBKDF2, to initialize it? Would using a single character password weaken it's output when compared to a ...
49 views

### Security of chameleon hash functions

With the knowledge of the trapdoor, we are able to compute the same digest for differents messages. I've read that given two messages $m$, $m'$ and two numbers $r$, $r'$ such that ...
143 views

### ZIP 2.0 encryption bruteforce attack

I have an old sourcecode backup from my DOS days stored in a ZIP 2.0 encrypted archive, but I lost the password. The password was written on a paper slip, but I remember that it consisted of 30+ ...
60 views

### Can we run a probabilistic function on ciphertext with Functional Encryption (or Attribute Based Encryption)?

In the definition of functional encryption ($FE$): $FE.Setup(1^k)$ takes as input the security parameter $1^k$ and outputs a master public key $fmpk$ and a master secret key $fmsk$. \$FE.KeyGen(fmsk, ...
58 views

### problem with “one time pad” [closed]

I am a french student and I read the post on the forums (How does one attack a two-time pad (i.e. one time pad with key reuse)?). I need your help if possible. I 'm 11 encrypted messages , all ...
47 views

### Does the transposition cipher have a network application?

So I'm reading a chapter in my networking book and it talks about substitution and transposition ciphers (Transposition Cipher Wikipedia). I know that most network security uses public key or ...
45 views

### How do you perform frequency analysis to break Vigenere cipher programmatically?

I am trying to write a program to which when provided a ciphertext(maxlength - 200) and a key length(maxlength - 40), gives a plaintext as output from a possible set of plaintexts. By possible set of ...
65 views

### Decryption of .png and .jpg files [closed]

I'm trying to modify graphic assets of the software I'm using (for aesthetic puroposess, I guess it's hard to do something harmful with graphic assets) but developer encrypted them. I'm not sure why ...
62 views

### Why can't garbled circuits be reused?

There are a bunch of papers do research on resizable garbled circuits. But I wonder why garbled circuits cannot be reused? For example, the constructor constructs a garbled circuit of "AND" like ...
72 views

### Implementation of garbled circuits using RSA

I was just reading these notes on garbled (Yao) circuits and I just stuck trying to figure out how an implementation of Table 1 would work using RSA encryption. In RSA the public key is (n,e). So for ...
95 views

### What does “learnable with oracle queries” mean?

I came across the following quotes in reading papers on obfuscation (1, ibid, and 2): The next result follows from the fact that point functions are not exactly learnable (since a uniformly chosen ...
32 views

### MD5 update functions

In the hashlib module in python is a function called m.update() where m is a ...
26 views

### Arranging Vigenere Cipher into columns [migrated]

As I understand if you arrange a Vigenere cipher into columns you can use the Index Of Coincidence to find out the key length. I'm struggling to write an Algorithm that would take a piece of text and ...
60 views

### How can I break this cipher? [closed]

I am currently trying to break: +VZ7ZVcKPavGh4iGArNy and +VZyY1sBOazFh4COBrB2 I have a known plaintext that is: 378734493671000 which encrypts to: +VZyZlAHP6HAgoaPBrBz Is anyone able to explain how ...
52 views

### initiate the elliptic curve

when we consider a curve in a prime field for example Weierstrass form and want to initiate it in Miracl,we should give these inputs for initiate curve: ebrick_init(&binst,x,y,a,b,n,window,nb) ...
53 views

### Existential Unforgeability of signature scheme against Adaptive Chosen Message Attack

While reading a literature on signature schemes, I came across the concept of Existential Unforgeability of signature scheme against Adaptive Chosen Message Attack. Can anyone point me to the paper ...