Added support for X13 algorithm, fixed a problem with the echo hash.