Questions tagged as 'encriptacion'

0
answers

BadPaddingException and IllegalBlockSizeException errors when encrypting files with AES

The following code throws me the error when I select a somewhat heavy file as a Word :    BadPaddingException And this error when I select a simple file txt :    IllegalBlockSizeException These errors only appear when...
asked by 25.05.2016 / 04:41
1
answer

Error encrypting with affinity algorithm

I am using afin encryption with its formula int main(){ char p[100]; char alf[]="abcdefghijklmnopqrstuvwxyz"; int a, b; printf("ingrese la palabra "); gets(p); printf("ingrese la constante de decimacion "); scanf("%i",&a); prin...
asked by 24.10.2017 / 03:20
0
answers

How can I encrypt and decrypt in android studio with 3DES (TRIPLE DES)? [closed]

I need to bring keys from a database but they are encrypted in triple des and when I insert a new one I must encrypt it.     
asked by 10.12.2018 / 16:23
0
answers

Problems with encryption

Look, I have two projects, one next to the other and one runs perfectly and the other does not. look at the codes: <?php $opciones = [ 'cost' => 11, 'salt' => "ÑsodEFHbzvuQlIwtvHgVsCsFbaUdjpwsHxwvHBcppgyveqUksQb3769520293...
asked by 23.11.2018 / 16:57
0
answers

What is wrong in the following RSA exercise?

I have been practicing RSA, and I do not know what is happening that when I decipher I do not get the correct plain text I will attach the images of the procedure     
asked by 20.10.2018 / 18:17
0
answers

Obtain the same number of characters from an encrypted text

I have the following code which returns an encrypted text, but the result is always a much larger text than typed, is there any way to get the same size? Public Shared Function desencryptar(ByVal texto As String) As String Dim salt...
asked by 09.08.2018 / 20:24
0
answers

How to read a private key with passphrase in C ++?

I have been occupying Openssl for a signed and verified project of private and public keys in C ++ , so far I have had no problem when signing and verifying with keys without a security phrase. the commands I use are these: openssl req -...
asked by 25.06.2018 / 17:42
0
answers

Install keyring in MySQL

I am trying to install and configure the keyring plugin to be able to encrypt an existing database in MySQL. My version of MySQL is 5.7.19-0ubuntu0.16.04.1 In the configuration file /etc/mysql/my.conf I have put the fo...
asked by 24.05.2018 / 08:32
0
answers

Error using php class in html

I have a problem when using a PHP class in an html The class code to use it is this: <form method="POST"> <textarea id="imputText" placeholder="Plain or encrypted text here" name="imputText" rows="5" class="input-block-level...
asked by 14.04.2017 / 18:19
1
answer

Jasypt and hibernate

Hi, I wanted to encrypt the key I have to the database in the file hibernate.cfg.xml, and I found Jasypt can do it, I followed these tutorials. link link I used the encrypt.bat and put the parameters to return the key to the encrypt...
asked by 05.04.2016 / 03:16