setHash property

set setHash (Hash hash)

Sets the hashing algorithm

Parameters:

  • hash: The new hashing algorithm to be used

Usage Example:

security.setHash = Hash.SHA512;

Implementation

set setHash(Hash hash) => this.hash = hash;