80 likes | 202 Vues
This project focuses on symmetric encryption and decryption of messages using AES-256 for reliable secure communication. It highlights key management best practices through the use of SecureSQLite databases and QR code libraries for key import. Built on the aSmack library under the Apache License 2.0, the project facilitates XMPP communication for sending and receiving messages securely. Additionally, it includes components for password generation and features a live demo showcasing the implementation of the encryption methods and database security.
E N D
Projektteam • Kieslich • Lindorfer • Schöllhammer
Ziele • Symmetrische Ver/Entschlüsselung • von Nachrichten • mit AES-256 • Schlüsselmanagement • SecureSQLite DB • Schlüsselimport • QR-Code
Bibliotheken • aSmack • Apache License, Version 2.0 • XMPP kommunikation • Senden/Empfangen von Nachrichten • sqlcipher for android • Apache License, Version 2.0 • AES-256 • Verschlüsselung der Datenbank
Arbeitspakete • Design/Views • Datenbank • QR-Import • Passwordgenerierung
Password generierung public staticbyte[]generateSeed(){ intrecorderBufferSize=AudioRecord.getMinBufferSize(8000, AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT)* 2; AudioRecord recorder =newAudioRecord(AudioSource.DEFAULT, 8000, AudioFormat.CHANNEL_IN_MONO,AudioFormat.ENCODING_PCM_16BIT, recorderBufferSize); byte[]recordedAudioBuffer=newbyte[recorderBufferSize]; recorder.startRecording(); intbufferRead=recorder.read(recordedAudioBuffer, 0,recorderBufferSize); try{ Thread.sleep(200); }catch(InterruptedException e){ e.printStackTrace(); } recorder.stop(); recorder.release(); returnrecordedAudioBuffer; }