Is there a way to encode a string to base64?
I know that Crypto node does it. But I need to separate encryption from encoding.
Is there a way to encode a string to base64?
I know that Crypto node does it. But I need to separate encryption from encoding.
Hey @roge, without the Crypto node itβs a bit harder, but still perfectly possible.
Here is an example using Node.jsβ buffer.toString():
thank you! can you help with code a bit? I need to encode only one value from previous node, which is signature. How to modify your code?
You can pretty much copy the Function Item node from my example and connect it your existing workflow.
In the code you can then simply replace item.message
(message was the name of my field) with item.signature
(which seems to be your field name).
thank you! it worked