请以你的学号作为【加密串】 将你的姓名插入到表t中,SHA2函数的第二个参数用256.
insert into t(name) values(AES_ENCRYPT('MySQL512', UNHEX(SHA2('MyPassword',512))));
insert into table test.t(id,name) select '1' as id , sha2('大爷',256) as name