Two ways to generate sha256 hash in python

preview_player
Показать описание
SHA-256 stands for Secure Hash Algorithm 256-bit and it's used for cryptographic security. I am using hashlib module.

The first way is by creating a python program and taking the input of the data.
First Way: 0:00
The second way is by directly using the python interpreter.
Second Way: 1:40

"py" is the alias of python. You can also set it by typing "alias py=python" on the terminal.

Рекомендации по теме