You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
- thank you very much for the pointers, especially the IV one few queries(asking them out of curiousity :)) in below commentNagarjuna Borra– Nagarjuna Borra2015-09-24 16:06:48 +00:00Commented Sep 24, 2015 at 16:06
- 1. regarding PBKDF2, i didnt understand why iterations should be low in our case, will it not make easier for someone who is trying to do a bruteforce attack? (i did get the 'master key is not a password, but a long random data, so bruteforcing is fruitless' part, but what if someone tries to have a list of passwords, encrypt each and compare them with the encrypted data, surely slowness would help right) 2. is 'different derived keys' not worthy than 'same master key'? (my concern being here is - even if someone deduces a user's derived key, he would not be able to deduce others)Nagarjuna Borra– Nagarjuna Borra2015-09-24 16:08:02 +00:00Commented Sep 24, 2015 at 16:08
- If someone can encrypt passwords with the "master key" then that someone has the key, and you lost. A 256-bit master key, properly generated, cannot be brute-forced. A higher iteration count only turn an utterly impossible attack into another utterly impossible attack, so there is no actual gain.Tom Leek– Tom Leek2015-09-24 16:47:42 +00:00Commented Sep 24, 2015 at 16:47
- You are right, I framed my question wrong, also my understanding of the brute forcing is wrong. Regarding the 2'nd question, do you think deriving different keys is not any good (or worse), is using a single master key for all passwords more than enough?Nagarjuna Borra– Nagarjuna Borra2015-09-27 18:32:17 +00:00Commented Sep 27, 2015 at 18:32
Add a comment |
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. web-application), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you