xxtea | Pure javascript xxtea encryption algorithm for Node | Runtime Evironment library

 by   h0rn3t JavaScript Version: 0.2.3 License: MIT

kandi X-RAY | xxtea Summary

kandi X-RAY | xxtea Summary

xxtea is a JavaScript library typically used in Server, Runtime Evironment, Nodejs applications. xxtea has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can install using 'npm i xxtea' or download it from GitHub, npm.

Pure javascript xxtea encryption algorithm for Node.js.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              xxtea has a low active ecosystem.
              It has 15 star(s) with 7 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 2 open issues and 5 have been closed. On average issues are closed in 34 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of xxtea is 0.2.3

            kandi-Quality Quality

              xxtea has no bugs reported.

            kandi-Security Security

              xxtea has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              xxtea is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              xxtea releases are available to install and integrate.
              Deployable package is available in npm.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of xxtea
            Get all kandi verified functions for this library.

            xxtea Key Features

            No Key Features are available at this moment for xxtea.

            xxtea Examples and Code Snippets

            No Code Snippets are available at this moment for xxtea.

            Community Discussions

            QUESTION

            Unable to decrypt XXTEA encrypted string using LockBox3
            Asked 2017-Aug-07 at 13:05

            I am currently testing Lockbox3, and have run into a problem trying to do a simple string encryption & decryption using the XXTEA cipher. I'm using Delphi 10.1 Berlin and installed the latest version of Lockbox3 using GetIt! My test app is targeted for Win32 (VCL).

            The issue is that the encryption works fine, but when I attempt to decrypt the string, an exception is thrown : "No mapping for the Unicode character exists in the target multi-byte code page.". I'm not sure what the issue is?

            ...

            ANSWER

            Answered 2017-Aug-07 at 13:05

            There are two issues. The first is that there is a defect in the XXTEA decryptor. If you can't wait for the fix to be published, I have posted a code delta that you can apply and recompile for an immediate solution. I am a bit surprised that there are no unit tests for XXTEA. Everything else in this library has plenty of unit tests, so I will work on that too.

            The second issue is that the codec property names that you should set when doing it at runtime are slightly different from the design-time property names. (ChainModeId not ChainMode). The difference was made to make design-time property configuration easier.

            Any way, I did some testing on Lockbox-3 v3.7.0 . The home site can be found at http://lockbox.seanbdurkin.id.au/HomePage and the source code from https://github.com/SeanBDurkin/tplockbox . I tested with Delphi 10.2 Tokyo; Target=Win32.

            Listing one gives the test program (a one-file console program), and Listing two gives the fix. The fix is an update to method procedure TXXTEA_LargeBlock_LE_Decryptor.End_Decrypt() which can be found in unit TPLB3.XXTEA . The GetIt version will have slightly different unit names. That being said, in relation to XXTEA, it might be safer to wait until unit tests have been published.

            Also, if any one wants to help out by contributing Known-Answer-Tests (KATs), that would be good for all.

            Listing One: A Test program

            Source https://stackoverflow.com/questions/45511144

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install xxtea

            You can install using 'npm i xxtea' or download it from GitHub, npm.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i xxtea

          • CLONE
          • HTTPS

            https://github.com/h0rn3t/xxtea.git

          • CLI

            gh repo clone h0rn3t/xxtea

          • sshUrl

            git@github.com:h0rn3t/xxtea.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link