public function setHashingAttribute($attribute, $value)
    {
        // Set the value which is presumably plain text
        $this->attributes[$attribute] = $value;

        // Do the hashing if it needs it
        if ( ! empty($value) && ($this->isDirty($attribute) || ! $this->isHashed($attribute))) {
            $this->attributes[$attribute] = $this->hash($value);
        }
    }