Encode & Decode with a simplified ECB Blowfish implementation
In order to encipher, use Blowfish.encipher(YOUR_KEY, YOUR_DATA)
. The YOUR_KEY
can be either String
, or Buffer
. Again, to decipher, use the same procedure but this time Blowfish.decipher(YOUR_KEY, YOUR_DATA)
.
Keep in mind that this is as simple as possible, padding is disabled.
Open-source under Apache 2.0 license.