I'm setting up a partition for a linux distribution and I use the command : cryptsetup -y -v luksFormat /dev/sda1.
I believe the default options for the current version of cryptsetup are :
--hash ripemd160
--cipher aes-cbc-essiv:sha256
--key-size 256
--offset 0
--key-file default uses a passphrase
--keyfile-offset 0
--keyfile-size 8192kB
Now I am wondering if the default options are safe enough or if I should modify some for more security. For instance what would be the tradeoff if I changed the key-size to 512 or the hash to sha512 ? Are other parameters worth changing ?