Hashing in Python as of 2021BFeb25 from hashlib import sha256 h = sha256() h.update(b'python1990K00L') hash = h.hexdigest() print(hash) in php $hash=hash(sha256,"python1990K00L") or string sha256(string $str) #returns 32 bytes My hashing process save the user_name (or email address) save the rightmost 9 digits of the unix date/time(secs) when the user_name / password was last created 1. create salt=sha256(first 64 characters of text in my chosen book [including spaces]) eor -1 2. pad out all 3 using left(phrase||salt,64) 3. use sha256 to hash the email address+salt use sha256 to hash the 9-unix date/time+salt use sha256 to hash the password+salt 4. eor the 3 hashes together 5. save the resulting hash as "hashed_value" Question: Can the string (to be hashed) be greater than 64 bytes long? Always incorporate a 'salt', which is usually derived from a hash phrase. Source 1: https://auth0.com/blog/hashing-passwords-one-way-road-to-security/ Source 2: https://auth0.com/blog/adding-salt-to-hashing-a-better-way-to-store-passwords/#:~:text=A%20cryptographic%20salt%20is%20made,compute%20them%20using%20the%20salts. Source 3: https://www.tools4noobs.com/online_php_functions/sha256/ See text file: ???.txt /Hashing_In_Python.txt