this is simpler
there is a good reason cryptography is not simple
Please Login to reply.
do you have a preimage attack on sha256?
no. but there is hmac (enforcing clear separation of key/data) and I cannot see why you do not want to use it