1

以下 nodejs 代码的等效 C# 加密例程是什么:

var cipher = crypto.createCipher('aes256', 'myPassword');
encrypted = cipher.update(sha256, 'utf8', 'base64') + cipher.final('base64');

我想在 C# 上加密并能够在 Node.js 应用程序中解密它。

4

0 回答 0