static S md5OfBWImage(BWImage img) ctex { MessageDigest m = MessageDigest.getInstance("MD5"); m.update(intToBytes(img.getWidth())); ret bytesToHex(m.digest(img.getBytes())); }
Began life as a copy of #1004629
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1015232 |
Snippet name: | md5OfBWImage - OLD - DIFFERENT than md5 of RGBImage/BufferedImage! |
Eternal ID of this version: | #1015232/1 |
Text MD5: | e1efdea2088234378d2de590fd36efea |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-10 21:59:47 |
Source code size: | 185 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 431 / 417 |
Referenced in: | -