Questions tagged [encryption]

Encryption is the process of transforming plaintext using a cipher into ciphertext to make it unreadable to anyone except those possessing the key. Decryption is the process of transforming that ciphertext back into plaintext, using the key.

Filter by
Sorted by
Tagged with
10
votes
2answers
2k views

How can I make sure non-open source programs are really using end-to-end encryption?

Without going deep into math, is there's a way to make sure that non-open source programs like WhatsApp, FaceTime, Zoom, etc. are really using end-to-end encryption instead of just 'regular encryption'...
0
votes
1answer
90 views

Encryption algorithms that can be used for key exchange and can be eavesdropped

Which algorithms can be used for key exchange between two wireless nodes and are not secured, meaning they can be eavesdropped?
1
vote
1answer
111 views

One-time pad encryption - how does the receiving side decrypt the message?

If a message is sent using one-time pad scheme, which generates random bits in order to, for example, XOR them with the message's bits - how does the receiving side generate the exact series of bits ? ...
0
votes
0answers
14 views

Decrypt cipher text with repeated XOR key

I got two cipher text that have been encrypted using XOR and the same key. The two cipher text as below. I would like to found what is the key in ASCII or hex Ciphertext 1 (in hexadecimal): 0d 69 1e ...
0
votes
0answers
13 views

What encryption/encoding algorithm is used here? [closed]

I would like to find the encryption/encoding algorithm used in this data. Originally I thought it might be base64, but that didn't seem to work. Anyway, here's the output in question: ...
0
votes
2answers
188 views

What is the fastest way to generate a truly random one-time pad without electrical or any other complicated device?

I want to generate a truly random one-time pad as fast as possible, but without the use of any electrical or any other complicated device. What is the fastest way to do that?
4
votes
3answers
675 views

Is there a maximum number of encryptions I should make with the same RSA key?

From an answer to the question RSA maximum bytes to encrypt, comparison to AES in terms of security? I learned that there is a theoretical limit of how much data can be safely encrypted with symmetric ...
1
vote
0answers
110 views

Is bit encryption enough?

Assume that $\Pi$ is a secure PKE scheme (or other appropriate encryption schemes) with 1-bit message space. And it can be applied bit-by-bit to construct a many-bit encryption scheme $\Pi'$. ...
0
votes
0answers
37 views

Good Books for self learning crpytography basics [closed]

What are some good books to learn basics of crpytography? Maybe with some coding examples? And what are must read cryptography articles? I am a beginner and i have got a few knowledge on crpytography.
1
vote
0answers
27 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 ...
0
votes
0answers
12 views

how can i encrypt webm files using clearkey encryption and obtain both key and keyid to play it using on the web dash [closed]

hi I can't seem to be able to encrypt WEBM files and get back any valuable information like key value or key id so i can use them with EME API and create a dash media player so i can protect my media ...
6
votes
2answers
17k views

Finding Private key in RSA with public key, cipher text and plain text

Is there a known 'non-brute force' method of determining a private key in an RSA system when all other parameters are know? I found the values of a ciphertext ($C$), its corresponding plaintext ($P$) ...
1
vote
2answers
46 views

How to properly sign and verify using DSA? Can anyone spot my mistake?

The question that I am trying to answer is as follows: 10.14. The parameters of DSA are given by p = 59,q = 29,α = 3, and Bob’s private key is d = 23. Show the process of signing (Bob) and ...
0
votes
0answers
33 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
26 views

does increasing the number of rounds in feistel increase the security [duplicate]

In feistel cipher , does it matter that number of rounds ? is using more rounds will give the best result? or it's all about the key size ?
-1
votes
0answers
14 views

Is there any software available online for checking the properties of substitution boxes for block ciphers?

I have designed a s-box and now i want to find out its properties i.e. what are the values of non linearity, SAC, BIC etc?
1
vote
0answers
54 views

keyboard communication protocol? [closed]

I'm analyzing the transmitted data from the apple Smart Keyboard to the iPad, and I have troubles arriving to a conclusion: When I press a key, the keyboard transmit two blocks of data: the ...
0
votes
0answers
13 views

