Some nodes that wrap Node.js Crypto.
Algorithm: aes-256-cbc
input (msg.paylaod):
{
"key": <string> | <ArrayBuffer> | <Buffer> | <TypedArray> | <DataView> | <KeyObject> | <CryptoKey>,
"data": <Buffer>
}
output:
{
"encryptedData": <Buffer>,
"initVector": <Buffer>
}
input (msg.paylaod):
{
"key": <string> | <ArrayBuffer> | <Buffer> | <TypedArray> | <DataView> | <KeyObject> | <CryptoKey>,
"data": <Buffer>
"initVector": <Buffer>
}
output:
"payload": <Buffer>,
input (msg.paylaod):
{
"publicKey": <string> | <ArrayBuffer> | <Buffer> | <TypedArray> | <DataView> | <KeyObject> | <CryptoKey>,
"data": <string> | <ArrayBuffer> | <Buffer> | <TypedArray> | <DataView> | <object>
}
output:
"payload": <cBuffer>
input (msg.paylaod):
{
"privateKey": <string> | <ArrayBuffer> | <Buffer> | <TypedArray> | <DataView> | <KeyObject> | <CryptoKey>,
"data": <Buffer>
}
output:
"payload": <Buffer>,
input (msg.paylaod):
"payload": <string> | <ArrayBuffer> | <Buffer> | <TypedArray>
output:
"payload": <Buffer>,