implementing signature DSA