Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Building Searchable Encrypted Databases with PHP and SQL. Parent comment
$nonce = sodium_crypto_generichash($message, '', 24); $ciphertext = $nonce . sodium_crypto_aead_xchacha20poly1305_ietf_encrypt( $message, $nonce, $nonce, $key );
However, in my experience[1], when it comes to deterministic encryption, most PHP developers will use ECB mode, or CBC mode with a NULL IV.
[1]: https://meta.stackoverflow.com/q/293930/2224584
There are no comments on this comment yet.
However, in my experience[1], when it comes to deterministic encryption, most PHP developers will use ECB mode, or CBC mode with a NULL IV.
[1]: https://meta.stackoverflow.com/q/293930/2224584