Replies: 1 comment
-
Also consider using https://en.wikipedia.org/wiki/ChaCha20-Poly1305 as it's faster, better prone to Spectre attacks and is recommended mode according to current PHP docs https://www.php.net/manual/en/function.sodium-crypto-aead-xchacha20poly1305-ietf-encrypt.php |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
aes-256-cfb
is selected by default. Theaes-256-gcm
is the preferable cipher. If aes-256-gcm is preferrable, maybe it worth to use it in docs in cipher setting examples?DEFAULT_ALGORITHM = 'sha256'
https://github.com/phalcon/documentation/edit/master/docs/encryption-crypt.md
Beta Was this translation helpful? Give feedback.
All reactions