Jump to content

Recommended Posts

Posted

Hello again to all, I've searched many times in forum and help file to find AES-256-GCM Algorithm for Crypt\Decrypt strings and files but i did not find anything about GCM Algorithm.

Do you have any idea for solving this issue?

Posted
26 minutes ago, faustf said:

probably you can use openssl , you can do a wrapper for do that

try to look here

https://www.shellhacks.com/encrypt-decrypt-file-password-openssl/

this link is for linux , but command is similar i think

https://crypto.stackexchange.com/questions/76177/how-to-encrypt-files-using-aes256-gcm-cipher-under-linux

for create wrapper in autoit use Run .... help file is good

bye good luck

Hi @faustf, i've python code with custom cipher and custom iv to do this, but i don't have information about python programming:

 

def decrypt_password(buff, master_key):
    try:
        iv = buff[3:15]
        payload = buff[15:]
        cipher = generate_cipher(master_key, iv)
        decrypted_pass = decrypt_payload(cipher, payload)
        decrypted_pass = decrypted_pass[:-16].decode()
     return decrypted_pass

 

Posted

i suppose 

generate_cipher(master_key, iv)

is like our UDF

 

 pass at function or class  the master key and iv  , generate chiper with two elements  and algoritm (inside a generate_cipher)create a cipher and after pass at decrypt_payload

but  i supppose you can install openssl http://gnuwin32.sourceforge.net/packages/openssl.htm

and use open ssl for  decrypt and crypt password but i think you must look inside generste cipher or understund a logic behind

Posted
1 minute ago, faustf said:

i suppose 

generate_cipher(master_key, iv)

is like our UDF

 

 pass at function or class  the master key and iv  , generate chiper with two elements  and algoritm (inside a generate_cipher)create a cipher and after pass at decrypt_payload

but  i supppose you can install openssl http://gnuwin32.sourceforge.net/packages/openssl.htm

and use open ssl for  decrypt and crypt password but i think you must look inside generste cipher or understund a logic behind

i know, but i want to use standalone udf to do this, not using openssl

thanks for your care my friend :)❤

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...