Moved pbkdf2 and hmac to sha256 and removed function pointers cuz function pointers