Greasy Fork is available in English.

Blowfish cipher

Encrypt and decrypt data using Blowfish block cipher. This library uses arrays of 8-bit numbers for data, key and init vector (IV).

Dette script bør ikke installeres direkte. Det er et bibliotek, som andre scripts kan inkludere med metadirektivet // @require https://update.greasyfork.org/scripts/32981/216422/Blowfish%20cipher.js

Skaber
Dejan Tomić
Version
0.0.1.20170906183048
Oprettet
06.09.2017
Opdateret
06.09.2017
Size
19 kB
Licens
N/A

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.