Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 747 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 747 Bytes

Secure Password Encryption

Implementation of a secure SHA512-based password salting and hashing algorithm.

Safe against following attacks

  • code exposure
  • encrpyted password exposure
  • dictionary/rainbow attacks
  • timing attacks (not done yet)

Safety against brute force attacks must be implemented at the app level.

Goal

  • encryption results identical to a modern linux system (glibc 2.7)
  • hence encryption results are as secure as those of a modern linux system

Runtime Complexity

  • Computation Time: O(n) = const. (to counter timing attacks)
  • Space Allocation: O(n) = const.

where n is the length of the input string (i.e. the plaintext password)