more work on crypto and signatures