CryptoBook | MDBook built by the CryptoHack community

 by   jack4818 CSS Version: Current License: No License

kandi X-RAY | CryptoBook Summary

kandi X-RAY | CryptoBook Summary

CryptoBook is a CSS library. CryptoBook has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

I am starting this repository to motivate myself to create a space to document the mathematics I am learning while building CryptoHack and learning cryptography. More than anything, I am grateful for the community of people within CryptoHack who have made the discord such an interesting and educational place, and I hope that this repo can become an extension of that, helping each other learn in a more formal and permanent setting. My first goal for this book is to include background chapters on some aspects of pure mathematics which appear in cryptography. Something I feel that is commonly missing from texts is why certain protocols use certain properties. Why do perform Diffie-Hellman key exchange in Abelian groups? Of all the curves, why do we pick elliptic curves? Would conic sections be ok? To have a proper appreciation for this, I think a offering a discussion on the fundementals of the inner workings of cryptographic protocols is necessary. My hope is to present this in a form which is palatable for people without formal educations in mathematics. Another goal of this project is to include code snippets as examples of protocols, attacks and maths tricks as standard. I know several of us have used the sage docs when trying to solve CTFs and commonly it's hard to find precisely what functions to use, and when. I would like this book to have chapters devoted to protocols and their weaknesses. Implmentation of attacks with code given. For now, I think it would be best to have examples given in sage/python and as the book grows, we can look to Magma, or lower-level programming languages. I hope these two goals are interesting to the community and that together we can create a great resource together. The book is run using mdbook. The whole book is built from markdown files and should be simple to upkeep. We have access to MathJax for latex maths, and we have code highlighting for code snippets.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              CryptoBook has a low active ecosystem.
              It has 2 star(s) with 1 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              CryptoBook has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of CryptoBook is current.

            kandi-Quality Quality

              CryptoBook has 0 bugs and 0 code smells.

            kandi-Security Security

              CryptoBook has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              CryptoBook code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              CryptoBook does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              CryptoBook releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.
              It has 92 lines of code, 0 functions and 1 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            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 CryptoBook
            Get all kandi verified functions for this library.

            CryptoBook Key Features

            No Key Features are available at this moment for CryptoBook.

            CryptoBook Examples and Code Snippets

            No Code Snippets are available at this moment for CryptoBook.

            Community Discussions

            QUESTION

            What is the difference between pubKey and PubKeyPEM?
            Asked 2020-Jul-23 at 10:45

            I am learning the RSA encryption algorithm, and I want to use that in Python. I'm using the pycryptodome package, and I can see from there that there are two private keys variables.

            What is the difference between pubKey and pubKeyPEM, and which of them I need to use for the encryption part?

            Also, why the Decryptor use both of the keys (keyPair) instead of the private key (privKeyPEM) ?

            ...

            ANSWER

            Answered 2020-Jul-23 at 10:45

            pubKey is just the presentation of the key as usable by Python. It consists of two integers: the modulus and the public exponent. Of course, it could e.g. also be a reference to a key in a hardware device, where applicable.

            pubKeyPEM is a specific encoding of the public key in bytes or characters. It's a SubjectPublicKeyInfo structure according to the API specifications. SubjectPublicKeyInfo or SPKI is a binary structure, PEM is an ASCII armor around that, i.e. it specifies the structure and then encodes the binary using base 64. It's commonly used by e.g. OpenSSL.

            For the encryption part you need the pubKey. But you probably have to transport the pubKey to the sender first, or you may have to store the pubKey in a DB or filesystem. That's where the export functionality comes in.

            The private key generally contains the public key (as public exponent field), or it is easy to calculate it from the private key (in case of an Elliptic Curve key). So you might as well think of the private key as the key pair. It depends on the library if the concepts can be used interchangeably.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install CryptoBook

            To build the book, you must have rust installed. With rust installed, you can download mdbook with. Note: mdbook-classy is used to render div elements through preprocessing and currently causes some other markdown bugs... We either need to write one ourselves as a fork, or do a PR on the mdbook-classy github. Any rust people wanna give it a go?. You can build the book with. to render changes as you save files. To preview the book, run. and go to localhost:3000 to see the current progress.

            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
            CLONE
          • HTTPS

            https://github.com/jack4818/CryptoBook.git

          • CLI

            gh repo clone jack4818/CryptoBook

          • sshUrl

            git@github.com:jack4818/CryptoBook.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