added crypto util