github.com/matrixorigin/matrixone@v1.2.0/test/distributed/cases/function/function_sha2.sql (about)

     1  select sha2("abc", 0);
     2  select sha2("123", 256);
     3  select sha2("好好学习 天天向上", 224);
     4  select sha2("hello world", 384);
     5  select sha2("sha512", 512);
     6  select sha2("hello world", 66666);
     7  select sha2("+++++-------,./;[p][]", 512);
     8  select sha2(null, 512);
     9  select sha2(null, null);
    10  
    11  create table shatwo01 (a text);
    12  insert into shatwo01 values("网络安全"),("database"),(null);
    13  select a,sha2(a,0) from shatwo01;