top | item 30790086

(no title)

b33f | 3 years ago

In MacOS or Linux, you can use openssl on the CLI easily.

$ echo -n "private-message" | openssl enc -e -aes-256-cbc -a -salt enter aes-256-cbc encryption password: Verifying - enter aes-256-cbc encryption password:

Then to decrypt echo 'U2Fsxxxxxxxxxx' | openssl aes-256-cbc -a -d -salt

discuss

order

binwiederhier|3 years ago

I think the CLI is not the problem. More that there is a maintained implementation in Ruby, Rust, Go, JS, PHP, .... You get the idea.

I suppose openssl is supported in all of them, but it only provides primitives. I still have to manually define a file format to store the salt and such.