Colduction Posted March 31, 2020 Posted March 31, 2020 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?
faustf Posted March 31, 2020 Posted March 31, 2020 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
Colduction Posted March 31, 2020 Author Posted March 31, 2020 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
faustf Posted March 31, 2020 Posted March 31, 2020 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
Colduction Posted March 31, 2020 Author Posted March 31, 2020 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 :)❤
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now