Restraint generator