the process of converting information or data into a code, especially to prevent unauthorised access