Questions tagged [decryption]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-2
votes
0answers
21 views

Identify cipher and key used

I am trying to find a way to decrypt a file which is part of a firmware package. I have 2 differents version of this firmware : each version contain a file named ...
2
votes
2answers
56 views

Would creating a custom human language be stronger protection than encrypting a known human language?

There are some languages that people haven't been able to read (Cretan Hieroglyphics for example). Does that mean that you can better protect data by making your own language than by encrypting an ...
-1
votes
1answer
42 views

Vigènere Cipher: Question on Decoding

Even if a Vigènere Cipher is $600$ characters long, and we know the key has length $60$, why is it still hard to crack? I understand that there are $26^{60}$ possible keys, but other than this, why is ...
0
votes
2answers
33 views
-2
votes
0answers
20 views

complexity of ElGamal ECC and Menezes-Vanstone ECC? [closed]

How to compute the complexity of ElGamal ECC and Menezes-Vanstone ECC?
0
votes
0answers
34 views

I know my passphrase. I don't remember specifically how I entered it

First if this is the wrong place to post this please forgive me. I know my passphrase. I don't remember specifically how I entered it. ex. If the phrase is "The house at the end is blue and white. I ...
0
votes
0answers
24 views

How to recover deleted-recovered windows efs-encrypted files?

I'd some EFS-encrypted files on a HDD which were deleted unintentionally. I used a data recovery software to restore them, but afterward, windows does not recognize those recovered files as encrypted ...
1
vote
1answer
45 views

Proof that Niederreiter Cryptosystem is correct

I read about Niederreiter Cryptosystem. I understood the Key Generator, encryption and decryption of the cryptosystem, but if I want to prove that is a correct cryptosystem, what should I do?
0
votes
1answer
56 views

RSA: How to compute plaintexts knowing ciphertexts, public key and relation between plaintexts

I'm trying to solve an exercise where you have to compute two plaintexts $p_1$ and $p_2$, knowing the corresponding ciphertexts $c_1$ and $c_2$ and the public key, of which $e=3$, and $n$ is a large ...
-1
votes
0answers
26 views

Niederreiter cryptosystem sources

I want to study about Niederreiter cryptosystem and I want your opinion about sources, papers, etc. I found stuff on the Internet but I want to know if there is a good source that you may know. I want ...
3
votes
2answers
683 views

Is direct RSA encryption of AES keys secure?

I am wondering: If we take this scheme/procedure and each of it seems very secure (to me at least), is it truly secure or is there a vulnerability hidden in the process? This is the scheme: Bob has ...
0
votes
1answer
16 views

decrypting el gamal encrypted messages in regards to k being used

i am trying to understand the differences of using k in the following scenarios to better understand the protocol and most importantly the consequences of using such k. so i wonder, some user, call ...
1
vote
1answer
127 views

My RSA decryption doesnt match answer

Break the RSA code whose key is $(n, e) = (8369428283, 1234567)$. Find the deciphering key and then decipher the message under the assumption that the plaintext consists of 7-letter blocks in the ...
-2
votes
1answer
64 views

Get base 64 key having the decrypted and encrypted text [closed]

I am doing a pentesting-challenge where I have the text both encrypted and decrypted. By looking at the decrypted text I know that it is base64, and to pass the ...
2
votes
2answers
78 views

Construct another ciphertext that decrypts to same message without knowing key in Elgamal

I read about ElGamal from various resources and I was wondering if the following is true. Would appreciate if you could elaborate on it so I can understand better: Is it possible to construct, given ...
-2
votes
1answer
75 views

What is AES subkey? [closed]

I saw the AES algorithm that at the end of algorithm the buffer that stored in the beginning of algorithm the encrypt/decrypt key. now is store the last subkey. What is the last subkey? Why do I ...
0
votes
1answer
53 views

RSA: least significant bit position in key

How can I show that $C' = 2^e·C^* \bmod N$ when it is decrypted will add zero bits in the least significant bit position of the key? I am not sure if the cause is multiplying by a ciphertext which ...
1
vote
1answer
53 views

Encrypt data. Create 5 keys. Just 3 keys are needed for decryption

I would like to encrypt some data and create 5 keys. These keys are stored in different places. If I want to decrypt the data I just need 3 of these 5 keys. Is there a way to do this?
1
vote
0answers
61 views

How to decrypt a combination of transposition and substitution cipher text

I'm having problems decrypting a cipher text that has an transposition cipher applied to it but also a substitution cipher. I don't know in which order they were applied. Does anyone know what steps I ...
0
votes
0answers
24 views

How would you decrypt an affine cipher with only the ciphertext? [duplicate]

If I have only the ciphertext but the alphabet and the value of a and b are all unknown ... how would I go about this? I understand decryption with the key and alphabet, that is fairly easy but if we ...
0
votes
1answer
87 views

Need help cracking a vigenere cypher with period 2

how do you crack a long vigenere cipher when the key is unknown , I have tried a frequency analysis but I'm not making any progress
1
vote
0answers
50 views

Decryption of RSA with e that has no inverse

