SHA-256: Difference between revisions
Content added Content deleted
(Add Python.) |
|||
Line 55: | Line 55: | ||
{{out}} |
{{out}} |
||
<pre>764faf5c61ac315f1497f9dfa542713965b785e5cc2f707d6468d7d1124cdfcf</pre> |
<pre>764faf5c61ac315f1497f9dfa542713965b785e5cc2f707d6468d7d1124cdfcf</pre> |
||
=={{header|Python}}== |
|||
Python has a standard module for this: |
|||
<lang python>>>> import hashlib |
|||
>>> hashlib.sha256( "Rosetta code" ).hexdigest() |
|||
'764faf5c61ac315f1497f9dfa542713965b785e5cc2f707d6468d7d1124cdfcf' |
|||
>>> </lang> |