Demo crypto implementation