Can i save password in dictionary

can i save api key in dictionary
for example my key is CAT so in dictionary i will save 1 for A 2 for B 3 for C
so the code will be 312=CAT is that secure.please help

well, you already got some answers here

so storing your API key using some strange rules inside your app does not really help if someone is listening on your network traffic…
thread closed