FIX in solveGb key was not used in evaluation. Byte manip utils. Code cleanup.

* Added helper methods to transfer data between uchar and ULONG buffers.