Basic PHP implementation of Password Based Key Derivation Function 2 (PBKDF2) as defined in RFC2898