use securerandom for hash generation
change limit on task_hash to accomidate the hash for securerandom