gchq / CyberChef

The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis

Home Page:https://gchq.github.io/CyberChef

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Operation request: ECIES (Elliptic Curve Integrated Encryption Scheme libraries) encryption

jitcor opened this issue · comments

commented

Summary

Please support ECIES (Elliptic Curve Integrated Encryption Scheme libraries) encryption, the official implementation of the address: https://github.com/ecies, which has a js implementation of the version, you can directly copy over.

Example Input

PrivateKey

00000000  7f e7 ba 53 77 d3 c3 11  b9 33 f3 92 fd 15 6e ee  |...Sw....3....n.|
00000010  bf 36 a8 54 03 02 41 d5  65 e9 53 75 23 b7 d0 14  |.6.T..A.e.Su#...|
  • hex
7fe7ba5377d3c311b933f392fd156eeebf36a854030241d565e9537523b7d014

PublicKey

00000000  04 d5 c4 e9 85 7d a2 5e  7b 54 ef c3 7b 4f 4f cb  |.....}.^{T..{OO.|
00000010  0e fa b9 40 27 8d dd 50  79 31 84 74 66 24 c3 9b  |...@'..Py1.tf$..|
00000020  fa d7 d4 4f 96 8e 4b e7  52 a7 56 aa 33 b6 5d 26  |...O..K.R.V.3.]&|
00000030  e5 c5 1a bc d3 45 b9 24  79 ce 4e 98 80 2f ba 48  |.....E.$y.N../.H|
00000040  5d                                                |]|
  • hex
0404f14a7247b90dd61a7c9e87a2df48411ad488d0dad6ec5f8ebabb554fb5c9f40a057dbc814e50b6b156d6e22ba35f5f48ddf22fa3005eb271ba0f080d3dea4a

plaintext encrypted

00000000  04 e1 15 9f 96 86 0b fa  a7 a5 90 ee bc 16 97 fc  |................|
00000010  19 1a 9c 7a 07 12 3c 33  40 b3 d0 80 04 92 ab 2d  |...z..<3@......-|
00000020  1c 24 c0 50 d1 cf 56 7e  9f 1d 9e fb 63 d5 da 75  |.$.P..V~....c..u|
00000030  7a 7a 52 13 79 4b e0 49  1a a0 d1 83 71 ba b9 8e  |zzR.yK.I....q...|
00000040  73 37 fd 80 51 23 4b ec  e0 b8 60 f6 49 f9 2d 2b  |s7..Q#K...`.I.-+|
00000050  a1 bc b8 74 98 28 21 0d  2f 55 b2 f5 96 fc 01 e4  |...t.(!./U......|
00000060  79 19 59 1c dd 6a 95 07  59 14 17 c2 43 50 18 b8  |y.Y..j..Y...CP..|
00000070  95                                                |.|
  • hex
0454c9f93b17ee70234569dd4ff56cd357ce04451977397ae04691058c8363583258afb06e866a777bff6bf0b2d3040ba67fea3260d7a2d02357b5da7a80d49d5259fc7dba5437931a3221f23b323402aa5a6eacbcee13f19a108f62b5126a65ae2b334d00654f157e1841ace3d1924e38

Example Output

ciphertext decrypted

THIS IS THE TEST