{"action":"opened","issue":{"url":"https://api.github.com/repos/Caligatio/jsSHA/issues/26","labels_url":"https://api.github.com/repos/Caligatio/jsSHA/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/Caligatio/jsSHA/issues/26/comments","events_url":"https://api.github.com/repos/Caligatio/jsSHA/issues/26/events","html_url":"https://github.com/Caligatio/jsSHA/issues/26","id":73682405,"number":26,"title":"Call SHA-1 with BYTES input.","user":{"login":"lazydino","id":1158846,"avatar_url":"https://avatars.githubusercontent.com/u/1158846?v=3","gravatar_id":"","url":"https://api.github.com/users/lazydino","html_url":"https://github.com/lazydino","followers_url":"https://api.github.com/users/lazydino/followers","following_url":"https://api.github.com/users/lazydino/following{/other_user}","gists_url":"https://api.github.com/users/lazydino/gists{/gist_id}","starred_url":"https://api.github.com/users/lazydino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazydino/subscriptions","organizations_url":"https://api.github.com/users/lazydino/orgs","repos_url":"https://api.github.com/users/lazydino/repos","events_url":"https://api.github.com/users/lazydino/events{/privacy}","received_events_url":"https://api.github.com/users/lazydino/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-06T17:20:26Z","updated_at":"2015-05-06T17:20:26Z","closed_at":null,"body":"Hi,\r\n\r\nIs the package support raw bytes input for SHA-1? This is what I did:\r\n<script src=\"/sha1.js\" ></script>\r\n<script>\r\nvar mybytes;\r\n...\r\n... //Initilaize my byte aaray.\r\n            var shaObj = new jsSHA(data, \"BYTES\");//new jsSHA(\"Hello\", \"TEXT\");\r\n            var authenticator = shaObj.getHMAC(password, \"TEXT\", \"SHA-1\", \"BYTES\");\r\n</script>\r\n\r\nChrome said \" c.charCodeAt is not a function \"? I can probably get by with HEX string or B64, but isn't v1.6 supporting bytes for input and output?\r\n"}}