Analysis of Key Scheduling