Questions tagged [aes]

AES (advanced encryption standard) is an encryption algorithm which is used by organizations like U.S. Department of Defense and standardized by the NIST (National Institute of Standards and Time).

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

What is module aes-i586?

I'm using LMDE4 with LVM on LUKS and recently I've been getting these cryptic error messages at boot: modprobe: module aes-i586 not found in modules.dep Volume group "lvmlmde" not found ...
0
votes
0answers
216 views

How to download aes encrypted m3u8 using ffmpeg?

I tried to download a m3u8 video that seems to be AES encrypted using ffmpeg. I tried several method and could not figure out how to download it. (eg : this method) Could you please help me ? Here is ...
0
votes
0answers
26 views

Get HLS decryption key from browser

How can I get decryption key for AES-128 encrypted HLS stream. In the m3u8 file, the URI for key leads to a file which is of 48 bytes which is encrypted. The stream is played by browser so it must ...
0
votes
0answers
67 views

Decrypt AES-256 encrypted enc file with key

How can decrypt a "example.jpg.enc" file from telegram messenger that encrypted with AES-256 CBC with a key like this: i tried openssl for decryption but i had this error "error ...
0
votes
0answers
45 views

Decrypt AES 128 encrypted file with a key file

I have a file which is encrypted using AES 128 and I have a key file. How can I decrypt the file using the key file? The key file has no extension, I opened it in notepad and it has bizarre text.
0
votes
0answers
121 views

How to decrypt ts file when m3u8 file has 'k/timestamp' as key URI?

I am trying to download a HLS stream video as mp4. The stream is AES-128 encrypted and the URI for key is k/timestamp. #EXT-X-KEY:METHOD=AES-128,URI="k/timestamp",IV=...
0
votes
1answer
277 views

decrypt video encrypted with ffmpeg cenc-aes-ctr using other non-ffmpeg tool

I have a video that is encrypted using FFmpeg cenc-aes-ctr ffmpeg -encryption_schema cenc-aes-ctr \ -encryption_key someRandomKey \ -encryption_kid someRandomKid \ -i video.mp4 encrypted.mp4 Now I ...
0
votes
0answers
31 views

Is there a reason 7zip won't accept the correct password for my encrypted archive?

I have some passwords saved in a .odf (Libre Office) file. The file is password protected through Libre Office. On top of that I used 7zip to archive and encrypt the file with 7zip's built in AES-256 ...
0
votes
1answer
144 views

Equivalent hashcat commands for a openssl-enc command?

This is to find the passphrase for a block cipher. A test generated cipher can be decrypted using $ openssl enc -d -aes-256-cbc -md md5 -a -in filename which prompts via th console for the password. ...
1
vote
0answers
53 views

Cold storage on paper: ASCII of an AES-256 crypted text (gpg)?

I want to encrypt a passphrase offline using an air-gapped computer and print it for cold storaging. I'm using this command to encrypt: gpg --s2k-mode 3 --s2k-count 65011712 --s2k-digest-algo SHA512 --...
3
votes
0answers
44 views

File/Dir/Tar encryption pipeline - what md/cipher/mode?

I'm piping the results of a tar operation into openssl. File size is typically less than 10GiB. I've been doing some reading and come up with what I think would be considered secure and fast enough in ...
-1
votes
1answer
942 views

OpenSSL performance test on a specific file

