Created
          January 8, 2012 17:50 
        
      - 
            
      
        
      
    Star
      
          
          (298)
      
  
You must be signed in to star a gist  - 
              
      
        
      
    Fork
      
          
          (32)
      
  
You must be signed in to fork a gist  
- 
      
 - 
        
Save kitek/1579117 to your computer and use it in GitHub Desktop.  
    NodeJS create md5 hash from string
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var data = "do shash'owania"; | |
| var crypto = require('crypto'); | |
| crypto.createHash('md5').update(data).digest("hex"); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
@leafyshark calm down brother, there are absolutely many use-cases for hashing, these are some obvious, to validate the integrity of some data: