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
0
votes
0answers
27 views

Are “non-mathematical” encryption algorithms comparably secure against brute force key recovery?

I recently learned about a desktop encryption application called ALKEMI, which does not use mathematical encryption according to the website: The encryption Alkemi uses was written by me starting ...
0
votes
1answer
26 views

Whether ramp secret sharing possess additive homomorphism?

Ramp secret sharing replaces the random coefficients in original Shamir secret sharing with original data to be shared. In such a case, all the coefficients in the polynomial evaluation will be ...
-1
votes
0answers
28 views

Public Key VS Wallet Address - What is the difference? [migrated]

I am seeing a lot of contradictory information on why we now use Wallet Addresses rather than Public Keys. Some say that due to additional level of hashing (double hashing), Wallet addresses are ...
3
votes
1answer
117 views

Does anyone sell a proprietary symmetric encryption alogirthm?

I know that the majority of people use standardized encryption ciphers such as AES-256, and for good reason. But what I want to know is if anyone has come across a company or organization that is ...
0
votes
0answers
42 views

Encryption of 7 byte of data, output must be 7 byte [duplicate]

I'm looking for a cryptographic algorithm that inputs and outputs are both 7 bytes. Is there any such algorithm?
4
votes
0answers
77 views

Single Ciphertext which can decrypt with multiple keys

Say we have a public key system where we have 2 users, Alice and Bob each has a public and private key. We also have a publicly available server which stores a message. I want to encrypt this ...
0
votes
0answers
52 views

zero knowledge proof of range and set membership

I have a large number of items with a unique serial number and a score (score isn't always unique). There is a list which contains all of the serial numbers and their respective scores. I select 3 ...
-2
votes
0answers
70 views

Need help with an online puzzle / riddle [on hold]

I found this online riddle at m4tr1x.ws, but now I am stuck. It seems you need to gain deeper and deeper access to this virtual Matrix-style computer system. First you need to create an account via ...
0
votes
0answers
18 views

Is it safe to store my login credentials in a Veracrypt volume? [migrated]

I have a list of login credentials (usernames and passwords) that I wanna keep safe. I'm planning to keep it in an encrypted Veracrypt virtual drive with AES, SHA-512, and an 8-character password. Is ...
0
votes
0answers
28 views

How many AES 128-bit keys does a MIFARE PLUS tag have?

I know that the question is a bit silly but I dont know how many keys can a MIFARE PLUS tag store in it. Provided that I have a MIFARE PLUS S tag with 4k memory room and the key length is 128 bit, ...
-1
votes
0answers
16 views

Williams's implementation of Rabin cryptosystem? [duplicate]

Williams' implementation of Rabin's Cryptosystem , where b=1/2[(1+m/n)] is being used to verify original decryption message .but my question why this formation likewise , is it any formula for ...
-2
votes
0answers
33 views

Which chipre starts and and with $ [closed]

I have this cipher but can identify which cipher it is $1vdLMPbtx"*_4S6P@8j.#V,]!$ and this one also ...
1
vote
1answer
37 views

Authentication and encryption using a simplex communication channel

Is it possible to authenticate a client with encryption on a simplex communication channel without the use of authoritative root certs?
0
votes
0answers
28 views

About LFSR based M209 Cipher Machine

Can some one please express M209 Cipher Machine in terms of LFSR with Diagram or any simple method?
0
votes
1answer
48 views

Can an encrypted message be derived from only keys?

I recently started teaching myself cryptography, and had an idea while reading up about basic ciphers. Instead of passing ciphertext between Person A and Person B, which can be broken if intercepted ...
-1
votes
1answer
51 views

What are the length of ciphertexts when 16 bytes and 18 bytes of plaintext using ECB?

What are the length of ciphertexts when 16 bytes and 18 bytes of plaintext are encrypted with AES using ECB mode?
0
votes
1answer
23 views

How to determine r' in pederson commitment?

Can someone help me with that question? Assuming that someone knows $log_g(h)$ so that he can calculate any message $m'$ for commitment $c$, how to determine $r'$ in?
0
votes
1answer
43 views

Hill Cipher how to encrypt and decrypt when both “I” and “J” are in plaintext

In Hill Cipher, let's assume the key is "KEYWORD" and I want to encrypt "JUICE", so after encryption, I get "GXLBWU", and when decrypt ciphertext I get back "IUICEX" not "JUICE". So my questions are: ...
1
vote
1answer
50 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 ...
1
vote
2answers
23 views

Hill Cipher with unequal matrix

How can we encrypt a text in Hill Cipher with a key matrix that is 3x3 when the plaintext is even like "ATTACKS"? Do we need to add padding like "x" or "z" to make the matrix equal? Thanks.
1
vote
0answers
35 views

Correct implementation of AES 128 encryption with initialization vector and padding [migrated]

I implemented AES 128 bit encryption using initialization vector and padding, as seen in the code below. I happen to be using ColdFusion, but I don’t think that matters. The encrypted result shows ...
1
vote
1answer
27 views

comparison in pallier homomorphic encryption?

For a project I am using homomorphic encryption with the pallier cryptosystem and I have to compare two values... Can this be done using homomorphic encryption? ...
2
votes
1answer
149 views

Can Shannon's proof be applied to all ciphers

I have been studying Shannon's proof of Vernams (1917) unbreakable cipher. Can His proof be applied to positional ciphers?
0
votes
1answer
58 views

Format Preserving Encryption - Generating coupon codes

If I use cycle FPE with AES to generate 20 digit coupon codes, what is the probability that an attacker could generate a valid coupon?
0
votes
0answers
16 views

Off-Chain Channel With Multi Participants That Have Different View/Write Access

I'm looking to expand my blockchain ability to have off-chain channels between different participants (let's say more than 2 participants). The requirements: Only the participants of the channel ...
1
vote
2answers
36 views

