Arithmetic Coding For Data Compression And Encryption