Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  def make_key(self, password):
        """Creates an encryption key from the default password or prompts for a new password."""
        self.key = hashlib.sha256(password.encode("utf-8")).digest()
Crack unsalted sha256 of ascii space NSA...

https://docs.python.org/2/library/hashlib.html#key-derivatio... (at least)



No salt?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: