A Novel Key Management Scheme Based on Discrete Logarithms and Polynomial Interpolations