[feature/crypto] Add crypto driver helper class for additional functions

Functions for the helper class might be used in other drivers as well and
therefore shouldn't be limited to just one driver.

PHPBB3-xxxxx