Skip to main content

All Questions

Filter by
Sorted by
Tagged with
5 votes
0 answers
141 views

Upgrading key derivation by adding an XOR with a known value

In general, keys for password-based key derivation are derived from a password hash such as the old PBKDF2 function or Argon2, possibly followed by another derivation function to derive data and ...
Maarten Bodewes's user avatar
  • 94.5k
2 votes
1 answer
220 views

Password protection in ARJ: 3 characters of password are retrievable

On this site there is information that one can know first 3 characters (bytes) of the password without brute force. I know that ARJ in older versions has very simple encryption, i.e. XOR with ...
Setplus's user avatar
  • 153
2 votes
3 answers
223 views

Long Random Key and XOR - How Secure?

I have an application that encrypts files in the following manner (I think I can hear sighs already but bear with me): Start with two byte arrays generated from random strings of lengths l1 and l2 (...
mrrrk's user avatar
  • 23
1 vote
1 answer
438 views

How to add passphrase to an RSA key?

If I want to protect a private RSA key, do I just XOR the password into the key, or do I do something else? Is it secure? Edit: I got a good answer from a comment - Hash the password/passphrase with ...
Gordor Jonathan's user avatar