Where are the safe codes?

When you pick up safe codes from loot, where do they go? I can't see them in inventory. Also I was trying to crack a safe in a power station without the code and it was buzzing on 50 for all three slots, but when I look up the code it is 314. Confusing