In Mozilla Firefox, passwords stored in the logins.json and key4.db files are encrypted using the Triple DES (3DES) algorithm in CBC (Cipher Block Chaining) mode. The encryption key is further secured, and if a master password is set, this key is enc...