A Neovim plugin to encrypt and decrypt buffers with ccrypt
.
ccrypt is like AES and is based on the Rijndael cypher, and uses a 256-bit block size:
- Project page: ccrypt
You must have ccrypt installed and it must be in your path.
Install the plugin with your package manager:
{
"fouladi/ccrypt-wrapper.nvim",
config = function()
require("ccrypt-wrapper").setup({})
end,
}
After setup, the following commands will be automatically applied.
Custom commands :Encrypt
and :Decrypt
are defined to call these
functions.
If you have not installed ccrypt
, you will receive this error message
when you call up the above functions:
Error: ccrypt is not installed.
Optional key mappings are provided to quickly encrypt (<leader>ce
) and
decrypt (<leader>cd
) the buffer content.