Questions tagged as 'hash'

1
answer

MessageDigest class and hash with MD5 in java

I'm testing the creation of Hash using this class, and I've seen it on many sites, including SOEn , the use of excerpts similar to the following to create hashs using md5, but without much explanation of the operation (in Portuguese, at least):...
asked by 03.03.2016 / 15:28
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

Use list as dictionary value using append () method Python

I have some dictionary in python, and I want to assign a list as value for each key of the dictionary, however I need to use the append () method to add elements, but after adding the elements in the list, the value of the key is None. Ex:...
asked by 20.06.2014 / 05:19
1
answer

Relate 2 objects to a single reference / key

I have a while(true) that accepts multiple connections ( Socket and ServerSocket ). Each connection is passed to a Handling object that handles its read / write data. This Handling is passed to a Thread so you can accept connections and...
asked by 13.08.2015 / 18:11
1
answer

Best way to use AES encryption

Well, let's say I'm working on a system where the encryption key is derived from the user's password (something like what KeePass does), in that case I have three questions: Which algorithm to use to derive the key? So that it is as far as po...
asked by 30.09.2017 / 16:51
1
answer

Generate HASH of XML content in SQL

Is there a way to generate hash of a XML beyond the master.sys.fn_repl_hash_binary function? Currently this is my implementation, but I do not know if it is the only way to do it. --Preparação do ambiente CREATE TABLE [...
asked by 20.05.2016 / 19:51
1
answer

Code to generate the user password hash in Oracle 10G with C #?

I need to authenticate users in a WEB application in the Oracle 10g database, but the credentials are native to the database for running an Oracle Forms application, and we would like to keep the same password on both systems (Single Sign-On )....
asked by 05.12.2017 / 04:58
2
answers

Facebook SDK Command Android - Key Hash

I'm doing the Facebook SDK tutorial for Android and I do not understand this part, which talks about hashes of key to development environments. Command: keytool -exportcert -alias androiddebugkey -keystore %HOMEPATH%\....
asked by 22.06.2016 / 22:33
2
answers

Function encode () and creation of hashes

I'm using Python 3.6 to do a program in which the person types an MD5 hash, so the program saves the hash in a variable, reads a txt file and plays the contents inside a list, where each name separated by , is an item in that list. Aft...
asked by 29.12.2018 / 01:15
1
answer

Which hash algorithms are already built into PHP?

Recently I've been looking for hash algorithms that were not the known md5 , sha1 and sha2 , and that have generated hashs smaller than those mentioned. That's where I caught myself thinking, how do I know which hash algori...
asked by 22.09.2014 / 15:20