Techniques For Almost-Asynchronous Distributed Cryptography