Main Hash Function
First Lib