Skip to content

Commit

Permalink
(NFC) CRM_Utils_Hook - Tweak description of crypto()
Browse files Browse the repository at this point in the history
  • Loading branch information
totten committed Dec 18, 2020
1 parent 4971af2 commit 2eb3939
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CRM/Utils/Hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -1760,9 +1760,12 @@ public static function alterTemplateFile($formName, &$form, $context, &$tplName)
}

/**
* Initialize the cryptographic service.
* Register cryptographic resources, such as keys and cipher-suites.
*
* This may be used to register additional keys or cipher-suites.
* Ex: $crypto->addSymmetricKey([
* 'key' => hash_hkdf('sha256', 'abcd1234'),
* 'suite' => 'aes-cbc-hs',
* ]);
*
* @param \Civi\Crypto\CryptoRegistry $crypto
*
Expand Down

0 comments on commit 2eb3939

Please sign in to comment.