Implement naive encryption key factory