Return the cryptographic signature of the given data using {{key.name}} as the encryption key and the specified hash algorithm.

{{#if key.derived}}
{{/if}}
{{#if (or (eq key.type 'rsa-2048') (eq key.type 'rsa-3072') (eq key.type 'rsa-4096'))}}
{{/if}}