I'm a newbie at encryption so I could do with some help:
I'm trying to follow a tutorial on the MariaDB website to create an aes-256-cbc key to encrypt my data at rest.
The line which it tells me to copy and paste is this:
enc -aes-256-cbc -md sha1 -k secret -in keys.txt -out keys.enc
Which in this instance has retued me this.
Salted__›xad}´3`ìe›‚Å)l‘»ŽWݧ
It's not what I need.
If I use the print command it will print out the key I need. Now the key is too long to copy by hand so I need to redirect the key output to a file. Can anyone help me to put write the correct command to put the key in the file?
The key looks similar to this:
770A8A65DA156D24EE2A093277530142
EDIT: It also does not allow me to copy from the CMD prompt.
برچسب:
نویسنده: استخدام کار