added convenience method to make signing embed codes easier