crypto system architecture