cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
lwx228
Level VIII

How to use JSL to achieve the specified character conversion to sha256 encryption?Thanks!

For example, an sha site that calls a specified character with JSL converts it to sha256 encryption and can store the result of this conversion in a JSL variable.

 

lhabceq6jdr

to

 

 

ff21f2109402e85f0fe77741160fd256605e88b0e1685cb4d952531a0982450e

 

 

Thanks!

 

 

2 REPLIES 2
Craige_Hales
Super User

Re: How to use JSL to achieve the specified character conversion to sha256 encryption?Thanks!

The article 7 things to know about Twitter  is pretty old, and I'd recommend using a python package to access Twitter at this point, but...

There is some code with the article that computes a SHA1 hash using the windows program certutil. It appears certutil will also calculate a sha256 as well. Call it with RunProgram.  On a mac there is a similar approach with openssl.

Craige
lwx228
Level VIII

Re: How to use JSL to achieve the specified character conversion to sha256 encryption?Thanks!

Thank Craige!

  • I didn't install python and ended up using AutoHotkey code

2023-05-06_11-14-36.png