Questions tagged [md5]

Cryptographic hash function with a 128-bit (16-byte) hash value. MD5 is no longer considered a secure hash and should not be used to protect sensitive information like passwords

MD5 is incredibly weak on modern computers, and can be easily broken. If you are looking to securely hash values, consider something stronger like bcrypt

MD5 (Message-Digest algorithm 5) is a widely used cryptographic hash function with a 128-bit (16-byte) hash value. Specified in RFC 1321, MD5 has been employed in a wide variety of security applications, and is also commonly used to check the integrity of files. However, it has been shown that MD5 is not collision resistant; as such, MD5 is not suitable for applications like SSL certificates or digital signatures that rely on this property. An MD5 hash is typically expressed as a 32-digit hexadecimal number.

References:

4054 questions
1
vote
2 answers

Teradata hash MD5 usage

I need to hash a column in a teradata table by hash_md5, I tried this select hash_md5(COLUMN_NAME) from TABLE but it seems not worked like this way. Could anyone suggest please?
Hannah
  • 73
  • 8
1
vote
1 answer

Which RFC should I use to bring SHA1 and SHA2 authentication to RTSP 1.0?

RTSP 1.0's RFC2326 uses RFC2617 for WWW Authentication, which is the same used for HTTP authentication. This 2617 is old and only covers MD5. I know that RTSP 2.0 is out but I'm working on 1.0. Lots of IP cameras still implement 1.0 only. I guess…
Gatonito
  • 1,662
  • 5
  • 26
  • 55
1
vote
1 answer

How to get a hex string from Rust's MD-5 (MD5) crate?

According to this RFC about WWW Authentication (used in HTTTP) https://www.rfc-editor.org/rfc/rfc2617#page-7, For the purposes of this document, an MD5 digest of 128 bits is represented as 32 ASCII printable characters. The bits in the 128…
Gatonito
  • 1,662
  • 5
  • 26
  • 55
1
vote
1 answer

MD5 hash of string with CUDA

How to calcualate MD5 hash of string using NVIDIA CUDA and Java (JCuda) ? Maybe, somebody have example of code? Tnx.
Vitalii Sky
  • 133
  • 1
  • 2
  • 9
1
vote
1 answer

DIGEST-MD5 implementation in NodeJS

I'm trying to approach a local XMPP server (Openfire) with a NodeJS application. I would like to use the DIGEST-MD5 mechanism (I am aware that it has been declared obsolete). I found this article explaining how the mechanism…
Noah
  • 47
  • 6
1
vote
1 answer

Calculating MD5 hashes of multiple files

My goal is to rename all the files inside a directory with their MD5 hashes to make checking for duplicates much easier. I currently have around 30,000 files I want to process, however, after testing with small batches of files to make sure the code…
Kvrn
  • 11
  • 5
1
vote
0 answers

Is it possible generate a rainbow table knowing 2/3 of the string will always be the same?

I have a 30 character string going into an MD5 generator. I know the first 20 characters are always the same and the last 10 are the ones im providing to the program. Now the program will aways strcmp the result of the MD5 to a pregiven hash. For…
1
vote
0 answers

MessageDigest MD5 generation of Multipart Huge file

I wish to generate an MD5 hash of a very large file using MessageDigest. However, because the file is so big, i never have access to the complete stream of bytes. I only have access to N segments of the file. (Processed using multipart uploads). In…
MeBigFatGuy
  • 28,272
  • 7
  • 61
  • 66
1
vote
1 answer

How to make this sha256 pow

This is a script that is a simple proof of work and it's in md5 algo. Is there any way I can use it to transfer it to sha256? # proof-of-work.py import md5 string = "1" complete = False n = 0 while complete == False: curr_string = string +…
Toni Dev
  • 43
  • 10
1
vote
2 answers

How do you Write an S3 Object using AWS Tools in powershell and verify using an md5checksum

I want to use the integrity features of AWS specified in: https://aws.amazon.com/premiumsupport/knowledge-center/data-integrity-s3/ to make md5checksums work. However, doing this: Write-S3Object -BucketName BUCKETNAME -File .\test.txt -Key…
Nick
  • 920
  • 1
  • 7
  • 21
1
vote
1 answer

Swift: Calculated md5 hash of image file doesn't match with terminal and other hash generator

I want to calculate hash of an image, first I convert image to data and then with help of this function I will calculate hash of image file (Data), but the generated hash doesn't match with online generator and other language convertors like (Java),…
Mahdi
  • 94
  • 10
1
vote
2 answers

md5 hash for big files in Clojure

how to modify this code to cope with larger files (2 GB)? In Java - use small buffer and update(), in Clojure - how? (defn md5 [io-factory] (let [bytes' (with-open [xin (clojure.java.io/input-stream io-factory) …
ivitek
  • 11
  • 2
1
vote
1 answer

MD5 for float8 datatype differs between Redshift and Postgres

I migrated data from Postgres to Redshift and doing data validation checks, so taking MD5 for complete row. Visual checks are ok between Postgres to Redshift, but MD5 value differs for Float8 data types. In…
Athi
  • 347
  • 4
  • 12
1
vote
1 answer

Bash conditional statement doesn't work under Cygwin

I have a Makefile rule that generates an MD5 hash for a file, compares it with stored hash from the previous run, and if it is different, updates the stored hash. (I have some files that are generated from a database, so their timestamps are always…
Mikhail Edoshin
  • 2,639
  • 16
  • 25
1
vote
1 answer

Powershell Select-Object - and Hash

Can someone tell me whats wrong with this? $MD5Hashes = @{} Get-ChildItem "C:\Users\Tony\Pictures\My Pictures\2009\03" -Recurse -File | Select-Object -ExpandProperty FullName,Name | % { $MD5Hashes.Add($_.Name, (Get-FileHash $_.FullName -Algorithm…
Tony
  • 8,681
  • 7
  • 36
  • 55