Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
2 votes

Advantages of AES vs XOR on a plain text file

Is the derivedOTP a One Time Password / One Time Pad at all in any aspect? No. It's a stream cipher if it produces a key stream that is XOR'ed with the plaintext. That the code buffers all of it is ...
Maarten Bodewes's user avatar
2 votes

Encrypting random IV in CTR mode (no nonce!)

Contrary to "no nonce!" in the title, the proposed system does assume the "random initialization vector" $K'$ is a number used once. A reuse of $K'$ leads to keystream reuse in the ...
fgrieu's user avatar
  • 142k
2 votes
Accepted

Encrypting random IV in CTR mode (no nonce!)

For one, you wouldn't call it an IV, it would be a data or message key. And we'd generally use a key wrapping mechanism or a KDF instead of encrypting the data key using a single block encrypt. ...
Maarten Bodewes's user avatar
1 vote

Is it possible to break a DSA with k that increases statically?

Let's start by prettify the formula first, $$r = g^k \pmod q$$ $$s = {{h+xr}\over{k}}$$ The variables $r$ and $s$ are signature components, $x$ is private key, $h$ is message hash. Now 2 signatures: $$...
DannyNiu's user avatar
  • 9,409
1 vote
Accepted

Is it impossible to improve plaintext attack on Zip crypto in trade of memory vs plaintext bytes requirement?

Yes, the algorithm is improvable in terms of modern computers but i only found one possible point of improvement which removing Z reduction which will then reduce the amount of required plaintext ...
terry franklin's user avatar
1 vote
Accepted

Using plaintext + ciphertext combination as substitute for authentication/signature in elliptic curve cryptography

You're a bit out of luck; there's no known secure signature system with signatures only 16 bytes (the best is BLS, which can live in circa 32 bytes if you don't mind circa 100 bits of security). As ...
poncho's user avatar
  • 148k

Only top scored, non community-wiki answers of a minimum length are eligible