# print(1 > 0)
# a = 1
# b = 0
# print(a > b)
# print("a" < "b")
# # 每個字元!@@#1233adcff都是有乙個數字表示的
print
(ord
("a"))
print
(ord
("z"))
print
(ord
("b"))
print
(ord
("y"))
## print("d" > "d")
# print(ord(""))
# print("大" > "小")
# print(ord("大"))
# print(ord("小"))
# print(ord("欽"))
"""abcdefg 97 98
zyxwvut 122 121
"""# 數字轉成字元
# for i in range(5000):
# print(str(i)+chr(i))
"""原密碼:a b c
加密後:d e f
"""s =
input
("你想加密什麼秘密"
)# k = 1
# s = "woxiangfangjia"
# a = s[0]
# # 字元轉成數字,加上偏移量,在轉成字元
# g = ord(a)+k
# y = chr(g)print(chr(ord(s[0])+k))
# print(y)
# length 長度
p =len
(s)for i in
range
(p):
print
(chr
(ord
(s[i]
)+i)
, end="")
print()
# 解密::留徘靝屴圬
s =input
("你想解密什麼秘密"
)for i in
range
(p):
print
(chr
(ord
(s[i]
)-i)
, end="")
# 凱撒密碼
bcrypt加密密碼流程
bcrypt 對客戶端傳過來的密碼進行加密處理,存入資料庫。環境依賴npm install node gyp g3.以管理員身份安裝windows build tools 時間較長,耐心等待 npm install global production windows build tools4.在專案...
使用BCrypt加密密碼
1.新增依賴 dependency groupid org.springframework.boot groupid artifactid spring boot starter security artifactid dependency 2.新增上述依賴後,所有位址都被spring securi...
TDS協議 加密密碼演算法
看freetds的原始碼 unsigned char tds7 crypt pass const unsigned char clear pass,int len,unsigned char crypt pass 呼叫 tds7 crypt pass unsigned char unicode st...