add enc and dec libraries