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.

Filter by
Sorted by
Tagged with
5
votes
4answers
5k views

How can I force slow decryption in the browser?

I have a string that I will encrypt on the server. I then want to send the encrypted string along with a decryption method for it to be decrypted in the browser. I want the decryption to take some ...
0
votes
0answers
9 views

Cross Platform ECDH encryption and Decryption Java and c# [migrated]

I am not expert in encryption. We have requirement to encrypt the data in c# and decrypt the same in java. We were able to encrypt and decrypt the data for same key in c# and java. When we try to ...
0
votes
1answer
27 views

How would I go about breaking Playfair cipher with the alphabet and the encrypted message? [closed]

I was wondering how I could crack a Playfair cipher with only the alphabet and the ciphered message. Ive tried looking for tools online, but still no luck.
0
votes
0answers
23 views

Add setup to GPG symmetric

I use GPG symmetric, to encrypt text file. Is it possible to use GPG symmetric, to encrypt a text file, and at the same time, add additional setting to the encrypted file, to give us 2 conditions: ...
0
votes
0answers
21 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 ...
3
votes
0answers
55 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
1answer
50 views

How to encode and decode message into polynomial form on NTRU

This question is based on a previously asked question. How to make a message into a polynomial on NTRU encryption? I am tasked to implement NTRU with toy parameters such as $N=7$ or $N=11$ and I have ...
0
votes
1answer
61 views

How to solve this decryption algorithm given the encryption algorithm?

Consider the following cryptosystem with plaintexts from the set $M$ and ciphertexts from the set $S$ with $M = S = \{0, 1\}^4$ . A plaintext $P = (P_1, P_2, P_3, P_4)$ is encrypted to a ciphertext $C ...
0
votes
0answers
33 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
1answer
56 views

Evaluate the time of Paillier decryption

If I have 4 kilobytes of Paillier encrypted data, how can I know the time needed to decrypt it?
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: ...
1
vote
2answers
41 views

Decryption formula of Plaintext Block Chaining (PBC) mode of a block cipher

Considering that $C_n = E_k(M_n) \oplus M_{n-1}$ formula is used in encryption side of this mode of block cipher, and knowing that instead of M0 a randomly chosen initialization vector (IV) is used in ...
0
votes
1answer
46 views

Verify correct answer transparently

The following problem needs to be solved: Person A will be guessing the number that Person B has in mind. Only Person B can confirm that the answer provided by Person A is correct. Person A can not ...
0
votes
1answer
41 views

plaintext decrypted form a cipher text using key = 3 in Caesar Cipher and that plain text with the following ciphertext to get the key [closed]

how to use the plaintext from that was decrypted form a cipher text using key = 3 in Caesar Cipher and using that plain text with the following ciphertext to get the key.
0
votes
1answer
25 views

How to sign messages using the NOISE Protocol Framework?

I wanted to learn more about secure messaging and started a personal project using the libhydrogen library. From my understanding, instead of using public-key ...
0
votes
1answer
79 views

Encryption algorithms that require more work to decrypt versus encrypt?

Are there any encryption algorithms that require significantly more work to decrypt, versus the amount of work required to encrypt? I'm looking for a method of fast encryption, but which will require ...
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 ...
3
votes
2answers
523 views

Advantages and possible usages of encryption schemes with probabilistic decryption

We can define deterministic and probabilistic encryption; Deterministic $c = E(k,m)$, and Examples are textbook RSA, block ciphers in ECB mode. Deterministic encryption fails to achieve CPA security....
-1
votes
1answer
42 views

Black box solver [closed]

I want to know if there is any mathematical or brute force approach to decipher simple black box A: Is only one digit (0...9) B: Is 2 digits (00..99) C: Is a result of a linear function between A &...
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 ...
5
votes
2answers
1k views

Can I alter encrypted data without decrypting it?

I didn't find a direct solution for it. Can I modify encrypted data without accessing it? If there is an example, I would appreciate it.
3
votes
2answers
94 views

How to correctly implement an archetypal encrypt-then-MAC AES-CTR + HMAC mode cipher?

