RE: Password Hashing Using Python

You are viewing a single comment's thread from:

Password Hashing Using Python

in python •  7 years ago 

Hey, just a suggestion.

If you are going to post source code I recommend using the triple ``` on lines (of their own) surrounding the code, or indent the code by four spaces to render code appropriately, such as:

import hashlib
password = 'Your password'
# and so on

See this as steemit markdown syntax is heavily based on GitHub's implementation, or many other articles just by searching for markdown and steemit for other tips on the markdown syntax.

Anyway welcome to Steemit!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

thanks man i appreciate your response

You can also just indent the block of code by four spaces. I find the four spaces to be easier when using an external editor to type stuff up first, or using four tildes when typing directly into the post, but to each his own.

Step three of your process is actually choosing a cryptographic hashing function, not an encryption algorithm.

You can edit your post to include the code blocks so that its more readable and you'll probably get a few more upvotes...