RFC 2246 PRF function in PHP
问题 I've been looking all over for an implementation of the PRF function from RFC 2246. I've found three. One here, one from the openSSL library, and one from wpa_supplicant. They all return different results. So my first question is: is there sample PRF input and sample PRF output somewhere? That function is part of connecting to a .NET web service (protected with WS-Security) from PHP. What I've found so far is this. My client sends a request for a token first with a username/password and a