我正在构建一个桌面应用程序,用于为用户加密和解密文件。我想让他们选择算法。
crypto.getCiphers() 将返回一个支持的algrithoms列表,但是有没有方法知道每个algrithoms的密钥和IV长度?例如, aes256 分别为32和16。
crypto.getCiphers()
aes256