Im trying to generate a symmetric key, which i can use to both encrypt and decrypt a message with the same key, in php.
I've made my way through the php documentation below but can only find public/private key generations: http://www.php.net/manual/en/function.openssl-pkey-new.php
Any ideas on how i can use these key generating functions for making a symmetric key?
Thanks, Joe