creator如何进行sha256签名以及使用rsa加密

cocoscreator如何进行sha256签名以及使用rsa加密啊,求大佬们帮帮忙呀~

使用 crypto-js