I'm studying the RSA protocol and I was wondering if there was any way of decrypting a message if the $e$ doesn't have an inverse $\mod (p-1)(q-1)$. Usually, you have to choose a value of $e$ that is ...
0
votes
1answer
78 views

RSA - Calculating $d$ given $\varphi (N)$ and $N$

From this discussion, I know that if I know $\varphi (N)$ and $N$ (where $N=pq$, $p$ and $q$ prime), then I can very easily get $p$ and $q$. Suppose I have the encrypted message $c$. I want to get ...
2
votes
0answers
70 views

Using Viterbi algorithm to decrypt Vernam cipher

I'm reading a book on cryptography and it mentions the Viterbi algorithm being used to decrypt Vernam cipher if the same key is used multiple times. According to the book the Viterbi algorithm takes ...
25
votes
2answers
5k views

How are side-channel attacks executed? What does an attacker need to execute a side channel attack?

I've been reading about side-channel attacks on Wikipedia, and it seems that some of these can only be executed on the victim's computer. (I am specifically asking about the side-channel attacks ...
1
vote
1answer
69 views

Secure encryption to store credit card data

I need an encryption algorithm that would be secure enough to store credit card data. So it should be reasonably secure. Here's what I've come up with. I'd appreciate any constructive criticism. Is ...
2
votes
0answers
109 views

Known Plain-text Attack [closed]

How can I find the known plain text P2 based on the given information? Assuming that the encryption is made using a common initialization vector and the mode used for encryption is OFB. ...
1
vote
1answer
196 views

OpenSSL: How to maintain padding from encryption after decryption?

One of my professors mentioned in class that there is a way of using PKCS#7 padding to have the padding persistent after decryption. For example, if I encrypt a 20-byte file using ...
2
votes
1answer
139 views

“hex” vs. “base64” encoding when enciphering

Examining different implementations of encryption / decryption with cipher on Node.js, I paid attention that some implementations use hex encoding: ...
2
votes
0answers
64 views

Possible deciphering methods for the steganography on an old check? [closed]

This check was deposited in the 1930s, and it was issued by OCBL (an old bank in Singapore). The checks issued by this bank had an interesting feature - an obfuscated pattern printed on the back of ...
0
votes
1answer
39 views

Is it possible to find what is the random generated key if I know the plaintext and ciphertext? [closed]

Is it possible to find what is the key with only plaintext and ciphertext? For example, My plaintext is: hi My ciphertext is: 0x1db5
2
votes
4answers
186 views

Is an invulnerable code possible (including brute force attack)?

If I double encrypted a text with for example AES wouldn't it be invulnerable to bruteforce attacks due to the computer not knowing when it has reached the plain text? Plain text->1st layer of ...
0
votes
1answer
81 views

NaCl allows decryption with the same public key as for encryption

I followed the description here: Public-key authenticated encryption: crypto_box and created an example that encrypts a message with Bob's public key and signs it with Alice's secret key : ...
3
votes
2answers
213 views

Is this toy RSA demonstration flawed?

I want to present the basics of how RSA works to an audience of beginners in cryptography. The problem is that I am lightyears from being an expert. After reading about how RSA works in wikipedia, ...
0
votes
1answer
69 views

How secure is a 40 bytes hexadecimal string AES256 encrypted with 50 bytes random password

Problem Assume I have a 40 bytes hexadecimal ASCII string and a 50 bytes random password. ...
3
votes
0answers
52 views

Subexponential algorithms that apply only one of factoring and discrete logarithm?

Shor (quantum polynomial), Number Field Sieve (subexponential), Pollard rho (square root) all have both factoring and discrete logarithm over $\mathbb F_p^*$ variants. What are the subexponential ...
1
vote
1answer
66 views

Are there any asymmetric key encryption/decryption algorithms?

When it comes to encrypting some data (where data being something of a large size), symmetric key cryptosystem is predominant. Symmetric key algorithms like AES, DES, Blowfish, IDEA etc. are ...
3
votes
1answer
82 views

Cryptography on programming

In pursuit of understanding a randomly found topic I was interested in learning the connection between integer programming and cryptography and found Lenstra Jr.'s Integer Programming and Cryptography....
0
votes
1answer
368 views

Apple CryptoKit - Understanding its portability

I've been playing with Apple's CryptoKit (their effort to make their old CommonCrypto lib more modern and easy to use via Swift, their programming language). I'm interested to see how portable it is.....
-1
votes
2answers
570 views

How to find the key of XOR encryption in Java?

I am trying to find the key of an XOR-encrypted string in Java. It is very probable that the key is eight characters long. I have the encrypted string. I do not understand how to go backwards and ...
0
votes
0answers
30 views

Does the oracle have to have access to the encryption key to the padding oracle attack to work (CBC & PKCS#7)?

Does the oracle have to have access to the encryption key to the padding oracle attack to work (CBC & PKCS#7)? I tried much to get a attach to work, but the oracle doesn't have access to the ...
10
votes
1answer
5k views

How long does it take to crack RSA 1024 with a PC?

Using an Intel Core i5 CPU, how long does it take to crack RSA using a key size of 1024 bit (generated using a secure key pair generation function)? Suppose for instance that we have thousands of ...