parallel encryption using gar_threads