iT邦幫忙

0

Day18:用Python印出雜湊

  • 分享至 

  • xImage
  •  

在Python中,印出「雜湊」通常有兩種常見情境:
1.基本字串/物件的雜湊:使用Python內建的hash()函數
2.密碼學/資料完整性雜湊(如MD5、SHA-256):使用內建模組hashlib
以下為範例程式碼:
https://ithelp.ithome.com.tw/upload/images/20261012/20184476Db50mBYzxz.png


圖片
  熱門推薦
圖片
{{ item.channelVendor }} | {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言