Jump to content

How to encrypt a single text file using VIM/GVIM


securitybreach
 Share

Recommended Posts

securitybreach

I used to  use this years ago but forgot about it until someone on diaspora reposted the steps:

 

How to encrypt a single text file using VIM/GVIM

 

    :set cm=blowfish2
    :X
    enter your password or -phrase twice; longer is better; 10 words+ excellent!
    optional: write passphrase down hard copy and put in wallet
    enter text as usual; then ESC to exit insert mode
    :w (/path/to)/FILENAME.TXT
    :q


When you open the file again, VIM will ask your passphrase first, then you edit again as usual. Done!

 

https://joindiaspora.com/people/83d7f790eec80131af1952540061b601

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...