Add hashing class to shared library

Signed-off-by: Frca <killerfrca@gmail.com>