iT邦幫忙

1

[Day 30]檢查密碼強度

  • 分享至 

  • xImage
  •  

1.題目描述
請撰寫一個程式,讓使用者輸入一組密碼,程式會根據以下規則評估密碼強度:

弱(少於 6 個字元)
中(長度≥6,且包含英文字母與數字)
強(長度≥8,且同時包含英文字母、數字與特殊符號)

2.程式

https://ithelp.ithome.com.tw/upload/images/20251105/20179309K0fFZE4a7Y.png


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

尚未有邦友留言

立即登入留言