Extracted cryto algorithms into enum