quickbms mcrypt

Doubts, help and support about QuickBMS and other game research tools
chrrox
Posts: 388
Joined: Thu Aug 07, 2014 10:28 pm

quickbms mcrypt

Post by chrrox »

is there a way to make files work in quickbms that were encoded with mcrypt to work with standard aes interface?
mcrypt_rijndael-256_cbc
mcrypt_rijndael-128_cbc
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: quickbms mcrypt

Post by aluigi »

quickbms uses the following C code:

Code: Select all

    } else if((mcrypt_ctx = quick_mcrypt_check(type))) {    // libmcrypt
        if(mcrypt_generic_init(mcrypt_ctx, key, keysz, ivec) < 0) {
            fprintf(stderr, "\nError: mcrypt key failed\n");
            myexit_cmd(cmd, QUICKBMS_ERROR_ENCRYPTION);
        }

where "type" is what you used as encryption algorithm, for example "mcrypt_rijndael-256_cbc".

Doesn't it work?
chrrox
Posts: 388
Joined: Thu Aug 07, 2014 10:28 pm

Re: quickbms mcrypt

Post by chrrox »

It works fine I was just reading online that with some padding normal aes should work also?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: quickbms mcrypt

Post by aluigi »

honestly didn't check how mcrypt works :)