Extract hash functions from EncryptionUtil to HashUtil

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>
Move hash comparison to HashUtil

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>
Extract serialization to separate util

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>
Remove duplicate 'toHex' function in EncryptionUtil

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>
Improved logging

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>
Use fast serialization

speedup and performance gain of over factor 2

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>
Add status to H2HStorageMemory log

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>
Issue #95

refactored the verification.

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>
Add test for file buffer

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>