add option to getAlgorithmName() for comments (will probably change)