Cook sugar, milk, and salt until hard ball stage, then add butter, vanilla, and peanut butter. Beat until thick. Pour into a buttered pan.