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
-1
votes
1answer
270 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 ...
4
votes
0answers
2k 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
206 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
317 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 ...
1
vote
1answer
774 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, ...
1
vote
0answers
600 views

How to enable hardware encryption on a 1TB Intel SSD 660p?

How to enable hardware encryption of my 1TB Intel SSD 660p 1TB? I can't find any useful information on the internet. I hope that the encryption function can be used for theft prevention. My ...
0
votes
1answer
731 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
85 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 ...
4
votes
2answers
9k 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
11k 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
102 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
348 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
8k 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
1k 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
209 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: (...
2
votes
1answer
6k 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
124 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
284 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
2answers
2k 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 ...
3
votes
1answer
3k 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 encryption AES-256. 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
471 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
20k 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
15k 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
5k 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
931 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
332 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
49 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 ...
18
votes
5answers
25k 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
60 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
73 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 ...
45
votes
1answer
33k 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 ...
1
vote
1answer
1k views

Upgrading from loop-aes to cryptsetup

Once upon a time, I had an encrypted external disk that I would mount thus: # losetup -e AES128 /dev/loop1 /dev/sdb1 # fsck /dev/loop1 # mount /dev/loop1 /mnt/wd # ls /wd There are those that say ...
4
votes
3answers
3k views

Disk encryption: advantages and drawbacks of hardware disk encription vs dm-crypt

I'm going to reinstall my system (Ubuntu) on a Samsung 840 pro SSD. This disk can do AES hardware encryption. I wonder what would be the drawbacks and/or advantages of taking this approach versus ...
8
votes
4answers
26k views

OpenSSL hash function for generating AES key

What hash function does OpenSSL use to generate a key for AES-256? I can't find it anywhere in their documentation. $ touch file $ openssl aes-256-cbc -nosalt -P -in file enter aes-256-cbc ...
0
votes
1answer
476 views

data safety in excel

If protecting workbook in ms excel (2010, 2007, 2003) is enough safe for a sensitive data? There is a possibility to choose encryption aes 128 bit in ms excel 2003 and 2007 (as default), from that ...
4
votes
0answers
4k views

How to use an old Kingston DataTraveler Vault Privacy USB flash drive on Linux?

My company provides me a DTVP with hardware AES encryption two years ago and the CDrom image does only contain tools for Windows and MacOS X. Kingston products now have support for Linux. Current ...
5
votes
1answer
856 views

Intel's AES-NI performance: Isn't the hard drive the bottleneck?

Will I see a performance gain with AES-NI using dm-crypt/LUKS for hard drive system encryption? Isn't the hard drive the bottleneck even without hardware acceleration?
3
votes
2answers
135 views

Speed of encrypted flash drive

I've encrypted my Transcend Jetflash flash drive (16 GB, USB2, ext2). Before the operation, the flash drive's speed was: # dd if=/dev/zero of=/media/JetFlash/file bs=1M count=256 Results with: 26,5 ...
1
vote
1answer
3k views

How to determine if zip is encrypted by AES

I have to determine encryption method of ZIP files I'm receiving. Mostly I'm interested to know if AES was used or not... Any idea ?
11
votes
5answers
12k views

Is it safe to store my passwords in an encrypted .7z/.zip by 7-zip?

Here is what I do: Type in all kinds of passwords in an excel file (.xlsx) Zip it with a password by 7-zip AES 256 length > 8 combination of A-Z a-z 0-9 symbols different from ...
2
votes
2answers
2k views

Questions on 'gpg2' security

I have a couple of questions on the security of gpg/gpg2 using symmetric encryption. They are (I imagine) very basic, so apologies if they are documented somewhere. The thing is, I don't know what to ...