Stefan Claas in de.test:
>Original Nachricht GPG symmetric, pw: 'detest':
>
>-----
>Guten Morge allerseits.
>
>Grüße
>Stefan
>-----
>
>Welche Nachricht ist von GPG und welche sind von 'rand' OpenSSL?
Sehen alle drei nicht aus wie von GnuPG.
| t20$ gpg --verbose --output est1.d.d --decrypt est1.d
| gpg: packet(1) with unknown version 250
| t20$ gpg --verbose --output est2.d.d --decrypt est2.d
| gpg: no valid OpenPGP data found.
| gpg: decrypt_message failed: Unknown system error
| t20$ gpg --verbose --output est3.d.d --decrypt est3.d
| gpg: no valid OpenPGP data found.
| gpg: decrypt_message failed: Unknown system error
| t20$ for i in est?.d;do hexdump -Cv $i;done
| 00000000 86 76 fa c7 7b fa 5b 2b b5 79 b3 b9 d5 6b 48 54 |.v..{.[+.y...kHT|
| 00000010 7b 9d 05 a9 a5 a6 35 98 3b aa 08 c9 0b 6a 19 3a |{.....5.;....j.:|
| 00000020 b4 94 3d ae c9 1e e7 8d 1a 34 ca fe 11 4e f3 7c |..=......4...N.||
| 00000030 8b a3 9c df fd d4 56 9f 46 44 3d 07 9f a5 b3 4c |......V.FD=....L|
| 00000040 c0 5f 33 e2 f4 a9 e3 8c a0 a2 1e f7 a2 e1 57 22 |._3...........W"|
| 00000050 e3 c1 32 15 16 0c 68 ce 1e f7 e2 83 94 2e 40 64 |..2...h.......@d|
| 00000060 b3 28 f7 5d 10 b2 77 4e 65 27 c0 38 67 4c 81 86 |.(.]..wNe'.8gL..|
| 00000070 71 ef c6 64 1b 4e |q..d.N|
| 00000076
| 00000000 46 45 7b c3 d2 c7 89 03 47 8c a5 0e 12 09 b5 51 |FE{.....G......Q|
| 00000010 f6 aa ea ea 98 f4 73 ac e6 02 ad 2d 36 6b b7 62 |......s....-6k.b|
| 00000020 71 e9 9f cf 7c 57 d3 7f f4 e2 95 4b e7 a6 b7 dd |q...|W.....K....|
| 00000030 14 ab 63 1f d3 6c c3 cf 75 8c 55 18 dd 64 2f 82 |..c..l..u.U..d/.|
| 00000040 20 4c 56 cd 5e 4b e7 f6 a3 53 9b 35 dd 0e 37 60 | LV.^K...S.5..7`|
| 00000050 5d 53 96 70 15 c6 39 cd 90 3a df 31 cf 15 ef 70 |]S.p..9..:.1...p|
| 00000060 78 1e b9 07 30 8c bd cb 5d fb 54 70 d4 93 b4 0f |x...0...].Tp....|
| 00000070 ec 00 54 81 15 7e |..T..~|
| 00000076
| 00000000 01 1b 2a 89 f3 10 df 32 60 47 d7 f3 74 57 e0 76 |..*....2`G..tW.v|
| 00000010 95 9d 73 95 09 36 fd 3a b4 cb e9 47 2d 46 26 cd |..s..6.:...G-F&.|
| 00000020 c9 41 77 31 f0 e5 82 6f d0 ee 86 a0 29 e1 16 d4 |.Aw1...o....)...|
| 00000030 3d e5 71 63 c0 63 f0 f4 49 63 89 9c 1f 69 e3 f4 |=.qc.c..Ic...i..|
| 00000040 4c a3 4d ab ff 8b 39 20 ca 92 ff cf 21 7e ba 8c |L.M...9 ....!~..|
| 00000050 b0 87 2f 06 51 41 91 0a 7a ba cf ce b8 f1 b7 29 |../.QA..z......)|
| 00000060 f3 32 93 da c7 84 d1 6a 82 b4 36 b1 d7 5a d4 4e |.2.....j..6..Z.N|
| 00000070 b5 52 40 5f ec 1b |.R@_..|
| 00000076
Bei der zweiten und dritten Nachricht ist das erste Bit
nicht gleich 1. Ich weiß jetzt nicht, ob bei OpenPGP das
erste Bit immer 1 sein muß.
Du hast sie wahrscheinlich durch Deinen Feistel-Verwürfler
gejagt. Also mit anderen Worten: noch mal verschlüsselt.
| This is a Golang library implementing the Feistel cipher
| for Format-Preserving Encryption (FPE).
|
| Motivation
|
| The main objective of this library is not to provide a
| secure encryption scheme but rather a safe obfuscation
| tool.
Das gelingt damit natürlich sehr gut.
Marcel
--
╭──────╮ ╭──╮ ╭──╮ ╭────────╮
╰───╮ │ │ ╰─╮ ╭─╮ ╭─╮ ╭───╯ │ ╰──╮ ╰───────
╭─╮ ╭──╯ ╰─╮ ╭────╯ ╭─╯ │ ╰──╮ │ ╰─╮ ╰───╮ ╰──╮ ╰────╮
─╯ ╰──╯ ╰──╯ ╰─────╯ ╰─╯ ╰──────╯ ╰───────╯ 8bba21