Plain text size limits for AES-GCM mode at 2GB with Sun JCE implementation?

The Sun JCE implementation of GCM is hard coded to refuse to encode more than 2 Gb, through the function GaloisCounterMode.checkDataLength() that returns an error message : "SunJCE provider only ...
2
votes
1answer
74 views

How does bit-wise operation work for encrypting grayscale images?

How does bit-wise operation work for encrypting grayscale images? In my Khan Academy course they encrypt an image with bitwise_and, ...
1
vote
1answer
59 views

I made an encryption device for school how can I make it better? [closed]

(All programmed in Visual Basic) How it works is it gets a random number from 1 to 30000 and changes the first character by it in Unicode then it uses that number to change the first character of the ...
0
votes
1answer
23 views

I'm curious on methods of encrypting files using C++ [closed]

I'm making a personal security tool in C++ and was curious how I would go about encrypting files in C++. If anyone has a method that would be great, and more specifically I was interested in 3DES ...
1
vote
1answer
16 views

In an encryption scheme, why can we say that the Encryption and Decryption are PPAs?

In cryptography, a reasonable computational complexity definition for an encryption scheme, is 3 algorithms, (Generate, Encrypt, Decrypt) where encrypt and decrypt can be probabilistic polynomial ...
0
votes
2answers
126 views

In theory, are there algorithms where everybody can read a message but only one person can write it?

I know that there are a lot of asymmetric algorithms out there that use the public key to encrypt and the private key to decrypt. I was thinking about having exactly the opposite. I do also know that ...
2
votes
1answer
58 views

Does anyone know an easily creatable asymmetric cryptosystem for usage in VDF?

I've read multiple papers about VDFs (1, 2, etc.). I look for a lighter alternative to El-Gamal regarding cryptosystem creation. It can be anything exotic too, but it would be nice to have at least ...
2
votes
1answer
45 views

What's the difference beteween SIDH and SIKE?

I'm a semi newbie in crypto (I've had that uni course of discrete math that includes basic cryptography principles) and wanted to go a bit further in isogeny graphs. I have downloaded the C ...
0
votes
2answers
67 views

how can I test quality of sbox?

I have 11 sboxes, I want to test them and find the best one. How can I do that, I found several criterions for that but I could not understand.
1
vote
1answer
38 views

