funny coding and crypto function