I need to save random 16 byte keys to a database. To encrypt these keys I currently use AES 128 with ECB Mode (because of smaller data to store, no IV needed), but now I read a lot about ECB being unsafe and should never be used.
I thought in this case (random data, just a single block) using ECB would be fine, but I'm no expert, so I would like to know whether this is right, or should I better switch to CBC to make it secure?