Updated to Scala 2.11. Also updated ScalaTest and BouncyCastle libraries.