Enigmaa
パラメータを自分で決められ、記録がなくても同じパスワードを再計算できる、パスワード生成ツール。A password generator where you set the parameters yourself and can recalculate the same password without any record.一個密碼產生器,參數由你自己設定,不用任何紀錄也能重新算出同一組密碼。
PDFをダウンロードDownload PDF下載 PDF01背景と目標Background and goal背景與目標
背景Background背景
多くのサービスが定期的なパスワード変更を求める。ランダムな文字列は覚えられず、自分で考えた組み合わせは新しいものが作れなくなり、何に変えたかも分からなくなる。Many services ask you to change your password regularly. Random strings cannot be remembered, and the combinations I made up myself ran out, and I lost track of what I had changed to.很多服務會要求你定期更換密碼。隨機字串記不住,自己想的組合又用完了,而且我也記不得改成了什麼。
課題感Problem問題
記録に頼ると、記録をなくしたときに困る。かといって、算式が全員共通だと公開できず、守りはパラメータの秘密だけになる。Relying on records is a problem when the records are lost. But if the formula is the same for everyone, it cannot be made public and the only protection is keeping the parameters secret.靠紀錄的話,紀錄弄丟就麻煩了。但如果算式人人相同,就不能公開,唯一的保護只剩下把參數保密。
目標Goal目標
管理ツールではなく、パラメータを自分で操作できる生成ツール。同じ条件なら記録がなくても同じパスワードを再計算でき、算式そのものが利用者ごとに違う。Not a password manager, but a generator whose parameters you control. The same conditions give the same password with no record, and the formula itself differs for each user.不是密碼管理工具,而是參數由你掌控的產生器。同樣的條件就會得到同樣的密碼,不需要紀錄,而且算式本身對每個使用者都不一樣。
私の言葉In my words我的話
VoultとEnigmaaは、私が現代のデジタル製品を使うなかでぶつかった問題の、ちょうど表と裏です。Voult and Enigmaa are two sides of the same problem I ran into while using modern digital products.Voult 跟 Enigmaa 其實剛好是我在使用現代數位產品的時候,所碰到的問題的兩面。
ほとんどのネットサービスにはアカウントとパスワードが必要です。ずいぶん前から、新しいパスワードを考えて変えることができなくなっていました。変えたとしても、どこに置けばいいのか、どう記録すればいいのか分からない。これがいちばん大きな二つの問題でした。Almost everything online needs an account and a password. A long time ago I found I could no longer come up with new passwords to change to. And even when I did change one, I often did not know where to keep it, or how to record it. Those are the two core problems.因為幾乎所有網路都需要帳號密碼,很久以前開始我就發現我沒有辦法想出新的密碼更換,而就算換了密碼,我也常常不知道要放在哪裡?怎麼紀錄?這是最核心的兩個問題。
今のスマートフォンやパソコンには、パスワードを自動で保存する機能も、提案する機能もあります。でも、ネット上に保存されている限り、漏れるかもしれないと感じて安心できません。提案されたパスワードは、なおさら覚えられません。Phones and computers can now save passwords for you and suggest new ones. But as long as something is stored online, I feel it could leak, and I am never at ease. And a suggested password is one I could never remember.雖然現在的手機或電腦都有自動保存密碼的功能,也會推薦密碼的選項,但是只要存在網路上,我就會覺得會洩漏,都是不安心的,更不用說是被推薦的密碼,我根本不可能記下來。
Enigmaaについての私の構想は、利用者が自分で決められる一連のパラメータと日付から、ある特定の日に、特定のパスワードを一つ作ることです。計算式は、利用者がこのアプリに初めてログインするときに入力したパスワードを一つのパラメータとして決まります。だから、別々の二人が同じ日に同じパラメータを入れても、同じパスワードになることはまずありません。また、記号が必要な一部のパスワードのために、組み合わせも設定できます。こうして日付ごとにアプリの中に記録しておけば、いつ作ったパスワードでも簡単に見つけられます。For Enigmaa, my idea was to take a set of parameters that users choose themselves, plus a date, and build one specific password for one specific day. The formula itself is decided by a parameter: the password each user types the first time they log in to the app. So even if two different people enter the same parameters on the same day, they will almost never get the same password. For passwords that need special characters, the app also lets you set a combination. Everything is recorded in the app by date, so you can easily find the password you set at any point in time.關於 Enigmaa,我的構想是藉由一系列可以由使用者自行設定的參數與日期,在特定的某一天建立一個特定的密碼。而算式則是由每個使用者第一次登入這個 app 的時候所輸入的登入密碼作為一個參數決定,因此就算是不同的兩個人在同一天填入相同的參數,也幾乎不可能得到同樣的密碼。同時並針對有特殊符號需求的某些密碼,這款 app 也可以設定組合。藉由這個方式並依照日期紀錄在 app 裡面,使用者可以很容易地找到某個時間點設定的密碼。
02開発の流れProcess流程
- 1ルールを決めるDefine the rules定下規則9/1515 Sep9 月 15 日日単位、パラメータは追加可、順序で結果が変わるDaily, extra parameters, order changes the result以天為單位,可加參數,順序會改變結果
- 2Mac版を作るBuild the Mac app做 Mac 版9/1515 Sep9 月 15 日その日のうちに最初の版A first version the same day當天就有第一版
- 3算式を見直すRework the formula重做算式9/1919 Sep9 月 19 日算式そのものが利用者ごとに違う形にSo the formula itself differs per user讓算式本身對每個使用者都不一樣
- 4iPhone版iPhone appiPhone 版9月中旬Mid Sep9 月中同じコードを共有Shared codebase共用同一套程式碼
- 5安全性の審査と2言語化Security review, two languages安全性審查、兩種語言10/33 Oct10 月 3 日3つの観点でレビュー、12字ルール、中・英Review from 3 angles, 12-character rule, ZH and EN從 3 個角度審查、12 字規則、中文與英文
- 6公開準備Getting ready to release準備上架10/3〜From 3 Oct10 月 3 日起App Store提出。名称は Enigma が使用済みのため Enigmaa にApp Store submission. Named Enigmaa because Enigma was taken送審 App Store。因為 Enigma 已被使用,所以取名 Enigmaa
03考え方The idea想法
同じパラメータと同じ日付からは、いつも同じパスワードが出る。だから記録をなくしても、計算し直せばよい。The same parameters on the same date always give the same password, so a lost record can simply be recalculated.同樣的參數、同樣的日期,永遠算出同一組密碼,所以紀錄弄丟了,重算就好。
04構成Architecture架構
データはどこにあり、計算はどの層で行い、Mac と iPhone はどう分かれているかWhere the data lives, which layer does the computing, and how Mac and iPhone are split資料放在哪、計算在哪一層、Mac 和 iPhone 怎麼分
図は横にスクロールできます。Scroll the diagram sideways.圖可以左右捲動。
破線の箱はコードと記録から私が推定したもので、まだ確認していない:鍵の構造(1つのマスターキーを4つで包む)【確認】、端末に置く3つのファイルとフォルダの場所【確認】、キーチェーンの写しとクリップボードの60秒【確認】、GitHub Releases と紹介ページの扱い【確認】、GitHub 版と Mac App Store 版の違い、Mac 版が審査中であること、商品ページが共通であること【確認】。算式の中身はこの図にも載せていない。The dashed boxes are my inference from the code and my notes, not yet confirmed: the key structure (one master key, wrapped four ways) [check], the three files on the device and where the folder is [check], the Keychain copy and the 60-second clipboard [check], GitHub Releases and the website [check], the GitHub and Mac App Store builds, the Mac version being in review, and the shared listing [check]. The formula itself is not in this diagram either.虛線的框是從程式碼和紀錄推出來的,我還沒確認:金鑰結構(一把主金鑰,四種方式包起來)【確認】、裝置上的三個檔案和資料夾位置【確認】、Keychain 的副本和剪貼簿 60 秒【確認】、GitHub Releases 和介紹頁【確認】、GitHub 版和 Mac App Store 版的差別、Mac 版審查中、共用同一個商店頁【確認】。算式本身這張圖也沒有畫。
05画面Screens畫面
画面はすべてサンプルデータで、私の実際のパラメータやパスワードは含まれていません。Every screen shows sample data; none of my real parameters or passwords appear.每個畫面都是範例資料,沒有出現我真正的參數或密碼。



