隨筆

The journal of an avid computer user.

6月 01, 2021

decryption python implementation

 做decryption exercise 用chr() 唔見有野出。原來result漏加base ascii code.

eg: 0 -> chr(0) is blank

x = 1+ ord('a') -> ch= chr(x) -> print(ch) -> 'b'

張貼者: 我 於 上午9:55
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest
標籤: python

沒有留言:

張貼留言

較新的文章 較舊的文章 首頁
訂閱: 張貼留言 (Atom)

關於我自己

我的相片
GitHub: ICHx
檢視我的完整簡介

網誌存檔

  • ►  2022 (3)
    • ►  3月 (1)
    • ►  2月 (1)
    • ►  1月 (1)
  • ▼  2021 (21)
    • ►  12月 (1)
    • ►  11月 (1)
    • ►  8月 (3)
    • ►  7月 (6)
    • ▼  6月 (4)
      • Windows install software without root
      • git clean, something you don't want to use lightly
      • markdown pandoc generate table number
      • decryption python implementation
    • ►  4月 (5)
    • ►  2月 (1)
  • ►  2020 (4)
    • ►  10月 (1)
    • ►  8月 (1)
    • ►  7月 (1)
    • ►  5月 (1)
  • ►  2019 (1)
    • ►  9月 (1)
  • ►  2017 (7)
    • ►  12月 (1)
    • ►  11月 (2)
    • ►  8月 (2)
    • ►  3月 (2)
  • ►  2016 (4)
    • ►  10月 (3)
    • ►  8月 (1)
頂尖企業主題. 主題圖片來源:mayo5. 技術提供:Blogger.