添加加密文本输入提示示例
This commit is contained in:
@@ -17,6 +17,7 @@ def main() -> int:
|
||||
plaintext = sys.argv[1]
|
||||
if plaintext is None:
|
||||
try:
|
||||
# 示例 postgresql://user:password@host:port/dbname
|
||||
plaintext = input("请输入要加密的文本: ")
|
||||
except EOFError:
|
||||
plaintext = ""
|
||||
|
||||
Reference in New Issue
Block a user