Is the DBMS_CRYPT Oracle package used for the 'plug-in' method of DBMS encryption? Could anyone send links to more information on the method?

I was assigned a research project on the 'plug-in' method which is basically the concept of attaching an encryption package (encryption module) onto the DBMS. When typing in 'plug-in' method into ...
1
vote
2answers
85 views

Symmetric versus asymmetric self encryption

I can encrypt my files with a symmetric encryption algorithm like AES, or with an asymmetric encryption algorithm like RSA or ECC (I encrypt my files with my own public key). No communication is ...
0
votes
0answers
24 views

Implementing ESignature and digital certificate

I'm having some issue understanding the mechanism of electronic signature and how implementing it Here what I understood, correct me if I'm wrong: (Client is here an android or ios device. Server ...
1
vote
1answer
83 views

I don't understand RSA encryption (specific questions)?

So I've been studying RSA for a class and I'm having a hard time understanding how it works. Why do we choose the value of e such that e is relatively prime to the totient (as opposed to just being ...
2
votes
1answer
227 views

Explaining Chaotic Cryptography

I will venture myself into studying chaotic cryptography. However, I find it hard to explain what chaotic cryptography entails to those that have some knowledge of cryptography. Neither can I explain ...
2
votes
0answers
28 views

Unknown bit in the output of encryption of data using SIMECK32 cipher?

How is the unknown bits (annotated by red arrow in figure below) come in the OUTPUT after round 1 and round 2 ? Following is the pictorial representation of SIMECK round function operation. Ref: ...
0
votes
0answers
23 views

Identifying encryption & decrypting strange numeric code [closed]

This following encrypted message was posted in my town and me and some friends are trying to solve it but cant come to any conclusions. The message is as follows: ...
1
vote
1answer
51 views

Are there any algorithms for which generating any zero-knowledge proofs is not practical?

It is related to my earlier question: Can zkSNARK or other zero-knowledge proofs be used to proof message authenticity without revealing private key? Are there any algorithms for which generating ...
0
votes
1answer
53 views

Can zkSNARK or other zero-knowledge proofs be used to proof message authenticity without revealing private key?

The situation: Alice and Bob are exchanging messages encrypted by some known asymmetric encryption protocol. All their encrypted messages, as well as public keys are intercepted by Charlie. Can ...
19
votes
2answers
8k views

Is RSA encryption with a private key the same as signature generation?

It is often said that RSA encryption of a cryptographic hash with a private key is the same as signing (signature generation). And that verification consists of decryption using a public key. Is RSA ...
1
vote
1answer
1k views

How to use separate keys for signing and encryption

I read that the same key should not be used for both certificate signing and encryption. I wonder if this is not a problem with PKI/TLS/SSL, the reason being asymmetric encryption is used to transmit ...
1
vote
2answers
93 views

Can an AES-GCM be cracked if the key is known but the nonce isn't?

I'm kind of new in this field and I've been trying to learn it. I'm now facing an issue where I have a couple of packages encrypted with AES-128 GCM and I have the key that was used to encrypt these ...
2
votes
1answer
74 views

Does Encryption add difficulties to File Recovery?

Seems Yes. People always tell us, it is very hard (or almost impossible) to recover an encrypted hard disk. But after a second thought. I think this is not true. Given that we know the KEY, and the ...
0
votes
0answers
37 views
1
vote
1answer
80 views

Encrypting multiple small messages with a single reused symmetric key

What is a good way of doing this? Practical and Secure. This is for a browser environment. For example, let's say there are a few 100 independent messages of about 100 characters each that you want ...
1
vote
2answers
63 views

How to backup a secret encrypted by multi parties without revealing the secret?

I'm searching for a way to backup a secret that only the end user knows the information with 2 trusted hosts. But trusted hosts shouldn't have access to secret at any time. First basic version : ...
-1
votes
0answers
29 views

How Unstructured data are encrypted?

In general , data are structured and unstructured. In short, how actually unstructured data are encrypted ?
-1
votes
0answers
23 views

Accidently deleted “~/.gnupg/pubring.kbx” , how to recover keys [migrated]

is there is any way to recover the encryption keys in this case, since they really important 1) the issue: i've lost my gpg key identifiers by deleting ...
0
votes
1answer
67 views

Can there be more than one valid private exponent for a given p, q, and e in RSA encryption?

For example, given: p = 173, q = 149, e = 3 Using phi(n) gives d = 16971 While using lambda(n) gives d = 4243 Both values satisfy the checking equation (de)%phi=1, so are both correct, and if so, ...
1
vote
4answers
169 views

Why are there standards of encryption?

Pardon me if this question seems a bit obvious, but if someone has a key to your encryption, knowing what type of encryption you are using (or running outputs against a lot of common encryption types) ...
0
votes
0answers
25 views

Encrypt and decrypt data accessible by two users on the web on multiple devices

I am currently building a website where a user will be able to upload a file to my server and another user will be able to download the file. Now i want to add encryption to this with the following ...
0
votes
2answers
62 views

How is asymmetric cryptography safe if one of the keys is public?

Let's suppose $A$ is sending a message $m$ to $B$ using asymmetric cryptography. To guarantee the authenticity of a message, $A$ encrypts $m$ with $A$'s private key: $E(m, k_A) = m_A$. Then, $A$ ...
-1
votes
1answer
28 views

how we can display each round of PRESENT algorithm [closed]

how i can display each round of PRESENT algorithm knowing that i'm using the code c and i'm using a Key: 00000000000000000000 (80-bit)
1
vote
1answer
232 views

Encryption: am I doing it right?

I'm trying to get a per-user encryption key scheme off the ground and need some validation from wiser crypto pros. Consider the following procedure: User provides registration information to include ...
2
votes
1answer
76 views

Which is the best algorithm for large scale file encryption other than AES?

I've been looking for a fast, powerful and robust algorithm for encrypting large files with authentication . I would like to implement the algorithm on my own without using third party software. I've ...
9
votes
3answers
6k views

Anatomy of an RSA private key

I'm learning about OpenSSL and public key infrastructure and am curious about the structure of an RSA key and how it's related to its corresponding public key. I can generate a private RSA key with ...
0
votes
0answers
18 views

HSM: How multiple users are supported (using SAM)? [closed]

So far, I knew that traditional HSMs (Hardware Security Module) can be used to store key of a single user. But, recently, I came to know that newer HSMs have the capability to store keys of multiple ...
0
votes
0answers
28 views

How to use Whitebox aes

There are server programs and client programs. ・Prepare two keys (A, B) for AES. ・The A key creates an encryption table in advance with WhiteboxAes. ・The B key creates a decryption table in advance ...
3
votes
0answers
350 views

Alternative way to provision secret in Intel SGX enclave

I have a case where I have multiple clients (non SGX, assumed safe) and server(SGX based), talking over a network. I wanted to provision a shared (per client) key which is used to encrypt and decrypt ...
1
vote
1answer
41 views

Storing values under different keys (e.g. during key rotation)

If you are encrypting some secrets (database passwords, access tokens, etc). When it comes to key rotation, you'll need to store those encrypted values twice, for a short period of time (under the ...
1
vote
1answer
111 views

Is there any existing obfuscation scheme that makes cipher text indistinguishable from plain text?

Suppose a totalitarian government (in the name of anti-terrorism / protection of intellectual property): has outlawed encryption itself - encryption is only approved for cases where the state has ...
2
votes
1answer
48 views

Encryption with 2 symmetric keys and decryption with one key

Here is my use case: I need to keep encrypted data in Hadoop. The data is encrypted with symmetric key that is being changed every half a year. When data is retrieved it should be decrypted. Lets ...
2
votes
5answers
140 views

How passwords are fed to key derivation functions?

Suppose I want to encrypt data, send it over the network, and decrypt it on the receiver side. I know the elegant way to do this is by using a symmetric key to encrypt the data and an asymmetric key ...

1
2 3 4 5
69