Setup generic functions library/Password encryption