We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I have unexpected results that are not the same as http://www.txtwizard.net/crypto and other websites.
My code:
const bf = new Blowfish('secret', 'cbc'); const encrypted = bf.encrypt('message', '00000000'); const base64Encrypted = bf.base64Encode(encrypted); console.log(base64Encrypted);
Output: fzAONXVl9nA=
fzAONXVl9nA=
Output with the same parameters from txtwizard: /ClZ1D/um40=
/ClZ1D/um40=
The text was updated successfully, but these errors were encountered:
I think it is because the padding is not PKCS5 by default. With other libraries which use PKCS5, it's working.
Sorry, something went wrong.
No branches or pull requests
Hello,
I have unexpected results that are not the same as http://www.txtwizard.net/crypto and other websites.
My code:
Output:
fzAONXVl9nA=
Output with the same parameters from txtwizard:
/ClZ1D/um40=
The text was updated successfully, but these errors were encountered: