Questions tagged [decryption]

In cryptography, encryption is the process of encoding information. This process converts the original representation of the information, known as plaintext, into an alternative form known as ciphertext. Only authorized parties can decipher a ciphertext back to plaintext and access the original information.

37 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
59 views

Bitslice DES decryption

I would like to implement fast DES decryption using Bitslice technique. Without bitslice DES technique, I have already done decrpytion in this source code by changing the for loop from 15 to 0. In ...
3
votes
0answers
64 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 ...
2
votes
0answers
36 views

Decrypt the same ciphertext to multiple messages of my choice if I can use any key I want to decrypt

In a modern secure encryption scheme, is it possible(both theoretically and practically) to encrypt a message using a key to get the following ciphertext c = Enc(M1,k1) and later find another key so ...
2
votes
0answers
79 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 ...
1
vote
0answers
15 views

Can I use a Friedman test when decrypting a playfair cipher

I have a playfair cipher I’d like to decrypt however I need to find the key word first. Is it possible to use the Friedman test here to find the length of the key word? My cipher has no J’s in it ...
1
vote
2answers
79 views

RSA algorithm implementation

$$m^{ed} \equiv m \bmod n$$ $n =pq$, so by Chinese Remainder Theorem it is equivalent to $$m^{ed} \equiv m \bmod 𝑝, m^{ed} \equiv m \bmod q$$ where $n=p\cdot q$ So how did 2 come from 1 by the ...
1
vote
0answers
27 views

What cipher requires the full message to solve

I am working on a scavenger hunt and wanted to encode a clue in a cipher that requires the full message to decipher. My goal in this is to prevent players from predicting the result before obtaining ...
1
vote
1answer
2k views

Encryption and decryption of Request and response for REST API

I am working on encryption/decryption for the rest of the API. The client here can be mobile, desktop, web browsers, etc and all the requests will be made to an https endpoint. The main goal here is ...
1
vote
0answers
56 views

CCA Security/Decryption of PRF scheme

Let $F : \{0,1\}^n \times \{0,1\}^n \rightarrow \{0,1\}^n $ be a PRF. And let the encryption function be $Enc{_k}(m) = r\mathbin\| (F{_k}(m\bigoplus r)$ , r being a random value. Im trying to proof ...
1
vote
0answers
41 views

What is the exact algorithm for encryption and decryption with hummingbird-1 cryptography?

I have really googled the entire internet but could not find a clear algorithm for hummingbird-1 cryptography.The problem emerges in the decryption module: What is the initial value of state register ...
1
vote
0answers
90 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 ...
1
vote
0answers
127 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
0answers
14 views

Using same key pairs in several different encryption tools and version

can we use the same key pairs created by an encryption tool, for encryption decryption, in another encryption tool ? for ex, created by hypercrypt, but being used in cryptermite, or maybe within the ...
0
votes
0answers
32 views

Can I map 2 plaintext letters to 1 ciphertext letter?

Plaintext: "abcd" where P1,P2,P3,P4 map to each corresponding letter. And C is the ciphertext where C1,C2,C3,C4 map to each corresponding letter. Keys = (x,y,z) Can I use the following ...
0
votes
0answers
9 views

How is the second digram a legal mapping? (Playfair Cipher)

So this is a partly completed key I have: _ R _ _ _ _ T _ _ _ _ _ H _ _ _ _ L _ _ _ P _ _ W And this is my plaintext/ciphertext: ...
0
votes
0answers
38 views

Looking for encryption function given decryption function (2048-bit ciphertext and key, addition and subtraction operations)

I have a decryption algorithm for 256-byte (2048-bit) blocks and want to find the matching encryption algorithm. What I know about the algorithm and have: 256-byte ciphertext (I have multiple ...
0
votes
1answer
41 views

Suitable hybrid encryption approach?

I need help for my bachelor thesis. I have a general question regarding hybrid encryption in different ransomware. The hybrid encryption often uses symmetric and asymmetric encryption techniques. ...
0
votes
0answers
12 views

CP-ABE (partially hidden access structure)

Anyone aware of the implementation of paper "Lai, Junzuo, Robert H. Deng, and Yingjiu Li. 'Expressive CP-ABE with partially hidden access structures.' 2012" specially in python or Charm ...
0
votes
0answers
21 views

How do I invert the final round S Boxes during linear cryptanalysis

I'm using Howard Hey's tutorial on linear cryptanalysis, however I don't understand the final stages. I understand using exhaustive partial subkeys to turn the ciphertext into the final round output, ...
0
votes
0answers
24 views

Decrypting iPhone Backup

Are key bag keys rotated between backups? Or if I have keys from an old backup, am I able to use then with a later backup? Short of it, have a friend w/ an incomplete backup and attempting to leverage ...
0
votes
0answers
56 views

Cracking Viginere Ciphers using same-length key used twice

Assuming I had two ciphertexts which were encrypted using the same key that has the same length with the ciphertexts. (However the keys didn't have any repetitions or features that would assist in ...
0
votes
0answers
32 views

Advice on software to be used

I have the following problem: I have a series of numbers (6, 9, 6, 2, 6, 3, 4, 7, 3, 5, 4, 3, 2, 5, 8, 6, 2, 6, 3, 4, 5, 8, 7, 8, 2, 7, 7, 4, 8, 3, 3, 2, 8, 8, 4, 3, 2, 4, 7, 7, 6, etc.), each number ...
0
votes
1answer
74 views

Conditional decryption

Is it possible for one party to encrypt some data and have another party (unknown to the first party) view that original data if a certain condition is met? I cannot find any information about this ...
0
votes
0answers
85 views

How to perform a known plaintext attack?

I have got the following documents: (1) The plaintext (2) The ciphertext (3) The python program used to encrypt/decrypt the text My goal is to find the key that was used to encrypt the plaintext into ...
0
votes
0answers
57 views

Can I and How Decrypt this Online

Although I had a security course in school a long time ago, I am effectively new to cryptography. I have an encrypted text, the encryption key of 44 characters, the encryption method, (Fernet, which ...
0
votes
0answers
113 views

regarding usage of hashing

I have a question regarding pitfalls of using only encryption. Suppose Bob and Alice want to flip a coin over a network. Alice proposes the following protocol. Alice randomly selects a value X ∈ {0,1}...
0
votes
0answers
32 views

Matrix cipher - symmetric or asymmetric cryptosystem?

Matrix cipher is defined by: a) Encryption: $C = K \times Z$, where $C$ is a cryptogram vector, $Z$ is a message vector and $K$ is encryption matrix (encryption key) b) Decryption: $Z = K^{-1} \times ...
0
votes
0answers
23 views

Identify the value of the plaintext from a noised expression

Having the following instructions: Using Paillier encryption to encrypt $m$. So, we get $Enc(m)$ Multiply $Enc(m)$ and $A$ to Get $C$. So, $C = Enc(m).A $ Decrypt $C$ using Paillier Decryption ...
0
votes
0answers
43 views

How many repetition in Ciphertext-Only-Attack?

Given the following algorithm, how many times do I need to repeat step 2&3 to complete the attack? Please note that block size and key are 128 bits. Step1: Prepare set S of size 2^k which contains ...
0
votes
0answers
31 views

Confused in selecting the encryption method for mobile number and email encryption

I'm new in cryptography and I'm developing a mobile app that gets user_name, E-mail ID, and ...
0
votes
0answers
66 views

What measures can I do to prevent decryption of encrypted data?

This is entirely hypothetical, I'm working on securing some data and I want to make sure we do this properly. If I have a list of information which is encrypted (say, using a 256 bit encryption key) ...
0
votes
0answers
41 views

Unable to determine plaintext from ciphertext

Given the letter-number cipher: a=00, b=01, c=02, etc., encrypt the word 'hi' and decrypt its ciphertext using RSA. The public key is (5,35) and the private key is (29,35). I know that 'hi' is ...
0
votes
0answers
86 views

Finding a dataset to benchmark cryptographic algorithms

I’m planning to compare cryptographic algorithms in terms of encryption/decryption time, memory used etc. and for that I’m in need of a standard dataset consisting of plaintexts of different bit sizes ...
0
votes
0answers
24 views

Three Pass Protocol Question!

Alice and Bob have agreed to use the Three Pass Protocol. p=1009 Alice chooses the encryption exponent e_A = 101 Bob chooses the encryption exponent e_B = 209 Now Alice and Bob send three ...
0
votes
0answers
42 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
37 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
votes
2answers
986 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 ...