Bad against other cases such as constant length m (like user db id) that with combination of other weaknesses may be bruteforcable.
Like if your db is mongo and the 12 byte ID != 12 byte of secure randomness:
https://www.mongodb.com/docs/manual/reference/method/ObjectI...
I think the OP point still stands, just use HMAC instead of inventing crypto schemes.