A simple HashingInterface to implements old hashing system for Symfony