Encrypt and decrypt data using Blowfish block cipher. This library uses arrays of 8-bit numbers for data, key and init vector (IV).
此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.gf.qytechs.cn/scripts/32981/216422/Blowfish%20cipher.js
Blowfish block cipher. Supports ECB and CBC modes. Works on byte arrays. Can encrypt and decrypt in-place, or return a new copy of the data.
Based on this source (licensed under MIT): https://github.com/agorlov/javascript-blowfish that works with UTF-8 strings.