https://github.com/kolosovpetro/diffiehellmankeyexchange
Discussion on Diffie-Hellman Key Exchange and its implementation via REST
https://github.com/kolosovpetro/diffiehellmankeyexchange
diffie-hellman diffie-hellman-algorithm diffie-hellman-key
Last synced: 3 months ago
JSON representation
Discussion on Diffie-Hellman Key Exchange and its implementation via REST
- Host: GitHub
- URL: https://github.com/kolosovpetro/diffiehellmankeyexchange
- Owner: kolosovpetro
- License: mit
- Created: 2022-03-14T15:11:28.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-16T18:26:48.000Z (about 3 years ago)
- Last Synced: 2025-01-16T06:15:40.445Z (5 months ago)
- Topics: diffie-hellman, diffie-hellman-algorithm, diffie-hellman-key
- Language: TeX
- Homepage: https://kolosovpetro.github.io/pdf/DiffieHellmanKeyExchange.pdf
- Size: 2.07 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Diffie-Hellman Key Exchange via REST
Discussion on Diffie-Hellman Key Exchange and its implementation via REST.
![]()
[](https://github.com/kolosovpetro/DiffieHellmanKeyExchange/actions/workflows/build.yml/badge.svg)
[](https://github.com/kolosovpetro/DiffieHellmanKeyExchange/actions/workflows/build-and-deploy.yml/badge.svg)
## Build and run in Intellij IDEA
- Install `MikTeX`: https://miktex.org/download
- Update `MikTeX`
- Install `SumatraPDF` viewer: https://www.sumatrapdfreader.org/download-free-pdf-viewer
- Install `Intellij IDEA Ultimate`: https://www.jetbrains.com/idea/download/#section=windows
- Activate `Intellij IDEA Ultimate`
- Install `TeXiFy IDEA` plugin: https://plugins.jetbrains.com/plugin/9473-texify-idea
- Clone this repository locally: `https://github.com/kolosovpetro/github-latex-template.git`
- Open `github-latex-template` folder in `Intellij IDEA Ultimate` and configure as follows
- LaTeX Configuration

- BibTeX Configuration

- Configure Inverse Search in `Intellij IDEA` for SumatraPDF: `Tools -> LaTeX -> Configure Inverse Search`
- Compile document using `Shift + F10`## How to use Mathematica package
- Open the package file `GithubLatexTemplateMathematicaPackage.m` in Wolfram Mathematica, I use version 13.0
- Execute the package using `Shift+Enter`
- Open the notebook file `GithubLatexTemplateMathematicaNotebook.nb`
- Execute the line: `Needs["GithubLatexTemplateMathematicaPackage"]`
- Continue your work as desired## Configure CI / CD
Set repository secrets
- `GH_ACCESS_TOKEN`: Generate Github Personal access token at
`Settings -> Developer Settings -> Personal access tokens -> Generate mew token` and assign in to
secret `GH_ACCESS_TOKEN`
- `GH_NAME`: Your Github username
- `GH_EMAIL`: Your Github email## Actions and their trigger policy
- `build-pdf.yml` builds project using `TeXLive`. Triggered on `pull_request`, `push` to `develop` branch
- `build-and-deploy-pdf.yml` builds project using `TeXLive` and deploys to `GitHub Pages`. Triggered on `push` to `main`
branch## Template example
Compiled document looks like as follows
![]()