I m new in this world of Cryptography. I`m trying to check the performance of the various algorithms on with OpenSSL. Looking on the internet I find this command : openssl speed aes-128-cbc des ...
6
votes
0answers
5k views

Does Raspberry Pi 4 support AES hardware acceleration?

I have Raspberry Pi 4 B (4GB version), I wonder if it supports AES hardware acceleration (so some special instruction set for CPU for faster encryption). According to https://en.wikipedia.org/wiki/...
-1
votes
1answer
589 views

Aes256-cbc encoding/decrypting error

I have been using gibberish.aes javascript code to encrypt some strings but when using a password such as £ or á, openssl command line does not want to decrypt it and spits out randomness but it works ...
0
votes
0answers
802 views

Generate Private Key with AES 256 CTR

How to generate a private key with AES 256-CTR ? I need a private key with CTR as CBC is no longer supported by my client. Please advise Details: We need to connect to an SFTP instance of client ...
2
votes
1answer
2k views

What is the default encryption key-size for dm-crypt / cryptsetup in LUKS mode?

I'm using cryptsetup 2.1.0, for which the default encryption options are (as reported by cryptsetup --help): Default compiled-in device cipher parameters: LUKS: aes-xts-plain64, Key: 256 bits, ...
0
votes
1answer
2k views

What's the best option for encrypting a file with openssl and a password?

I'm using a command to encrypt and decrypt files based on a password: openssl aes-256-cbc -a -salt -in secrets.txt -out secrets.txt.enc --pass pass:mypassword and openssl aes-256-cbc -d -a -in ...
1
vote
1answer
119 views

Does 7zip for Linux support AES-NI?

I am looking to encrypt a set of fairly large files using well supported, ideally cross-platform software. I understand that 7zip uses 256 bit AES encryption. Does anyone know if standard Linux ...
8
votes
2answers
15k views

How to encrypt txt files with AES256 via Windows 7z command line?

I have 7z on windows , and I want to encrypt 1 txt file with AES256 via 7z command line. How can I do it please?
1
vote
1answer
26k views

How can I encrypt / decrypt AES-256 CBC with OpenSSL?

I just installed Linux (Ubuntu) for the first time and downloaded package OpenSSL as well. Opened command line too and tried some commands but none of them worked. So what I have is initial vector: ...
0
votes
0answers
187 views

Is it safe to store the encrypted private key of a RSA pair on the same machine as the encrypted data?

I was not sure how to google this. I want to set up a storage server where I encrypt everything that is sent to it, from anywhere. The files sent to it would automatically get encrypted by the public ...
1
vote
1answer
425 views

Few initial character are missing while AES decryption using openssl

I have done the encryption for the file through code using IVStatic = true and keysize = 256. Now I am trying to decrypt the file using openssl commands. I extracted IV from the IV from the file. ...
3
votes
3answers
11k views

Unable to decrypt AES with OpenSSL

I am working on a ctf game: Encrypted with AES in ECB mode. All values base64 encoded ciphertext = 8LBUVZfDfI6wnggG1uUYuQsRoGd08pGwHCN++R5rabMW9PJmWHWcSrjy5Tfffj6L key = 3q1FxGhuZ5fQYbjzDxgQ35== I ...
4
votes
1answer
2k views

How to get Outlook 2013 to encrypt using AES and not 3DES

In my company we are exchanging emails with a government authority once a month and they require us to encrypt those emails with encryption algorithm AES-128, AES-192 or AES-256. For the purpose we ...
0
votes
1answer
289 views

HMAC GCM failure

I am trying to configure for IPSEC GCM- this is the error I keep getting: Error(s): 'encryption-algorithm aes-256-gcm' 1) HMAC Authentication is not compatible with AES-GCM 2) commit failed: (...
4
votes
1answer
8k views

OpenSSL gives “iv undefined” for AES-256-ECB

Can anyone spot why this command gives "iv undefined"? >openssl.exe enc -d -aes-256-ecb -K 8000000000000000000000000000000000000000000000000000000000000001 -in ex3.8_C.bin -out plaintext.bin -...
1
vote
0answers
141 views

OpenSSL Pads Keys in AES encryption?

I posted this on Stack Overflow but someone told me I should post it here instead. I'm trying to use aes-128-cbc encryption with openssl, and I would expect that the key needs to be 32 digits. ...
0
votes
1answer
344 views

Script for using AesCrypt on a lot of files

I'm just learning bash and I'm about to renew my backup security standards at home, just in case something happens. I have two external HDDs for Backup. I want to encrypt the files first on my laptop ...
1
vote
3answers
3k views

Is it possible to encrypt a file when adding it to an old zipped folder with 7zip?

So, I've been encrypting my online backups with AES 256 using 7zip. However, when I go to add a file to the old archive by opening it with 7zip and dragging the file I want to add into the 7zip window ...
4
votes
1answer
4k views

How to check AES speed on Ubuntu?

Is there any way to check how fast an Ubuntu 16.04 machine can do AES ciphering? I'm not interesting in comparing AES levels, but am just curious to see the cost quantified in some way. Since it's ...
4
votes
1answer
4k views

How to enable SSD encryption?

I just bought a Samsung EVO 840, which supports AES-256 encryption. Reading the very little documentation that I could find about SSD encryption, I found that I have to enter my BIOS, go to the ...
2
votes
1answer
1k views

OpenSSL AES speed different with EVP and no AES-NI

My computer does not have AES-NI, but when I run openssl speed with and without -evp I see a speed difference. Why is this? openssl speed aes-128-cbc Doing aes-128 cbc for 3s on 16 size blocks: ...
1
vote
1answer
1k views

Basic AES decryption problem

I'm working through the book Cryptography Engineering, and the current problem goes something like this: Using an existing cryptography library, decrypt the following ciphertext (in hex form): ...
0
votes
0answers
510 views

AES Encrypt DMG for Windows?

I need to encrypt a dmg file with an AES key. On MAC we can do so on Disk Utilities but how to do it on Windows? I tried Mac Tools Lite but it has no such function. I also tried Google Search but I ...
4
votes
1answer
22k views

How do I fix a cipher mismatch issue with sftp?

I'm running into an issue where a server was upgraded to RHEL 6.5, and we have automated bash scripts on an RHEL 5.9 install that connects through sftp and ssh commands. Now, the new server only ...
1
vote
2answers
19k views

Is it possible to add a cipher for an sftp client?

I'm running into an issue where a server was upgraded to RHEL 6.5, and we have automated scripts on an RHEL 5.9 install that connects through sftp and ssh commands. Now, the new server only supports ...
0
votes
1answer
6k views

Android - recover encrypted images

I have nearly 0 understanding of encryption, I just want to recover my old photos. In my old Android phone I used a certain photo-video locking app to encrypt my images. Images were stored on SD card....
0
votes
1answer
1k views

Decrypting the CipherValue in a PSKC file

This is the opposite of what I was doing in this question - https://crypto.stackexchange.com/questions/21021/encryption-and-hmac-in-a-pskc-file The spec is there at https://tools.ietf.org/rfc/rfc6030....
1
vote
1answer
3k views

Is there an AES 256 LUKS encryption option in Fedora?

it was suggested that my post (https://security.stackexchange.com/questions/73140/is-there-an-aes-256-luks-encryption-option-in-fedora?noredirect=1#comment120019_73140) would be better if I asked it ...
1
vote
0answers
352 views

Enable AES encryption via ATA password on Samsung Evo 840 with data already on the drive?

Does the Evo 840 support changing the AES key (more or less) on the fly (in my case from "no key" to "my key")? I don't mind if it takes an hour to encipher the data as long as I don't have to re-...
3
votes
2answers
2k views

gpg2 - no option to select aes block cipher and outdated use agent?

With OpenSSL, I can select a what type of block cipher to use for encrypting a file. For example, if I want to encrypt a file with AES256 CBC block cipher mode: openssl aes-256-cbc -a -salt -pass ...
0
votes
0answers
51 views

Question about AES and Cryptsetup

I've read that AES can work with three key sizes: 128 bits, 192 bits and 256 bits. I'm trying to set up a LUKS partition with CryptSetup, using “aes-xts-plain64” cipher. Why can I create keys of any ...
19
votes
5answers
29k views

Is it better to use Bitlocker or the built-in-drive-encryption that my SSD offers?

My system: Intel Core i7-4790, which supports AES-NI ASUS Z97-PRO mobo Samsung 250GB EVO SSD (with built-in encryption option) 64-bit Windows 7 If I just want to encrypt my boot drive with AES256 or ...
0
votes
1answer
62 views

Does software-based OTFE cripple SSD performance without CPU AES?

Sorry for the alphabet soup. I want to use software-based on-the-fly AES file encryption I will not use full disk encryption (only file and partition). This would be on an older Core 2 system, so ...
1
vote
1answer
2k views

How to get system-wide use of Intel's AES-NI acceleration with OpenSSL 0.9.8?

I found the following instructions to get Intel's contrib OpenSSL 0.9.8 engine code on some Westmere-based systems that we have: $ wget https://www.openssl.org/contrib/intel-accel-1.5.tar.gz $ tar -...
2
votes
1answer
2k views

How do I import a raw AES key to a JCEKS keystore?

I have some test data that is encrypted with 256 bit AES. The customer supplied the key as a 256 bit file. The application uses a java key store for decryption keys. The keytool options I've found ...
1
vote
2answers
1k views

How do you create an AES XTS key?

I am interested in hacking around with Gluster cloud FS whose most recent beta uses AES with XTS only. It also requires openssl >= 1.0.1. The 1.0.1f Jan 2014 openssl (with 64 bit lib) install for my ...
1
vote
0answers
78 views

Damn Small Linux: aes module not working

I try to get losetup with aes encryption working on a Damn Small Linux 4.11 rc2, but without success: # modprobe aes $ dd if=/dev/random ibs=512 count=256 of=crypt.img # losetup -e aes /dev/loop0 ...
8
votes
2answers
8k views

Changing encryption settings for Microsoft Office 2010/2013

Although there are Office 2013 settings to change how encryption is performed, when you encrypt Open XML Format files (.docx, .xslx, .pptx, and so on) the default values — AES (Advanced Encryption ...
44
votes
1answer
39k views

How do I fix “WARNING: message was not integrity protected” when using GPG symmetrical encryption?

I've encrypted a file using symmetric encryption like this: gpg --symmetric myfile which results in a file myfile.gpg. Alright. Now let's decrypt the file again: gpg -o myfile --decrypt myfile.gpg ...