Customised Share Tokens

I have seen some discussion (and added my own comments) about generating a more user-friendly token for ownCloud shares.

One suggestion for a different but related issue was to modify the entry in the oc_share table in the database. I have done this with something like the following:

update oc_share set token='…' where id=…;

… which worked for me.

The question is, is that a legitimate thing to do? Is there any possibility of breaking something in the process?