Go Top

2019年3月30日 星期六

[Bert's Implement] PasswordStorage 密碼儲存產生器

[Bert's Implement] PasswordStorage 密碼儲存產生器


【更新記錄】

※更新日期:

※更新內容:

----------------------------------------------------------------------------------

【原始碼特點】

‧本軟體是一個WinForm的密碼儲存產生器。預設帳密為admin。

■功能介紹

‧依據設定參數產生隨機密碼。

‧檢查密碼的強度。

‧儲存個人帳密。


■Knows issues

實作想法:

從2019.02.21開始決定要寫一個密碼儲存器來輔助自己儲存在網路上的各種帳密。

欲利用舊有的PasswordGenerator 密碼產生器(D:\[C#][WinForm] BERT 程式練習\已完成\#產生器\PasswordGenerator 密碼產生器)改善為可以產生密碼的密碼儲存器


密碼強度測試參考以下的網站

https://password.mx500.com/

http://www.passwordmeter.com/

PasswordGenerator密碼產生參考https://www.techzoom.net/tools/PasswordGenerator



雖然之中有想參考PWGen的產生隨機密碼的方式,但最後決定簡單就好了。以下是PWGen的方式稍作紀錄

<AZ> = A..Z <base64>,<b64> = <AZ><az><09>, +, /

<az> = a..z <easytoread>,<etr> = <AZ><az><09> 無模糊字符

<09> = 0..9 <symbols>,<sym> = 特殊字符 (!"#$%...)

<Hex> = 0..9, A..F <brackets>,<brac> = 括號 (()[]{}<>)

<hex> = 0..9, a..f <punctuation>,<punct> = 標點符號 (,.;:)

<highansi>,<high> = 大寫的ANSI字符

<phonetic> = 產生語音密碼(小寫字母)

<phoneticx> = 產生語音密碼(混合大小寫字母)


最後,密碼及使用者帳密的儲存,採取了XML文件 [以資料合約方式序列化及反序列化 XML檔案],

針對密碼部份採取字串加密的方式,以防他人直接看到真實密碼,

並對最終儲存的檔案(.dat)進行檔案加密。


Download link



螢幕截圖












閱讀更多 »

2019年3月20日 星期三

[Spiritual] 2019.03.20 Daily

很多朋友問我怎麼天天自己煮粥,然後他們常常大魚大肉,要跟我調錢的時候,我怎麼調的下去,懂不

從我的話語,或許妳覺得我屁話一堆,但我現在的想法就是我不劈人,別人也別來劈我。

有些朋友跟我聊天,都開始吵架了。覺得我講話很雞巴,我都是一貫態度,我前些年困苦到有一餐沒一餐我也是沒跟任何人開口,如今我有一口飯吃,我想怎麼吃,不需要任何人來指手畫腳的,因為你們不是每個月供我吃穿的人,大家互相尊重就好,合則來就有空聚聚小酌開心,不合就散不需強求,我不缺朋友

閱讀更多 »

2019年3月14日 星期四

Thailand Tourism independently at 2019

[Travel] Thailand Tourism independently at 2019
這次入住的飯店是曼谷王朝格蘭德飯店(Dynasty Grande Hotel)位於市中心交通便利,離BTS(空中捷運)的NANA捷運站很近,只要步行數分就可以到達。酒店在位於素坤逸第6巷內,經過第四天發現由4巷走比較快。
images

這次來的時侯並沒有多查一下飯店的資訊,所以不知道有游泳池,但也不想在這邊再買泳具,只好照各相留念一下囉,呵呵。



每天一醒來幾乎都是到一間名叫ZAAB的小館吃,因為有我愛吃的打拋豬飯和打拋炒麵,每一餐還會加點一杯冰冰涼涼的芒果冰沙,哈哈!!
ZAAB Thai Seafood


來逛了水門市場買了3件衣服後,就在附近吃了海南雞飯和沙嗲串,海南雞飯還不錯吃,但沙嗲串就有點令人失望,個人不太喜歡乾乾的口感。
地址: 930 Petchburi Rd. Ratchathewi , Bangkok, Thailand
路線: 沿著BIG C 往水門市場的方向走,過了橋以後沿著右邊的路順著走過去就可以看到了



這就是從水門市場買的其中一件衣服,非常喜歡立即穿上準備晚上去Nana Plaza好好地玩,哈哈哈。



倒數第3天,來到4巷的巷口百貨裡的Pizza店來吃義大利麵和烤雞再配上一杯冰冰涼涼的泰式奶茶,人生無憾啦,哈。







最後一天點比較多來慢慢吃,這次真的吃得很撐,哈哈!!





這次買的伴手禮沒有很多,只能分給幾個人跟哥哥姊姊,哈哈!!




順帶一提,千萬別在路上綠色招牌的換匯中心換泰幣,最好花個20泰銖進BTS裡的SPR換,綠色換只有0.83,SPR可以換到1.04,這次我換綠色的虧了好幾千喔,哭哭。


閱讀更多 »

2019年3月6日 星期三

[Online Tools Practice][已測試成功] 2019.03.06 Password Meter Test

[Online Tools Practice][已測試成功] 2019.03.06 Password Meter Test This article is quoted form Password strength test

Too short

0%
Additions Type Rate Count Bonus
Number of characters Flat +(n*4)
 
 
Uppercase letters Cond/Incr +((len-n)*2)
 
 
Lowercase Letters Cond/Incr +((len-n)*2)
 
 
Numbers Cond +(n*4)
 
 
Symbols Flat +(n*6)
 
 
Middle numbers or symbols Flat +(n*2)
Requirements Flat +(n*2)
 
 
Deductions Type Rate Count Bonus
Letters only Flat -n
 
 
Numbers only Flat -n
 
 
Repeat Characters (case insensitive) Comp -
 
 
Consecutive uppercase letters Flat -(n*2)
 
 
Consecutive lowercase letters Flat -(n*2)
 
 
Consecutive numbers Flat -(n*2)
 
 
Sequential letters (3+) Flat -(n*3)
 
 
Sequential numbers (3+) Flat -(n*3)
 
 
Sequential symbols (3+) Flat -(n*3)
 
 
Legend
Exceptional Exceeds minimum standards. Additional bonuses are applied.
Sufficient Meets minimum standards. Additional bonuses are applied.
Warning Advisory against employing bad practices. Overall score is reduced.
Failure Does not meet the minimum standards. Overall score is reduced.

Additional points are given for increased character variety. Final score is a cumulative result of all bonuses minus deductions. Final score is capped with a minimum of 0 and a maximum of 100. Score and Complexity ratings are not conditional on meeting minimum requirements.

Flat
Rates that add/remove in non-changing increments.
Incr
Rates that add/remove in adjusting increments.
Cond
Rates that add/remove depending on additional factors.
Comp
Rates that are too complex to summarize. See source code for details.
n
Refers to the total number of occurrences.
len
Refers to the total password length.
Disclaimer: This application is designed to assess the strength of password strings. The instantaneous visual feedback provides the user a means to improve the strength of their passwords, with a hard focus on breaking the typical bad habits of faulty password formulation. Since no official weighting system exists, we created our own formulas to assess the overall strength of a given password. Please note, that this application does not utilize the typical "days-to-crack" approach for strength determination. We have found that particular system to be severely lacking and unreliable for real-world scenarios. This application is neither perfect nor foolproof, and should only be utilized as a loose guide in determining methods for improving the password creation process.

Password Requirements

  • Must be at least 8 characters long
  • Must have at least 1 capital letter, 1 lower case letter, and 1 number or punctuation, but no spaces
  • Cannot be based on your name, netid, or on words found in a dictionary
  • Cannot be based on simple repeating patterns

Password tips

  • Never share your password or send it in email
  • Choose a password as long as possible
  • Use a varied combination of upper and lower case letters, symbols and numbers
  • Use a unique password for every unique service
  • Consider using a password manager such as KeePass or LastPass
  • Visit http://password.accc.uic.edu to change your ACCC Common Password
中文翻譯:https://sites.google.com/site/altohornteachinfoedu/zi-xun-jiao-yu-1/1-zi-xun-ke-ji-gai-nian-de-ren-zhi/1-2dian-nao-shi-yong-an-quan/mimaqiangduceshiwangzhan
閱讀更多 »

2019年2月27日 星期三

[CSS] 2019.02.27 Implement tw.voicetube.com audio button

[CSS] 2019.02.27 Implement tw.voicetube.com audio button 一直想讓自己分享的英文可以像voicetube.com一樣可以在網頁點擊按鈕就放出聲音

雖然試著用他的source code直接貼上使用,但始終無法成形。

從開始真的寫Blog之後就一直在找google blogger可以使用的方法,

終於在stack overflow找到解法 -- HTML 5: audio controls without progress bar?

只要肯一直努力找,上天終會不負苦心人阿。


See the Pen Custom Audio Button by bert (@bertchien) on CodePen.

閱讀更多 »

[英文學習] 2019.02.27 Dialy English - 學英語,你選美式還是英式?

[英文學習] 2019.02.27 Dialy English - 學英語,你選美式還是英式?


This article is quoted form 学英语,你选美式还是英式?
Embed from Getty Images

英語是英美兩國的官方語言和通用語言。屬於印歐語系日爾曼語族的西日爾曼語支的英語, 通過英國的殖民活動傳播到世界各地;而英語本身在進化當中也出現了分化,從而產生了美式英語與英式英語這兩大分支。

由於當今美國已經取得國際上較高的地位,美式英語逐漸流行起來,並且也已被一向高傲的 英國人承認是存在的。英國人開始學習使用比較簡單化的美式英語,連其他英聯邦國家,如澳大利 亞、紐西蘭、愛爾蘭、加拿大、南非、印度等也開始學習美式英語。雖然美式英語同英式英語一樣 ,都是標準英語,但是兩者在語音、詞彙和語法等方面卻存在著一些差異。主要體現在以下幾個方面:

第一,語音方面,美式英語在音韻上趨於保守,例如大多數情況下當代美式英語都有捲舌音, 字母r在輔音前也要發音。

第二,詞彙方面,美式英語和英式英語在發展中受到的影響不同導致拼寫的不同。

第三,語法方面,雖然美式英語和英式英語使用同一語法體系,但在某些情況下,各自使用不 同的表達形式。

雖然美式英語和英式英語存在著一些差異,但由於它們的相同之處遠遠大於不同之處,所以不 會影響英語表達的規範性。因此,這些差異不會妨礙美英人士彼此交際和交流思想。

想要體會區分美式英語和英式英語,有一個簡單的方法:美國之音(VOA)播音員說的和託福 (TOEFL)考的,是典型而標準的美式英語;英國廣播公司(BBC)播音員說的和雅思(IELTS)考的 ,則是典型而標準的英式英語。

中國的學校歷來以英式英語為主,不過在近年來出國留學以及互聯網發展的熱潮下,美式英語 在中國的發展形勢非常顯著。瞭解和掌握美式英語和英式英語的差異特點及規律,有助於我們的英 語學習,也有助於我們正確地使用英語進行有效的交際,從而在利用英語進行具體的言語交流時避 免不必要的誤解或曲解。

那麼問題來了,你在學習英語的時候,選擇的是美式英語還是英式英語呢?為什麼?有怎樣的 故事?歡迎點擊文章下面的“寫留言”,與我們分享你的想法和經歷。我們會根據留言選出最有意思 的兩位朋友,送出神秘的小禮物。

閱讀更多 »

[英文學習] 2019.02.27 Dialy English - Gastroscopy and Colonoscopy

[英文學習] 2019.02.27 Dialy English - Gastroscopy and Colonoscopy


Embed from Getty Images

If initial stage has gastric ministry to ache continuously , answer to make gastroscope inspection to the hospital

初期如有胃部持續疼痛,應到醫院做胃鏡檢查!

If your colonoscopy reveals a polyp , your doctor will remove it immediately

如果大(結)腸鏡檢查發現息肉,醫生會馬上給予切除。


Phrases and Vocabulary


Vocabulary 單字

  • gastric IPA [ˈɡæstrɪk] KK [ˋgæstrɪk]
  • adj.胃的;胃部的;
  • ministry IPA [ˈmɪnɪstri] KK [ˋmɪnɪstrɪ]
  • n.(政府的)部
  • ache IPA [ek]
  • vi.疼痛;

  • gastroscope
  • n.胃鏡

  • colonoscopy IPA [ˌkoʊlənə'skɒpɪ] KK [͵kolənəˋskɑpɪ]
  • n.結腸鏡檢查(術);
  • reveal IPA [rɪˈvil] KK [rɪˋvil]
  • vt.顯露;揭露;泄露;[神]啟示;
  • polyp IPA [ˈpɑlɪp] KK [ˋpɑlɪp]
  • n.息肉;
  • dissertation IPA [ˌdɪsɚˈteʃən] KK [͵dɪsɚˋteʃən]
  • n.專題論文,學位論文;學術演講
  • surplus IPA [ˈsɚpləs, -ˌplʌs] KK [ˋsɝpləs]
  • adj.過剩的;多餘的;
  • argue IPA [ˈɑ:rgju:] KK [ˋɑrgjʊ]
  • vi.爭論,辯論
  • bruit KK [bruːt]
  • n.傳聞
  • term IPA [tɚm] KK [tɝm]
  • n.學期;條款;術語;期限;

    Phrases 片語

  • gastroscope inspection 胃鏡檢查
  • 閱讀更多 »
    Copyright © BCL BLOG | Powered by Blogger