Useful utilities for implementation of cryptographic objects.