Refactored SignatureLengths to easily add more algorithms.