util/encrypt library