![]() |
AW: Entschlüsseln einer Datei (DEC) mit Java problematisch
Zitat:
* Encrypt the ⌊N/L⌋ full blocks of plaintext using the cipher block chaining mode * Encrypt the last full encrypted block again; * XOR the remaining bits of the plaintext with leftmost bits of the re-encrypted block. Wenn Du im letzen Teil zb 11 Bytes hast, wird bei CFB8 das 11-te Byte abhängig von den vorherigen 10 Bytes via Feedback behandelt. Das ist dem zitierten RBT nicht der Fall. (Eventuell bei CFB<Blocksize> also bei AES/CFB128). (CFB8 sollte mit 8 Feedback-Bits arbeiten, CFB1 mit einem, CFB mit einem ganzen Block, aber die Bezeichnungen sind wohl nicht eindeutig) |
AW: Entschlüsseln einer Datei (DEC) mit Java problematisch
Zitat:
|
AW: Entschlüsseln einer Datei (DEC) mit Java problematisch
Also so richtig weiter komme ich immernoch nicht. ich hab jetzt herausgefunden wie die Datei wohl aussehen wird, wenn sie fertig ist:
Identität(Long)Modus(Byte)HashIdentität(Long)Seed( Binary)FileSize(Long)VerschlüsselterDateiinhalt(Fi leSize)CalcMAC(Keine Ahnung wie lang) Jetzt ist ja die Frage, wie man das ganze dann in Java wieder entschlüsseln kann. Weiß da jemand eine Antwort drauf? ich denke immernoch, dass der Verschlüsselungsmodus (Modus) frei wählbar, aber standardmäßig cmCTSx, ist. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:49 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz