Skip to content

Instantly share code, notes, and snippets.

View gabriel-munteanu's full-sized avatar

Gabriel Munteanu gabriel-munteanu

View GitHub Profile
@gabriel-munteanu
gabriel-munteanu / gist:f5e2c65bdce73f385578d48af8ca64cc
Created October 8, 2020 22:25
JavaScript for converting hexbytes in usable signature
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);