I've created an AES implementation in Python as a learning experience (mainly for encrypting/decrypting files), and wanted to make sure that I haven't made any huge mistakes in my logic (of course, ...
1
vote
1answer
80 views

Are there any tools to analyze cryptographic algorithms performance?

How can I analyze a cryptographic algorithm performance to make a table and charts comparing them. I have seen several papers but there's no paper explaining how it is exactly done. As comparing data ...
1
vote
2answers
85 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 ...
0
votes
0answers
22 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
43 views

How can we decrypt all RSA messages given a function that can efficiently decrypt a small percentage of all possible ciphertexts? [duplicate]

I saw this question in a paper and was not able to solve it. Assume that we are given an efficient algorithm called RSA_break() that can decrypt, without the ...
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
2answers
150 views

Does decryption with a wrong key creates a new encryption?

I'm wondering if decrypting with a wrong key is the same a encrypting in a different way. For example if I encrypt the message "hello" with Caesar cipher with key = 3 it will give the ...
0
votes
1answer
34 views

Need to identify cryptographic algorithm [closed]

I have a binary code which decrypts some 64-byte data chunks. There is a decryption key which is always static, and there is a code which does actual decryption. What I need is to find out which ...
1
vote
1answer
181 views

Why “encipher” instead of “encrypt” and “decipher” instead of “decrypt”?

According to a book I am reading, Applied Cryptography by Bruce Schneier, the ISO 7498-2 standard uses the terms “encipher” instead of "encrypt" and “decipher” instead of "decrypt" ...
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
143 views

Decrypting LFSR, knowing the beginning of the cyphertext, and nothing else

I have a cipher-text in binary, I know the beginning of the plain-text. I know that it is encrypted using LFSR, and I know nothing else. How can I attack, and decrypt it? What I have tried; I ...
1
vote
2answers
166 views

How can RSA be used to compactly sign and encrypt?

How can RSA be used for digital signature with message recovery and encryption, providing transmission of a small message with confidentiality and authentication simultaneously, small cryptogram size, ...
0
votes
0answers
32 views

Many-time pad decryption [duplicate]

I have given seven cipher text encryted by the many-time pad. All are encrypted uwith the same random chosen secret key but I have no idea how to decrypt them. There are 7 ciphertexts: ...
0
votes
0answers
14 views

Tonelli-Shank vales are incorrect when trying to get back to c value for Rabin [duplicate]

I'm working (banging head against wall) on a Rabin encryption as part of a challenge. I thought I was making progress as several algorithms had given em the same values for the mod sqrt but it seems ...
1
vote
1answer
67 views

How to decrypt Rabin message when p=q and you have the roots from Tonelli-Shanks

I've been trying to decrypt a message encrypted with Rabin as a challenge. I'm very new to cryptography and these challenges so much of this is new. I've factorised n and determined that p=q which I ...
0
votes
1answer
55 views

ElGamal Decryption variant

I am trying to do some ElGamal encryption but having a different encryption formula. For that I doing the following steps: The key generator: Choosing value $p = 107$ and $a = 2$ Random number $d = ...
0
votes
1answer
109 views

How to alter text that was encrypted with AES CBC using PKCSPadding7

Assuming, I had a ciphertext along with its decrypted plain text result but not the IV or the Secret Key. (keep in mind that the text was encrypted with AES/CBC/PKCSPadding7). How would I go about ...
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 ...
1
vote
0answers
70 views

How Do I Decipher This Ciphertext? [closed]

Ciphertext:1rUHjDnJs09VNvxLiWZzL7PXeKUHvxFVG5GT59WdS6nvOZ1UypVbKlQTcl4orHFShQMBCFGH8+4+SlFDDv4+dUIcmd3zyaBnsXKCb9lMuGmMJkslgPFvgPKNWGsSVu4BhI6/42dGG3q0Lca465xeDaEKTj3Yan/59/+...
-1
votes
1answer
43 views

Can I derive IV, if I know Encrypted Txt, Key and Encryption Method?

I want to know is there any way to derive the initialization vector, if I know all the other details. AES SHA 256bits CBC pkcs5padding Input: Hello Key: 123 Output: xORGCDL88sa8cUrK8JNSCQ== Now, how ...
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
75 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
106 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 ...
1
vote
0answers
29 views

Decryption : How to secure the Key in offline mode [closed]

I am new to cryptography. I have a package to be shared with Bob which is something like below: Package contains: data.zip and Application where, data.zip is ...
0
votes
1answer
271 views

Can I use ECC for encryption/decryption, just like RSA? [duplicate]

I'm familiar with RSA for asymmetric encryption. I also understand it's only supposed to encrypt small amounts of data (smaller than the key) so for encrypting arbitrary data I would typically ...
0
votes
0answers
60 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}...