Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 36960

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.

0 votes

How is audio encrypted?

You probably need to understand that there are analog audio (the ones in 3.5mm cables), and digital audio (Dolby Digital, Linear PCM, DTS, etc.). We can easily encrypt and decrypt digital audio becaus …
DannyNiu's user avatar
  • 9,795
0 votes

Does the Windows RNG have security problems?

I'm very certain it's a editorial error. Typical CTR-DRBGs instantiated with an 128-bit blockcipher use 32-bit counter, and lets you pull out 4 GiB of data safely before needing to reseed.
DannyNiu's user avatar
  • 9,795
1 vote
Accepted

Does the use of a passkey (FIDO) link your physical device id, eg IMEI, to that specific pas...

Passkey (and FIDO in general) generates keypairs on the device rather than on the server. The web servers can only know the type of device that generates them, but can't tell the specific model. This …
DannyNiu's user avatar
  • 9,795
1 vote
Accepted

SSL Pinning security: can MitM generate the same public key?

It's astonishingly difficult. With RSA, it's literally a mathematical impossibility. With Weierstrass, Montgomery and Edwards elliptic curves, the possibility of generating the same public key from …
DannyNiu's user avatar
  • 9,795
1 vote
Accepted

is there a way to specify the encrypted message length when using private and public keys?

Asymmetric cryptography are never space-efficient. For example, in multivariate cryptography the public key is often the expanded matrix of coefficients of indeterminates, where as the private key a …
DannyNiu's user avatar
  • 9,795
1 vote

What is DLf3072s256mRijndael cipher suite?

Guessing: DL -> Discrete Logarithm f -> finite field (of prime order) 3072 -> size of finite field in bits s -> (not sure) SHA? 256 -> size of hash digest or subgroup size (used in DSA the old Digi …
DannyNiu's user avatar
  • 9,795
0 votes

How should I assign a letter at random to another?

The programming part would be off-topic here, and I believe as an enthusiastic practitioner, you can figure it on your own. Here's an idea for creating an alphabet map: Initialization, 1.1. se …
DannyNiu's user avatar
  • 9,795
3 votes

Writing an original encryption algorithm

There's plenty of good posts here if you want to learn more, and I recommend you search for these tags for intro: classical-cipher, block-cipher, stream-cipher, authenticated-encryption, message-authentication-code …
DannyNiu's user avatar
  • 9,795
1 vote
Accepted

Can an encryption key be inferred by knowing the plaintext and the corresponding ciphertext?

The good news is that, when you use authenticated encryption, there's no need to keep such "dummy" plaintext-ciphertext pair. … In a typical authenticated encryption, a tag is computed based on the key, the plaintext, and possibly additional data (e.g. …
DannyNiu's user avatar
  • 9,795
0 votes

Encrypted file sharing with deterministically generated key from user password

The nonce for the file encryption algorithm - To encrypt a file, you need a block cipher mode of operation or a stream cipher, such encryption algorithm needs a nonce to make it secure to use the same … The encryption algorithm should ideally be authenticated - that is, have an MAC tag appended to the ciphertext, or just straight use an AEAD algorithm such as AES-GCM or ChaCha20-Poly1305. …
DannyNiu's user avatar
  • 9,795
1 vote

Does a cipher exist with the following properties?

Also, since it's not data/message encryption, the input and output are "short". …
DannyNiu's user avatar
  • 9,795
1 vote

Protect messages in online messaging system

I'd suggest using pure access control for security. Using public-key cryptography to protect user communication is very complicated, and have more subtle pitfalls than just users losing their message …
DannyNiu's user avatar
  • 9,795
1 vote

modern version of a book cypher

CCM-AES: used most-often in WiFi encryption A short critique of the OP's proposed cipher. …
DannyNiu's user avatar
  • 9,795
3 votes

The future of cryptanalysis

Modern cryptanalysis are among the tools to verify the security (or completeness as you mentioned) of ciphers. For example, we try to break reduced-round hash functions (e.g. breaking a 16-round SHA-2 …
DannyNiu's user avatar
  • 9,795
1 vote

Can someone help me understand this?

If we want the encryption algorithm to be useful, different groups of people should be able to easily obtain different permutation by choosing a key. … And this is very bad for an encryption algorithm. …
DannyNiu's user avatar
  • 9,795

15 30 50 per page