Switch to twofish by default (#465)

This commit is contained in:
Pierre Krieger
2018-09-06 17:35:25 +02:00
committed by GitHub
parent 381c071cbc
commit e45dce2d9a

View File

@ -85,11 +85,13 @@ supported_impl!(
// TODO: the Go & JS implementations advertise Blowfish ; however doing so in Rust leads to
// runtime errors
// TODO: the AES library we're using seems to have a bug causing data corruption from time to time,
// which is why we prioritize TwoFish
supported_impl!(
ciphers: Cipher,
"TwofishCTR" => Cipher::Twofish,
"AES-128" => Cipher::Aes128,
"AES-256" => Cipher::Aes256,
"TwofishCTR" => Cipher::Twofish,
);
supported_impl!(