Skip to content

Instantly share code, notes, and snippets.

Avatar

Gabriel Munteanu gabriel-munteanu

View GitHub Profile
@gabriel-munteanu
gabriel-munteanu / gist:f5e2c65bdce73f385578d48af8ca64cc
Created Oct 8, 2020
JavaScript for converting hexbytes in usable signature
View gist:f5e2c65bdce73f385578d48af8ca64cc
let x='8d76008d45b8897db8894424088b45d48944'.toUpperCase(); let res= ''; for(let i=0; i< x.length; i=i+2) { res += '\\x'+x[i]+x[i+1];} console.log(res);
You can’t perform that action at this time.