One Padding Encryption simulation in java programming language