refactor: crypto: Key is a class, not an "info" dict.

It resembles class a lot more now.