Methods
array() → {Array}
    Output hash as bytes array
Returns:
    Bytes array
- Type
 - Array
 
Example
hash.array();
        
            
    
    arrayBuffer() → {ArrayBuffer}
    Output hash as ArrayBuffer
Returns:
    ArrayBuffer
- Type
 - ArrayBuffer
 
Example
hash.arrayBuffer();
        
            
    
    buffer() → {ArrayBuffer}
    Output hash as ArrayBuffer
- Deprecated:
 - This maybe confuse with Buffer in node.js. Please use arrayBuffer instead.
 
- Source:
 - See:
 
Returns:
    ArrayBuffer
- Type
 - ArrayBuffer
 
Example
hash.buffer();
        
            
    
    digest() → {Array}
    Output hash as bytes array
- Source:
 - See:
 
Returns:
    Bytes array
- Type
 - Array
 
Example
hash.digest();
        
            
    
    hex() → {String}
    Output hash as hex string
Returns:
    Hex string
- Type
 - String
 
Example
hash.hex();
        
            
    
    toString() → {String}
    Output hash as hex string
Returns:
    Hex string
- Type
 - String
 
Example
hash.toString();
        
            
    
    update(message) → {Md4}
    Update hash
    Parameters:
| Name | Type | Description | 
|---|---|---|
message | 
            
            String | Array | Uint8Array | ArrayBuffer | message to hash | 
- Source:
 - See:
 
Returns:
    MD4 object.
- Type
 - Md4