Is there a easy way to encrypt for example a string with AES in a gnome applet written in JavaScript? I can't find a solution in the gnome api reference [1]. I saw that libsecret has a AES implementation for testing purposes [2], but I don't know if I can use it - and if so, how.
The only way I actually can imagine is to use openssl
over GLib.spawn_command_line_
.
[1] https://developer.gnome.org/references
[2] https://github.com/GNOME/libsecret/blob/master/libsecret/mock/aes.py