prepare code for crypto signing feature