Questions tagged as 'aes'

2
answers

What is end-to-end encryption? How to apply it?

According to everything I researched and with the help of @bigown I came to the conclusion: "End-to-end encryption is done when only the connection's points have access to the key that will decrypt the content, that is, the data can UP or DOWN...
asked by 06.02.2015 / 23:07
1
answer

How to Encrypt with the AES Algorithm using 128-192-256 keys in Java

I need to do an encryption with the AES algorithm by testing the runtime according to the sizes of the keys (128-192-256), but I can not find how to toggle the size of the key to be generated by the system, since my code returns that the key siz...
asked by 15.09.2015 / 21:47
1
answer

AES in PHP is secure?

I am planning to deploy AES in an area of an intranet that is under development so that the user can save important data such as account passwords and passwords for accessing servers, as well as transferring data through an API for servers exter...
asked by 06.08.2015 / 06:47
1
answer

Maximum memory consumption in linux bash using openssl with aes

#!/bin/sh SUM = 0 for i in {1..5} do t=$((/ usr / bin / time-f '% e' openssl enc -aes-128-ecb -K 1234567890 -in t -out g 1> /dev/null) 2> &1) SUM = 'bc <<<" $ SUM + $ t "' done res = bc <<< "scale = 4; $ SUM / 5" echo...
asked by 27.04.2018 / 15:30
1
answer

Cryptographic test diverging from class execution

I made my java class for encryption using AES. But I went to test her on this site here: link    java class: text : test key : abcdefghijklmno1 result : 5brjBUDRtK7OzHLZf / Pv9A == but the result of the site was different: 9rHpDdo...
asked by 26.09.2016 / 15:54
1
answer

How to encrypt multiple variables inside a file with php?

I'm using php to read a file for a $string , it has some variable words that I need to find and replace with others, ie I need to get these variables, encrypt them with AES and write back where they were, making a replace . The...
asked by 19.10.2016 / 06:16
1
answer

C # AES Cryptography with MD5

I'm doing a college job where I need to encrypt a string with AES and Md5. When I do the encryption, it returns the normal result (I think), but when I go to decrypt, it returns the following error:    CryptographicException : The input d...
asked by 23.11.2017 / 15:36
2
answers

TypeError: Incorrect padding

I am trying to decrypt AES, but I am encountering the following error:    Traceback (most recent call last):     File "./teste2.py", line 190, in main ()     File "./teste2.py", line 186, in main decrypt (password)     File "./teste2.py",...
asked by 14.03.2016 / 00:18
1
answer

AES JSF Encryption

I have the following problem, I have an AES encryption algorithm. When I run it through main it works, but when I run it on a jsf page and decrypt the text it returns several ????? when it contains special character in the String. I'm using the...
asked by 23.09.2016 / 17:32
0
answers

Cryptography AES256 with JCE [closed]

I am using AES256 encryption in a communication project and would like to know if there is any restriction on the use of this encryption with the Java Cryptography Extension Unlimited Strength Jurisdiction Policy (JCE), and what the implication...
asked by 24.09.2015 / 19:54