Most voted "md5" questions
MD5 (Message-Digest Algorithm 5) is a 128-bit unidirectional hash algorithm.
Learn more…48 questions
Sort by count of
-
43
votes4
answers53481
viewsHow to decrypt MD5?
If I have the following code $senha = md5("senha") and send it to the database $senha, it should be possible to recover this MD5 at the bank and show "password" back on an information update form,…
-
19
votes7
answers22208
viewsIs using MD5 the safest way to encrypt passwords in PHP?
I know there are several methods of encrypting passwords in PHP (md5, sha1, Base64...) although I don’t know much about, what I see most is the use of MD5. Using MD5 to encrypt passwords is the…
-
12
votes2
answers4768
viewsHow to get MD5 from a file in Delphi?
How to get the MD5 of a file in Delphi?
-
12
votes1
answer13778
viewsHow does the MD5 hash algorithm work?
I would like to understand how the hash algorithm works MD5 (Message-Digest Algorithm 5). He is considered safe? I seek didactic answers, which make me understand the processes used by this…
-
7
votes1
answer3146
viewsCan the MD5 hash repeat for different passwords causing collision?
A co-worker made a System in Java that encounters collisions in a series of MD5 hash passwords. But he did not stop to analyze the results, he made only a statement that they exist. Only that I…
-
5
votes4
answers1605
viewsTurn Messagedigest MD5 into a string
I am trying to generate an MD5 hash using the class MessageDigest, however, I cannot correctly display the hash as a string on the screen. The result is a string of unknown characters. Below is the…
-
4
votes1
answer665
viewsMessagedigest and hash class with MD5 in java
I’m testing the creation of Hash using this class, and I’ve seen on several websites, including on Soen, the use of snippets similar to the following to create hashs using md5, but without much…
-
4
votes1
answer113
viewsDoubts about formatting hexadecimal numbers in java for use in MD5
I would like to know why the author of the article put this part: senha = String.format("%1$032X", i); I was curious how he got this string: "%1$032X" Follow the full code: import…
-
3
votes3
answers3136
viewsGenerate 32 character MD5 password with Cryptsharp
I am using the Cryptsharp library to generate password in MD5. I had read that MD5 generates string with hexadecimals of 32 characters but is generating 34 and with several types of characters. It’s…
-
3
votes2
answers972
viewsEncryption with Java
I need to encrypt the data in a user authentication session, and I would like to know the best, most secure way to work with Java encryption. Is it using Salt, MD5, AES, SHA, or other? Which API’s…
-
3
votes1
answer4528
viewshow to decrypt md5 and sha1?
good would like to know how to decrypt the md5 and the sha 1 I am using both to enter the password of the user in the bank, however I have to make a page for those who forgot the password and if I…
-
3
votes1
answer3076
viewsHow to validate md5 password with database?
In the database is already encrypted with md5, when I try to log in using: email: [email protected] | senha: 123456 **ACESSO NEGADO** and email: [email protected] | senha: criptografada md5 **ACESSO…
-
3
votes3
answers170
viewsGenerate random value with formatting
How can I generate a random string with a certain format? I’m doing it with PHP encryption but I can’t format the values. I wanted it to generate according to the following example: A9MDY3-X6S My…
-
2
votes1
answer160
viewsServersocket and Socket
I’m trying to create a ServerSocket: public class RunServer { public static void main(String[] args) { try { byte[] buffer = new byte[1024]; String passwordCript; ServerSocket socketRecepcao = new…
-
2
votes2
answers3257
viewsLogin with PHP + MYSQL +MD5
I created a login form with the following code: Login.html: <form action="login.php" method="post"> <input type="hidden" name="id" value=''> Usuário<input type="text" name="usuario"…
-
2
votes2
answers75
viewsDeconstructing a perl-based one-Liner error occurs "Can’t Modify single ref constructor in scalar assignment"
export dev2='/dev/sdb'; perl -'MDigest::MD5 md5' -ne 'BEGIN{\$/=\1024};print md5(\$_)' $dev2 Returns the following error: Can’t Modify single ref constructor in scalar assignment at -e line 1, near…
-
2
votes3
answers1012
viewsRecover md5 password from an Android application
I created an Android application where asks for a password to access the application. The user registers this password (numeric) and an email to recover password, the data is recorded in Sqlite and…
-
2
votes1
answer2046
viewsDecrypt MD5
I need to change this code to decrypt the data with it encrypted: public static string MD5HashCrypt(string text) { MD5 md5 = new MD5CryptoServiceProvider(); //compute hash from the bytes of text…
-
2
votes2
answers97
viewsLoop in Constructor c#
I’m trying to set mine Senha using the md5, but there is a loop at settar. public class Usuario { public int ID { get; set; } [Required] public string Nome { get; set; } [Required] public string…
-
2
votes1
answer1848
viewsConvert String to MD5 with Flutter
I have an application in Flutter,and I’m trying to convert my Password to MD5 on the login screen, I found some other methods but none served me. I’m trying to use final md5 = new MD5._() to convert…
-
2
votes1
answer522
viewsCompare files from a directory with md5sum and shellscript
Good morning! I am studying shellscript and an exercise asks for a scan of files in the current directory and to calculate the md5 hashes. It also asks that, in case there are identical files by…
-
2
votes1
answer1660
viewsC# AES encryption with MD5
I’m doing a college paper where I need to encrypt a string with AES and Md5. When I do the encryption, returns the normal result (I think), but when I go decrypt, returns the following error:…
-
1
votes2
answers7317
viewsHow to create user with encryption password?
As I do in my ASP.Net MVC 5 and EF 6 application to save encrypted passwords in MD5 format when creating users?
-
1
votes1
answer89
viewsHashbytes with different value when selecting and writing with update
SELECT HASHBYTES('MD5','123') This select above returns me the following result: 0x202CB962AC59075B964B07152D234B70 But when I update the table using the same hashbytes UPDATE USUARIOSLOGADOS SET…
-
1
votes2
answers81
viewsIs it possible to use $_POST within sha1? or other encryption?
I am comparing forms using sha1 as follows sha1($_POST['txtEmpresa'] + $_POST['txtFornecedor'] + $_POST['txtDocumento'] + $_POST['txtValor'] + $_POST['txtVencimento']); Is there any way to reduce…
-
1
votes2
answers389
viewsMD5 is good enough?
I’m working on a legacy system, which has a database with about five years of accumulated records with no normalization. Among other things, its purpose is to allow users to write and post posts in…
-
1
votes1
answer259
viewsError md5 when renaming upload php file array
I have the following code that uploads multiple files: <?php if(isset($_FILES['files'])){ $errors = array(); foreach ($_FILES['files']['tmp_name'] as $key => $tmp_name){ $file_name =…
-
1
votes1
answer294
viewsHow to validate a wmsAuthSign hash in php?
I have the following code that creates a hash security for authentication on media servers, would like to know how it could be validated in php itself, media servers should use some logic for this,…
-
1
votes3
answers707
views -
1
votes1
answer251
viewsIs it possible to generate 2 identical sequences with md5 if the same base is used?
I was creating a project with multiple image uploads and I wanted them all to be together, just separated by "," e.g.: image.jpg,imagem2.jpg... $imagens_name = ""; processo de renomear.. Ele gerava…
-
1
votes0
answers135
viewsIs it possible to encrypt the connection password to the database that is inside a Java application?
I have an application in Java and using the Postgresql database. To connect to the database I use this method: public static Connection getConnection() throws Exception { try {…
-
1
votes2
answers398
viewsRegistration with e-mail confirmation with token - PHP
Currently, what is the best way (the most secure and efficient) to require the user to confirm the registration through a link sent in the email informed, what should I pay attention in this…
-
1
votes1
answer166
viewsCan I use a combination of different algorithms to generate a password hash?
I’m having a question here, I ran some tests on the local server, and I was wondering if anyone has done anything like this, and if the database supports that many characters. The idea of merging…
-
0
votes0
answers161
viewsHow to calculate the hash value of a specific byte array
How I calculate the hash value of a specific byte array? I’m using MD5 encryption and the code to calculate what I’m using is this: byte[] dataRegCodeToCompare = md5.digest(toHash); The variable…
-
0
votes3
answers1164
viewsIs there a way to decrypt MD5 in php?
there is some way to decrypt md5 in php ? I need to decrypt the value that comes from a cookie to get user information
-
0
votes1
answer78
viewsUse of the Big Integer class to build an MD5 hash
I found in another post right here in the OS the following example of code to generate a hash through MD5: String message = "teste1234"; byte[] hash =…
-
0
votes1
answer1571
viewsMD5 encryption in Java?
I’m creating a program that takes a login and a password and encrypts it using MD5,I know that MD5 is not an algorithm that you can call encryption,but is actually a hash,but it does not matter,…
-
0
votes0
answers81
viewsIs it safe to use session_id with MD5?
I’m taking the session_id and putting it with MD5 encryption, to make a logout process. I’d like to know if there’s any safety issue with that, so I’ll do it, or I’ll take some risk in the future?…
-
0
votes1
answer244
viewsSelect with MD5 password returning empty
I am using the query below to perform the login,it was working normal with normal passwords,more now I am migrating to the password Md5,only this giving only invalid password,I believe it is my…
-
0
votes1
answer40
viewsDoubt about Encryption in passwords
I would like to know the difference between MD5 and SHA256 in passwords. If there is one that is safer and which and when it is better to use one or the other.
-
0
votes1
answer625
viewsError comparing MD5 password in PHP
I’m having a problem in a login form, below follows the current codes. I’m using the method via POST, what happens is that it is not sending the post in MD5 to be compared in DB. In the database the…
-
0
votes1
answer387
viewsjquery Dropzone.js with duplicate file check using md5
If you use a simple check in the "addedfile" event of the "Dropzone" component it works normally by sending a file, or adding several at a time and also selecting several and sending at once.…
-
0
votes1
answer311
viewsMD5 Asp.net MVC encryption
I have to do an encryption in a web application. I am using the following method to encrypt the password. // Criptografa a senha public string GerarMD5(string Senha) { // criptografia MD5 MD5…
-
0
votes0
answers214
viewsHow to change the Adonisjs hash to md5?
Hello, I am developing an api on top of a legacy project used by other systems, and I intend to perform an authentication using md5 instead of bcrypt to compare the password only. There is already a…
-
-1
votes1
answer125
viewsIs there any way to limit the number of characters in a crypt?
I need to encrypt some database keys to decrypt in the future, but all generated messages need to be the same size. md5 has generated messages of the same size, but can not translate back (E is not…
-
-1
votes1
answer43
viewsimplode(): Invalid Arguments passed
I’m working on a system for uploading contents and various photos in which I need change file names using md5 hash and creating a string with the new names but I’m finding it difficult to use MD5…
-
-2
votes2
answers1019
viewsUse "anti_injection" in a MD5 password
I am studying a little more in depth the PHP and in question of security in PHP I have used the standard anti_injection found on the internet and used by many function anti_injection($sql){ $sql =…
-
-4
votes1
answer79
viewsError md5 offertoro
Well I am creating a site, where users earn points when completing offers, and when completing the system gives points. Yet I have the following code: <?php $oid = $_GET["oid"]; $amount =…