Serpent is a symmetric key block cipher which was the second finalist in the Advanced Encryption Standard ( AES ) contest after Rijndael . Serpent is a symmetric key block cipher which was a finalist in the Advanced Encryption Standard ( AES ) contest , where it came second to Rijndael .