Updated crypto server API to match client