add top alg and size badge, and bottom keyid badge