Questions tagged as 'criptografia'

1
answer

Encrypt App.Config

I'm trying to encrypt my connection string , which is in my app.config . After reading some forums, I saw that 2 methods need to be created: class proteger_app { public static void Criptografar() { Configuration confi...
asked by 26.07.2016 / 22:26
1
answer

Double Encryption

A colleague told me that he created a crypto class that implements 4 algorithms: TripleDESCryptoServiceProvider Class DESCryptoServiceProvider Class RC2CryptoServiceProvider Class RijndaelManaged Class He told me that he d...
asked by 04.01.2017 / 17:56
1
answer

Does it make sense to store the salt of a password with the hash itself?

Looking at tables in a database for a certain product, I came across a structure similar to this: [LocalUsers] UserId Integer PasswordHash Byte[] Salt Byte[] If an attacker gets this list, is it sufficient for him...
asked by 04.08.2017 / 22:16
1
answer

md5 Encryption PostgreSQL

I am creating a table using PostgreSql and in it there will be a password field with MD5 encryption. How would the syntax be in it? Because I have more contact with MySQL than PostgreSQL.     
asked by 04.11.2018 / 21:59
1
answer

Display database information securely

What kind of encryption should I use to encrypt a CPF in the database and then display that same (decrypted) CPF for the client in a secure way?     
asked by 16.02.2015 / 23:16
2
answers

SHA512 return in hexadecimal

I found an example of encrypting a string with SHA512. public static string HashedString(string text) { SHA512Managed sha512 = new SHA512Managed(); byte[] hash = sha512.ComputeHash(Encoding.UTF8.GetBytes(text)); StringBuilder res...
asked by 06.09.2018 / 21:44
1
answer

Parameters for encrypted columns

I'm trying to create a procedure to save a user's data to the SQL SERVER database, however the table has columns encrypted with always encrypted, resulting in a conflict error. I have tried to change the type of parameters for varbinary etc,...
asked by 18.11.2018 / 21:25
2
answers

Cipher of vigenere

private static void algoritmo(String input, String chave, Boolean b) { Console.WriteLine("Digite a mensagem: "); input = Console.ReadLine(); Console.WriteLine("Digite a chave: "); chave = Console.ReadLine();...
asked by 19.02.2017 / 01:35
1
answer

WebCrypto keys derived from PBKDF2

I'm using PBKDF2 in WebCryptoAPI to generate a "derivable" key based on a (a password) and deriving from it a AES-GCM key. I'm doing a round of testing where: In the first round I generate the keys (PBKDF2 and AES-GCM), except this...
asked by 17.08.2018 / 07:41
1
answer

How to access PHP webservice securely from an Objective-C / iOS application?

I'm making an application where I need to securely send user data to the Web Service using PHP. For this, I'm researching about security for iOS. What is the recommended method and what are the points that I should be concerned about? Plea...
asked by 30.03.2015 / 03:17