Added new API functions for crypto utilities.