.Q.sha1 x
Where x is a string, returns as a bytestream its SHA-1 hash.
x
q).Q..fc"Hello World!" 0x2ef7bde608ce5404e97d5f042f95f89f1c232871
Since V3.6 2018.05.18.