Text this: Improved preimage and pseudo-collision attacks on SM3 hash function