Page 1 of 1

AES universal crypter - Very simple using

Posted: Fri Sep 16, 2016 11:44 am
by walbus

Re: Advanced AES universal crypter Module

Posted: Fri Sep 16, 2016 8:14 pm
by walbus
Yep, now, how i can encrypt a file with this crypter ?

Looking, this is all you want to encrypt and decrypt any files with the QUICK-AES-256 smart crypter...

Only one line code for the crypter LOL... :shock:

This is sooo simple...

Code: Select all

UseModule QAES_smart_coder
 path$ = OpenFileRequester("Select a file too encrypting or decrypting !", "", "*.*", 0)
 file=OpenFile(#PB_Any, path$)
 If file
   *buffer=AllocateMemory(Lof(file))
   ReadData(file, *buffer, MemorySize(*buffer))
   QAES_smart_coder(*buffer, *buffer, MemorySize(*buffer), "Your key")
   FileSeek(file, 0) : WriteData(file, *buffer, MemorySize(*buffer)) : CloseFile(file)
 EndIf

Re: Advanced AES universal crypter Module

Posted: Sat Sep 17, 2016 2:59 am
by Keya
you made me read about OFB mode, some interesting qualities :)
https://en.wikipedia.org/wiki/Block_cip ... _.28OFB.29