Cryptography (crypto)

sha256

unique

Create and return a unique 64-character sha256 hash string. If seed is provided, it will be included in the string that is encoded into the hash. The function produces a different value each time it is called.

 

{ }
[{"paths":[],"data":{"crypto":"crypto","call":"crypto.sha256.unique","crypto.sha256.unique":"unique","uuid":"071651f79538c5be3173b651cc9bcb7e","args":{"seed":"hello world"},"height":32,"width":120,"step":"Create unique sha256 hash","data_to_var":"hash","y":0,"x":0,"type":"library","maxpaths":1}}]

Example Response

{"hash":"840d791676e30c70a7669cd7a62c2b1516ebc1a4f7f2438c66e6715264315ddf"}

hexdigest

Create and return a 64-character sha256 hash using the string provided.

 

{ }
[{"paths":[],"data":{"crypto":"crypto","call":"crypto.sha256.hexdigest","crypto.sha256.hexdigest":"hexdigest","uuid":"071651f79538c5be3173b651cc9bcb7e","args":{"string":"hello world"},"height":32,"width":120,"step":"Create sha256 hash","data_to_var":"hash","y":0,"x":0,"type":"library","maxpaths":1}}]

Example Response

{"hash":"b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9"}