Implemented secure hashing for clientSecret