Hash - information hashing script | Tools | Crax

Welcome To Crax.Pro Forum!

Check our new Marketplace at Crax.Shop

   Login! SignUp Now!
  • We are in solidarity with our brothers and sisters in Palestine. Free Palestine. To learn more visit this Page

  • Crax.Pro domain has been taken down!

    Alternatives: Craxpro.io | Craxpro.com

Hash information hashing script

Hash information hashing script

LV
1
 

harchaoui2

Member
Joined
Nov 9, 2023
Threads
10
Likes
4
Awards
4
Credits
666©
Cash
0$
import hashlib

def hash_string(input_string):
# Create a new SHA-256 hash object
sha256_hash = hashlib.sha256()

# Update the hash object with the bytes of the input string
sha256_hash.update(input_string.encode('utf-8'))

# Get the hexadecimal representation of the hash
hashed_string = sha256_hash.hexdigest()

return hashed_string

# Example usage
if __name__ == "__main__":
secret_info = "This is sensitive data"
hashed_info = hash_string(secret_info)
print("Original Data:", secret_info)
print("Hashed Data:", hashed_info)

Screenshot 2023 11 13 062212
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Top Bottom