She produces a hash value of the message , raises it to the power of d mod n ( just like when decrypting a message ) , and attaches it as a `` signature '' to the message .
She produces a hash value of the message , raises it to the power of ( as she does when decrypting a message ) , and attaches it as a `` signature '' to the message .