Questions tagged as 'encriptacion'

8
answers

How to always get the same results when encrypting a chain?

I have this function that serves to encrypt strings: public function encriptar($string) { $iv = mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_CBC), MCRYPT_DEV_URANDOM); $encrypted = b...
asked by 12.11.2016 / 10:39
3
answers

Encrypt RSA in C # decrypt in java

I am building two applications one in C# and one in Java, which will use RSA as part of the encryption and decryption that should be handled. When I encrypt with java and decrypt in c# works perfect, the problem is when I...
asked by 04.09.2016 / 03:40
1
answer

Login with password_verify

I applied encryption passwords using password_hash() . When I try to login using password_verify I can not access. I think the problem is in the $row = $query->fetch(PDO::FETCH_ASSOC) part because when I do var_damp(...
asked by 01.06.2017 / 12:17
1
answer

AIX's MIXCOLUMNS AND ADDROUNDKEY operations can be switched?

I wanted to know if AIX's MIXCOLUMNS AND ADDROUNDKEY operations can switch without affecting the solution     
asked by 19.08.2016 / 03:30
0
answers

Send text to a window (Python)

I have to execute a cmd command from python and I do it using subprocess: The command in cmd would be "gpg -d filenameEncriptado.gpg", in python it would be something like this: import subprocess subprocess.call(['gpg' ,'-d', 'nombreArchivo...
asked by 05.12.2018 / 22:24
0
answers

Is it possible to encrypt the javascript of a web created with Html5? [closed]

I would like to know if you can encrypt the javascript of a web created with Html5 and if this is true, is it safe to do so? Does it not bring problems when running in the browser? is that I want to encrypt my javascript     
asked by 27.07.2017 / 05:52
1
answer

Different encryption in SQL

I have a table (Users) with 2 rows nameUser como varchar(50) passUser como varbinary(200) The question is that I am entering test data for later processing but I have noticed that entering the same password gives different encryption, for e...
asked by 15.08.2018 / 22:46
1
answer

Encryption of SHA1 algorithm with Tkinter

Hi, I'm doing an SHA-1 algorithm exercise with Python 3.4 and Tkinter My problem is that I do not know how to show the result of the conversion of my caja1 to the caja2 . Here is the code: from tkinter import * from hashlib i...
asked by 02.04.2016 / 19:20
1
answer

org.apache.commons.codec.DecoderException: Odd number of characters

I have the following error in compiling tests and I would like to help me solve it: String nonce2 = "11111"; String api_key = "271e6189-c251-4067-ab55"; String api_secret = "c9f98b81-e825-4588-b095"; String algorithm = "HmacSHA256"; byte[] k...
asked by 06.05.2016 / 17:09
1
answer

Problem when encrypting and decrypting in client and server

I want to send a message (in this case simply "123456") encrypted from the client to the server so that the latter can decipher it. All this I do with a symmetric key that both have. The objective with this would be in a basic way to know that t...
asked by 22.05.2018 / 17:41