Please visit IMEI - ImageMagick Easy Install for a the latest, improved version.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @ECHO OFF | |
| goto :start | |
| MIT License | |
| Copyright (c) 2020 Sascha Greuel <hello@1-2.dev> | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const hashBrowser = val => | |
| crypto.subtle.digest('SHA-256', new TextEncoder('utf-8').encode(val)).then(h => { | |
| let hexes = [], | |
| view = new DataView(h); | |
| for (let i = 0; i < view.byteLength; i += 4) | |
| hexes.push(('00000000' + view.getUint32(i).toString(16)).slice(-8)); | |
| return hexes.join(''); | |
| }); | |
| hashBrowser(JSON.stringify({ a: 'a', b: [1, 2, 3, 4], foo: { c: 'bar' } })).then(console.log); |
I hereby claim:
- I am softcreatr on github.
- I am softcreatr (https://keybase.io/softcreatr) on keybase.
- I have a public key ASBeCREGTrqjYfuasx33kBiM979-wX0rOPy9Ezd5-Q_n6Qo
To claim this, I am signing this object: