validateSignature

Validates the frame's signature using the given secretKey. If the secretKey's size is less than 32 then it is padded with zeroes. If the size is more than 32, then only the first 32 bytes are taken.