add crypto for secret & hash keys