ENCRYPTION ADDED TO LIB