AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

JAVA Encryption in Delphi umsetzen

Ein Thema von Ajintaro · begonnen am 20. Okt 2015 · letzter Beitrag vom 28. Okt 2015
 
Benutzerbild von Ajintaro
Ajintaro

Registriert seit: 20. Okt 2004
Ort: Sankt Augustin
138 Beiträge
 
Delphi XE6 Starter
 
#1

JAVA Encryption in Delphi umsetzen

  Alt 20. Okt 2015, 10:09
Hallo,

ich habe eine JAVA-Verschlüsselungsroutine erhalten und möchte dies mit der Chillkat Komponente umsetzen.
Ich kann es leider nicht selbst umsetzen und wollte an dieser Stelle nach jemandem suchen, der es für mich umsetzen kann.

Was ich liefern kann:
  • Chillkat Komponente
  • Delphi Demo mit funktionierender AES Verschlüsselung
  • JAVA-Routine mit Quelltexterläuterungen

Was ich brauche:
  • Umsetzung der JAVA-Routine in Delphi (DEC oder Chillkat Library)

Method
AES/CBC/PKCS5Padding

Secret Key
128bits

Initialization Vector
  • requires to have 128bit (Same length as the blocks in AES)
  • IV used during encryption should be added in front of encrypted data
  • new IV should be generated for each encryption

Encrypted token format
The process to build the token from encrypted data is:
  1. Compute SHA1 of the 4 first bytes of the encryption key
  2. create the part to be signed by concatenating:
    • 0x00
    • 4 first bytes of SHA1 computed in Step 1
    • Encrypted data
  3. Using HmacSHA1 of the encryption key, sign the block of data generated in Step 2
  4. Concatenate block of data from step 2 with the one from step 3
  5. Encode using base 64 the block generated in previous step

Falls jemand Zeit und Lust hat, schreibt mich bitte per PN oder Email (the_summoner@hotmail.com) an und wir besprechen dann die Details.
Jaimy
DAoC 2.0 -> Camelot Unchained !

Geändert von Ajintaro (20. Okt 2015 um 13:25 Uhr) Grund: Text angepasst
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:36 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