WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
What is FASM G
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
Pages (2) [1] 2   ( Go to first unread post )

RAR Archive Creator example in MASM, rarfile creation and encryption principle

huntingspace
Quote Post


Very Active Member
****

Group: Members
Posts: 60
Member No.: 49504
Joined: 11-February 12


Sponsored Links
This project is only simple example in MASM and demonstrates a rarfile creation and encryption principle (this example without compression - store only).

It includes following:

1) SHA-1 procedures (RarSHA1.asm) are used to get 'salt' (required to increase encryption security) and encryption keys;
2) AES-128 (Rijndael) procedures (RarAES.asm) are used to encrypt archived file;
3) CRC32 procedures (RarCRC.asm) are used to calculate CRC checksum of archived file;
4) Main procedures (RarMainProcs.asm) are used to create rar archive, to get creation time of archived file and etc.

P.S. More features only in WinRar...

MD-5 : 1ba3568711b5093fecc54b106155f6c8
SHA-1 : 48288830cb8696314a4b1491a9411d9fad5fc139


Attached File ( Number of downloads: 305 )
 Login or Register to download
PMEmail Poster
Top
shoorick
Quote Post


Extremely Active Member
******

Group: Admins
Posts: 2342
Member No.: 160
Joined: 22-June 04


quiet interesting, but it damages the filenames with national characters
PMEmail PosterUsers Website
Top
huntingspace
Quote Post


Very Active Member
****

Group: Members
Posts: 60
Member No.: 49504
Joined: 11-February 12


thanks for comments. damages because it is ANSI project in defference from winrar which is Unicode application. for work with national characters need use Unicode APIs.
PMEmail Poster
Top
asm_passme
Quote Post


Member
**

Group: Members
Posts: 21
Member No.: 918
Joined: 10-January 05


thank you very much.
PMEmail Poster
Top
shoorick
Quote Post


Extremely Active Member
******

Group: Admins
Posts: 2342
Member No.: 160
Joined: 22-June 04


QUOTE (huntingspace @ Feb 16 2012, 10:05 AM)
thanks for comments. damages because it is ANSI project in defference from winrar which is Unicode application. for work with national characters need use Unicode APIs.

i'll look inside when i'll have a little free time. it is possible to use unicode conversion in ansi application, at least using current system codepage.

regards!
PMEmail PosterUsers Website
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Pages (2) [1] 2  Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google