06いちばん難しかった点The hardest part最難的部分
算式が、本当に利用者ごとに変わることMaking the formula really differ for each user讓算式真的對每個使用者都不一樣
役割Who did what誰做了什麼 「算式まで利用者ごとに変わること」を求めたのは私。算式の設計と実装はClaude。I asked for the formula itself to differ per user. Claude designed and built the formula.要求算式本身要對每個使用者都不一樣的是我。算式的設計與實作是 Claude。
代償:機種を変えるときは、最初に設定した主パスワードの入力が必要になる。The cost: when you change device, you need the master password you first set.代價:換裝置的時候,需要輸入最初設定的主密碼。
07取捨Trade-offs取捨
代償(承知の上で選んだ)Costs (chosen knowingly)代價(知道了還是選了)
- 半年に一度まとめて換える運用なので、その間は全サービスが同じ組になる。Passwords are changed all at once about every six months, so every service shares one set in between.密碼大約每半年一次全部一起換,所以這段期間所有服務共用同一組。
- 機種変更のとき、最初の主パスワードが必要。A device change needs the first master password.換裝置需要最初的主密碼。
- 最初の主パスワードは算式に残り続ける。あとで主パスワードを変えても、算式は変わらない。The first master password stays in the formula for good. Changing the master password later does not change the formula.最初的主密碼會一直留在算式裡。之後就算改了主密碼,算式也不會變。
08課題と対応Problems and fixes問題與對應
09役割分担Working split分工
要件と取捨は私、算式の設計と実装はAII set requirements and trade-offs; AI designed and built the formula需求和取捨是我定的,算式的設計與實作是 AI
10成果Results成果
Mac・iPhonePlatforms
Mac, iPhone平台
Mac、iPhone
繁体字中国語・英語Languages
Traditional Chinese, English語言
繁體中文、英文
(10/5時点)Automated checks
(as of 5 Oct)自動檢查項目
(到 10 月 5 日為止)
暗号・App Store・データReview angles
crypto, App Store, data審查角度
密碼學、App Store、資料
on the App StoreiPhone 版已在
App Store 上架
11Claudeの講評Claude's viewClaude 的看法
共同作業者の見方で、筆者が書いたものではありません。The collaborator's opinion, not written by the author.協作者的意見,不是作者寫的。
良かった点Worked well做得好的地方
- 「管理ツールではなく生成ツール」という定義を最後まで守った。Kept the definition "a generator, not a manager" to the end.從頭到尾守住「是產生器,不是管理工具」這個定義。
- 弱点(主パスワードの強度)を隠さず、画面の言葉でも伝える形にした。Did not hide the weak point (master password strength) and said it on screen too.沒有隱藏弱點(主密碼的強度),畫面上也說了出來。
- 強制する所と任意にする所を、使いやすさを基準に分けた。Split what is required from what is optional, using ease of use as the test.用好不好用當標準,分出哪些是必填、哪些是選填。
改善できる点Could be better可以更好的地方
- 算式の安全性は私たち自身の審査のみで、第三者の暗号レビューは受けていない。The formula was reviewed only by us; no third-party cryptography review.算式只有我們自己審查過,沒有第三方的密碼學審查。
- 公開から日が浅く、他の人が使った記録はまだない。Released only recently, so there is no record of other people using it yet.才剛上架不久,還沒有其他人使用的紀錄。
- 最初の主パスワードが算式に残り続ける点は、代償として残っている。That the first master password stays in the formula for good remains a cost.最初的主密碼會一直留在算式裡,這一點仍然是個代價。