working on a crypto program