Extended the credential_crypto API with data-types and function arguments