Questions tagged as 'md5'

1
answer

ServerSocket 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 ServerS...
asked by 02.04.2014 / 19:48
2
answers

Login 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" id="usuario" > Senha<input type="pass...
asked by 06.05.2014 / 23:21
1
answer

C # AES Cryptography with MD5

I'm doing a college job where I need to encrypt a string with AES and Md5. When I do the encryption, it returns the normal result (I think), but when I go to decrypt, it returns the following error:    CryptographicException : The input d...
asked by 23.11.2017 / 15:36
2
answers

Loop in constructor c #

I'm trying to set my Senha using md5 , but this is looping sett. public class Usuario { public int ID { get; set; } [Required] public string Nome { get; set; } [Required] public string Senha {...
asked by 14.06.2016 / 06:26
1
answer

Decrypt MD5 [duplicate]

I need to change this code to decrypt the data encrypted with it: public static string MD5HashCrypt(string text) { MD5 md5 = new MD5CryptoServiceProvider(); //compute hash from the bytes of text md5.ComputeHash(ASCIIEncoding.ASC...
asked by 08.12.2017 / 23:14
1
answer

Compare files from a directory with md5sum and shellscript

Good morning! I'm studying shellscript and an exercise asks for a scan of files in the current directory and md5 hashes to be computed. It also asks that if there are identical files by comparing hashes, these files are printed. The code I wa...
asked by 29.03.2017 / 15:43
1
answer

How to validate md5 password with database? [closed]

In the database it 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 LIBERADO** Follow the code &l...
asked by 22.01.2016 / 03:16
2
answers

When deconstructing a perl-based one-liner, the error "Can not modify single ref builder in scalar assignment"

export dev2='/dev/sdb'; perl -'MDigest::MD5 md5' -ne 'BEGIN{\$/=24};print md5(\$_)' $dev2 Returns the following error:    Can not modify single ref builder in scalar assignment at -e line 1, near "1024}"   BEGIN not safe after errors - com...
asked by 30.05.2015 / 19:33
2
answers

Is it possible to use $ _POST within sha1? or other type of encryption?

I'm doing form comparison using sha1 as follows sha1($_POST['txtEmpresa'] + $_POST['txtFornecedor'] + $_POST['txtDocumento'] + $_POST['txtValor'] + $_POST['txtVencimento']); Is there any way to reduce this code to look like this? sha1($_P...
asked by 11.05.2017 / 16:37
2
answers

How to create user with password encryption?

How do I do in my ASP.Net MVC 5 and EF 6 application to save encrypted passwords in MD5 format when creating users?     
asked by 15.05.2014 / 21:43