David Morgan
Jan 5, 2025

--

I asked AI about my code to solve my API key problem which is an ecrypted json file for the api key stored on google and then downloaded locally it said:

This code uses a salted password-based key derivation function (PBKDF2) with 100,000 iterations to generate a key for AES-256 in Galois/Counter Mode (GCM). In modern cryptography, AES-256 is widely regarded as secure when implemented correctly, especially in GCM mode, which provides both confidentiality and integrity checks [[1]]. Moreover, employing a sufficiently large iteration count (e.g., 100,000) significantly hardens the key against brute-force or dictionary attacks by increasing the time required for each guess.

--

--

David Morgan
David Morgan

Written by David Morgan

Was developing apps for social good e.g. Zung Test, Accident Book. BA Hons and student of criminology. Writing about true crime. Next cancer patient.

Responses (1)