patch 8.1.0606: 'cryptmethod' defaults to a very old method
Problem: 'cryptmethod' defaults to a very old method.
Solution: Default to "blowfish2", it is now widely available.
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index b5278f1..177a569 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -2370,7 +2370,7 @@
*'cryptmethod'* *'cm'*
-'cryptmethod' 'cm' string (default "zip")
+'cryptmethod' 'cm' string (default "blowfish2")
global or local to buffer |global-local|
{not in Vi}
Method used for encryption when the buffer is written to a file:
@@ -2401,8 +2401,8 @@
modifications. Also see |:X|.
When setting the global value to an empty string, it will end up with
- the value "zip". When setting the local value to an empty string the
- buffer will use the global value.
+ the value "blowfish2". When setting the local value to an empty
+ string the buffer will use the global value.
When a new encryption method is added in a later version of Vim, and
the current version does not recognize it, you will get *E821* .