Last active
August 14, 2023 08:53
-
-
Save yne/4767cbee032cf214ce8cea7be6bd5b20 to your computer and use it in GitHub Desktop.
dzr.Decode.blowfish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Blowfish = (await import('./egoroof_blowfish-4.0.1.mjs')).Blowfish; | |
const bf = new Blowfish(Buffer.from(keys_array), Blowfish.MODE.CBC, Blowfish.PADDING.NULL); | |
bf.setIv(new Uint8Array([0, 1, 2, 3, 4, 5, 6, 7])); | |
return bf.decode(buf_in, Blowfish.TYPE.UINT8_ARRAY); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment