How do I encrypt local file in Solaris ? On Linux I use either OpenSSL or GPG but these are both open source projects not native in Solaris land. For this Solaris has encrypt/decrypt which do what their name say.
And of course we talk here about symmetric encryption. Options for encrypt/decrypt are succinct – list available algorithms, specify input/output file(s), and optional specify file containing the key or otherwise type it on terminal. Few examples are to follow.
– List algos
——————————————
aes 128 256
arcfour 8 2048
des 64 64
3des 192 192
- Now let’s encrypt something (file smtp_send.py ) with AES algo .
Enter key:
- And what about decrypting ?
Enter key:
- In case you wish to use key stored in a file (I personally don’t do it as it is too easy to forget to delete the key file).
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.