cryptoguy encrypt\decrypt prototype