earblast·7 anni fa·discussHmm, seems to me using both is optimalhorrible psuedocode follows... cryptchoice = len(username) % 3 switch cryptchoice: case 0: pepper = pepper[1] salt = email case 1: pepper = pepper[0] salt = creation_time case 2: pepper = pepper[2] salt = username bcrypt(salt+password+pepper)
earblast·7 anni fa·discussWhat can someone use as a salt that is unique to a user that would not be in that record as plain-text and guess-able? Creation timestamp? email? username?
earblast·7 anni fa·discussBeing colorblind, This map is completely useless. At least the table is there
horrible psuedocode follows...