結果 : how to write an encryption algorithm in python