{"action":"closed","issue":{"url":"https://api.github.com/repos/jstedfast/MimeKit/issues/205","labels_url":"https://api.github.com/repos/jstedfast/MimeKit/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/jstedfast/MimeKit/issues/205/comments","events_url":"https://api.github.com/repos/jstedfast/MimeKit/issues/205/events","html_url":"https://github.com/jstedfast/MimeKit/issues/205","id":121527814,"number":205,"title":"Question; Speed of signature creation","user":{"login":"polterguy","id":8466933,"avatar_url":"https://avatars.githubusercontent.com/u/8466933?v=3","gravatar_id":"","url":"https://api.github.com/users/polterguy","html_url":"https://github.com/polterguy","followers_url":"https://api.github.com/users/polterguy/followers","following_url":"https://api.github.com/users/polterguy/following{/other_user}","gists_url":"https://api.github.com/users/polterguy/gists{/gist_id}","starred_url":"https://api.github.com/users/polterguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polterguy/subscriptions","organizations_url":"https://api.github.com/users/polterguy/orgs","repos_url":"https://api.github.com/users/polterguy/repos","events_url":"https://api.github.com/users/polterguy/events{/privacy}","received_events_url":"https://api.github.com/users/polterguy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jstedfast/MimeKit/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-10T16:40:22Z","updated_at":"2015-12-10T17:23:50Z","closed_at":"2015-12-10T17:23:50Z","body":"Howdy, this might have a natural answer, still I have to throw it out there ...\r\n\r\nWhen I encrypt a message, the encryption process is literally \"instantaneous\" (fraction of a second), while when I sign the same message, it takes at least one order of magnitude more time (1-2 seconds)\r\n\r\nThe same result can be seen when both signing and encrypting ...\r\n\r\nIs this due to that signing a message simply is that much more consuming from an algorithmical point of view, or might this point to an underlaying problem in Bouncy Castle or MimeKit ...?\r\n\r\nLogically I would expect encryption to be more \"costy\" in regards to CPU, but according to what I see when I use these features, signing seems to be at least one order of magnitude more costy when it comes to CPU resources and time ...?\r\n\r\nBTW, this is using PGP and GnuPGContext ..."}}