private static void initKey() {
        try {
            MessageDigest sha1 = MessageDigest.getInstance("SHA1");
            byte[] userKey_data = Navicat11Cipher.DefaultUserKey.getBytes(StandardCharsets.UTF_8);
            sha1.update(userKey_data, 0, userKey_data.length);
            key = new SecretKeySpec(sha1.digest(), "Blowfish");
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
Navicat11 and below password encryption and decryption

@author lzy
chat2db-server/chat2db-server-web/chat2db-server-web-api/src/main/java/ai/chat2db/server/web/api/controller/ncx/cipher/Navicat11Cipher.java