A tough, insoluble protein that is the main constituent of hair and nails, and of the outermost layer of the skin.