ENCRYPTION ON THE FLY