Fixed all runtime errors

However the Demo is returning an invalid cyphercheck, the problem seems
to be with the HashtoByte method in the Supporting algorithm class.