simpletextcrypt
simpletextcrypt copied to clipboard
[Question] Decrypt text in linux
Hi, from the readme.md it said that the plaintext uses AES in CBC mode with PKCS5 padding for encryption. If I know the key, is it possible to decrypt the encrypted-text in linux with the openssl command?
Sorry for the very long delay.
Yes. It uses standard algorithms. Note two things:
-
IV (initial vector) is a random string. First 16 chars of the encrypted string (the string app produce) is the IV. You need to separate that from the enctypted string.
-
Encrypted string is in the Base 64 format. I don't know if openssl accept it as it is. You may need to convert that to other formats.