Determine Encryption Used by Examining File Headers?

I have an encryption problem that I hope you might be able to help me with. I have a bunch of encrypted files. Some of them were encrypted with ...
3
votes
0answers
44 views

Does Openssl 1.1.1 library supports sending multiple identities as part of PSK?

Does Openssl 1.1.1 supports sending multiple ticket identities as part of PSK? i have gone through the openssl code and i don't see that openssl supports it. could someone please confirm it if i ...
0
votes
0answers
24 views

how to compute Bit Independence criterion of SBOX?

I want to compute BIC's of my Sboxes, I found out some theses for that but I could not understand how to do it. Can someone help me?
-1
votes
0answers
20 views

How is an Encrypted iTunes Backup's Manifest.db encrypted?

When you do an Encrypted iTunes Backup, it encrypts the data but it also encrypts the Manifest.db file as well, which contains the information about the rest of the iTunes Backup. How is the ...
0
votes
0answers
26 views

How many possible keys are in a columnar transposition cipher?

In a book I am reading it says that the message "Common sense is not so common." (which has 30 characters, space and punctuation included) has a range of possible keys of 2 to 15, half the message ...
0
votes
0answers
11 views

Why in Efs file system (windows OS) is not possible to encrypt directly a compressed file? [migrated]

EFS File system doesn't permit to encrypt directly a compressed file. The opposite process is clear because is impossible practically but this one i can't understand
3
votes
1answer
68 views

How can the Enigma's plugboard settings be found with partially known plaintext?

I don't quite understand the procedure described on wikipedia, is there a generalized procedure you can follow to rule out a pairing on the plugboard? For example, let's say the cipher text is ...
0
votes
0answers
29 views

Alternate to distributing master key to every user in circle of trust

I am designing an end-to-end encrypted file storage system where only the user should be able to access their own data. The best I could come up with is a system designed around a master key that is ...
1
vote
1answer
70 views

What encryption shoud I use for single char encryption?

I'm very new to encryption and I wanted to know if it is secure or just possible to use encryption on single chars. I did some research, but nothing to clear and i'm a bit confused. The modes I think ...
1
vote
1answer
89 views

Encrypting more than ~64GiB with AES-GCM - Integrity

I'm looking for solution to encrypt more than acceptable limit ~64GiB under same key with AES-GCM. I know I'm obligated to exchange nonces for each next ~64GiB chunk, but there is one thing that is ...
0
votes
1answer
28 views

Are EdDSA algorithms encoded by ASN.1 DER standards?

Is it required, or widely practiced to encode a EdDSA signature as a ASN.1 Sequence? Why or why not? How should you encode a EdDSA signature? I cannot find mention of DER or ASN in the EdDSA RFC. ...
2
votes
2answers
116 views

Was the Enigma's double stepping mechanism intentional?

It's sometimes refered to as the double stepping anomaly, so was it just a design flaw or was it put in place deliberately?
0
votes
1answer
24 views

Encrypt UDP packet with time-generated encryption key

I'd like you to help me solve a dilemma of mine. I am currently building a home automation from scratch for my next house. The basic gist of it is that I will send UDP packets over a local network. ...
0
votes
1answer
48 views

Signature verification vs decryption?

I've found this explanation regarding signature verification but I still confused In the example in the picture, the sender sign the hash using his secret key. The output of signing produces a ...
2
votes
0answers
26 views

Intuition for Cramer Shoup Encryption Scheme?

I was reading the Cramer Shoup CCA2 secure encryption scheme. The scheme is as follows. Public key = $(g_1, g_2, c, d, h, hk)$, where $c = g_1^{x_1}g_2^{y_1}$, $d = g_1^{x_2}g_2^{y_2}$, $h = g_1^z$, ...
1
vote
1answer
46 views

How to make Fernet encryption produce the same ciphertext for the same data

I am using a cryptography library for Python and it provides Fernet Module. Now I have a plaintext to encrypt. It produces a ciphertext. Then I try to encrypt the same plaintext with the same key but ...